hide prices for public users for a complete catalog

  • Posts: 2
  • Thank you received: 0
  • Hikashop Business
2 weeks 3 days ago #310503

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.11
-- PHP version -- : 7
-- Browser(s) name and version -- : Firefox

Hello, i have a complete catalog imported and would to hide prices + add btton for Public users... only "commercial" / "Registred users (logged in) should see them.
Please help me.

Please Log in or Create an account to join the conversation.

  • Posts: 66849
  • Thank you received: 9881
  • MODERATOR
2 weeks 2 days ago #310507

Hi,

When you edit a price of a product, you have the "access level" setting you can use to restrict the price to only some user groups.
So do that.
Then, you'll see that you'll have the word "free" instead of the price when your current user is not in one of these user groups.
You can change that text with a translation override:
www.hikashop.com/download/languages.html#modify
And regarding the add to cart button, you can just turn off the option "Display 'add to cart' button for free products" in the HikaShop configuration. That way, the button will only display when the price is available.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum