Hide the product used in option of another

  • Posts: 122
  • Thank you received: 10
  • Hikashop Business
2 years 6 months ago #344036

Hi everyone,
I have a product with variants
I use this product as an option of other products. I would like to avoid the customer to buy this product "alone" but if I change the setting (disable the product or change the access level of this product) the option disappears from the linked products.

What is the best way to hide a product from the public but still use it in options of other products ?

best regards.

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

  • Posts: 122
  • Thank you received: 10
  • Hikashop Business
2 years 6 months ago #344038

I see that the products are displayed separately in the cart...
I think it's best if I explain my need again from the beginning.

I would like product A: t-shirt with colour/size variations
I would like product B: tank top with colour/size variations
I would like to have product C: "Bird" printed pattern.
I would like to have a product D: Printed motif "Fish".

The visitor must see in the list of products :
- a tank top with a fish motif
- a t-shirt with a fish motif
- a tank top with bird motif
- a t-shirt with a bird motif

When visitors look at the product sheet "bird t-shirt" (for example) they can choose the size and colour of the t-shirt.

I do the printing (fish or bird) myself. I then print the design only after the customer has placed an order. So when I bring in stock it is only tank tops or t-shirts without a design.

Can you tell me what settings I need to put in place to make this work?
Thank you in advance.

Last edit: 2 years 6 months ago by info@lerenardquitrace.be.

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

  • Posts: 83338
  • Thank you received: 13477
  • MODERATOR
2 years 6 months ago #344039

Hi,

You have two things to do:
- Activate the "Group options with product" setting in the HikaShop configuration
- create an unpublished category and move that option product to that unpublished category

That way, the option product's product details page won't be reachable, and it won't appear in products listings, and the option will be together with the main product in the cart.

The following user(s) said Thank You: info@lerenardquitrace.be

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

  • Posts: 122
  • Thank you received: 10
  • Hikashop Business
2 years 6 months ago #344062

Hi thank you for your answer.
Everything works fine exept that the product can be added an unlimited amount of time to the cart.
I would like to use the stock of the selected "option" product.

Is that possible ?

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

  • Posts: 83338
  • Thank you received: 13477
  • MODERATOR
2 years 6 months ago #344089

Hi,

I see what you mean.
In fact, it's not that the product can be added an unlimited amount of time, but that the stock of the option is not linked to the stock of the main product. So the main product is added to the cart even if the option selected doesn't have enough stock. But in that case, the option itself is not added. This mechanism is ok when the "group options with product" setting is turned off.
But with that option activated, I think it makes sense to refuse the whole add to cart if some of the options can't be added to the cart.
We'll work on this for the next version of HikaShop as it's a bit complex to add.

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

Time to create page: 0.060 seconds
Powered by Kunena Forum