Hello.
how can i hide price for unregistered user?
This topic has 7 replies, 3 voices, and was last updated 4 years, 2 months ago ago by Rose Tyler
Hello.
how can i hide price for unregistered user?
Hello,
There is no such option, by default.
Contact support of WooCommerce plugin to get advice.
Also, you can submit a feature request here – https://www.8theme.com/taskboard/
Regards
I second this. I tried to install YITH Catalog mode, it works, just as the theme’s catalog mode does…. but when using the search button (with AJAX) of the theme, it still shows the prices of the results found.
Hello Thibaud Mathieu,
You can add the next code in Theme Options > Theme custom CSS:
.et_b_header-search .price {
display: none;
}
Regards
hello thanks for your reply
I add code that you said, but it doesn’t work.
Hello Brian Kim,
The code was not for you, it just hides the price from the search dropdown.
There is no option to hide price for unregistered users, so – https://prnt.sc/xny94k
Regards
This code can be used to hide prices for unlogged users:
body:not(.logged-in) .content-product .price, body:not(.logged-in) .price {
display: none;
}
Regards
You must be logged in to reply to this topic.Log in/Sign up