If I enable Login to see add to cart and prices, search results prices are visible only to logged in users..
But then I have problem with grouped/single product (have custom layout – single product layout and in woodmart-child theme/woocommerce/single-product/add-to-cart/ simple.php and grouped.php), Elementor element – Product add to cart is not visible for not logged users.. But I want part to be visible (some info without price and cart button)..
Only option is to disable search results price via css, but thats not option (price is then not visible for logged in/not logged in users)..
Maybe some code with hook to manual disable prices in ajax search for not logged in users =
So please help.
-
This topic was modified 1 day, 18 hours ago by kolapsko.