Buyable and non-buyable products in the online store at the same time

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
3 months 5 days ago #363183

-- HikaShop version -- : 5.1.1
-- Joomla version -- : 4
-- PHP version -- : 8.2

Dear Hikashop!

How can I solve it so that the products that can be bought (that is, can be put in the cart) and that cannot be bought (that is, cannot be put in the cart) appear at the same time in the web store?

However, for products that cannot be purchased (that is, cannot be added to the cart), I would like to display the inscription instead of "add to cart" so that "you can ask for a price quote".

Thomas

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

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
3 months 5 days ago #363190

Dear Hikashop!

Thank you for your efforts, but I found the solution: the quantity of the product must be set to 0.

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

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
3 months 5 days ago #363185

Hi,

You can either:
- set the stock of these non-buyable products to 0
- set the sale end date of these non-buyable products to the past
- set the sale start date of these non-buyable products to the far futur
This way, instead of displaying the add to cart button, you'll have a text like "no stock" or "not on sale anymore" which you can customize with a translation override:
www.hikashop.com/download/languages.html#modify

And then, if you want to add a button "you can ask for a price quote", there are two ways I can see:
- you could setup a contact page with the Joomla contact component, or with a menu item of the type HikaShop contact page, and then add a link to that page in the translation override I was talking about above since you can have HTML in there.
- you could set the "Display a contact button on the product page" setting of the HikaShop configuration to "On a per product basis". Then, in the non-buyable products, you can activate the "Contact button" setting.

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

  • Posts: 42
  • Thank you received: 5
  • Hikashop Business
3 months 5 days ago #363200

Thank you very much!

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

Time to create page: 0.060 seconds
Powered by Kunena Forum