Home Forums Basel – Premium Template Prices showing without being logged in

This topic contains 7 replies, has 2 voices, and was last updated by Elise Noromit Elise Noromit 2 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #136470

    reklamehusetno
    Customer

    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.

    Private Content Hidden
    Attachments:
    You must be logged in to view attached files.
    #136645

    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

    #136752

    reklamehusetno
    Customer

    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.

    #136759

    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

    #136764

    reklamehusetno
    Customer

    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.

    #136800

    Hello,

    Disable the preview option in Woocommerce > Settings > Product tab

    Best Regards

    #136993

    reklamehusetno
    Customer

    Thank you so much for all your help!

    #137066

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Prices showing without being logged in’ is closed to new replies.