Prices showing without being logged in
-
Hello,
I´ve set the settings so that customers have to log in to see prices. But even when not logged in, the prices are still showing (see screenshot) and one can still go to the cart/check out. On the product page, though, the attributes and add to cart-button is not showing, but prices are showing there too.
Also, I can´t get the “log in / register” link to show in the header.
Attachments:
You must be
logged in to view attached files.
Hello,
Please deactivate all the plugins not related to the theme and switch the parent theme, check the issue, if the problem remains, leave the plugins not activated and provide the site admin access to the private area
Best Regards
Thank you. It was a discount plugin that caused the problem with the prices showing without being logged in.
But the issue with the missing “log in / register” link in the header is still a problem.
Hello,
By default, this header layout doesn’t have Login/Register link. But you can add it manually placing the following code snippet to the functions.php file in the child theme.
add_filter( 'basel_header_configuration', 'basel_custom_header_configuration', 1, 1 );
function basel_custom_header_configuration() {
return array(
'container' => array(
'wrapp-header' => array(
'logo',
'widget_area',
'right-column' => array(
'header_links',
'search',
'wishlist',
'cart',
'mobile_icon',
)
)
),
'navigation-wrap' => array(
'container' => array(
'main_nav'
)
)
);
}
Best Regards
Ah okay. It is showing on two other sites we´re using the same theme. But thanks for the code, I will try that.
I apologise for all these questions… But I am also having troubles removing the review option/tab on products. Have tried to uncheck this on each product, but after a new edit and save of a product it is back on. On the other two websites of ours I am pretty sure I found an option to turn this off in the theme settings, but now I can´t seem to find it.
Hello,
Disable the preview option in Woocommerce > Settings > Product tab
Best Regards
Thank you so much for all your help!
You are welcome! If you have any questions please feel free to contact us.
Best Regards
The topic ‘Prices showing without being logged in’ is closed to new replies.