Variants Dependency

  • Posts: 228
  • Thank you received: 8
7 years 9 months ago #276072

-- HikaShop version -- : 3.1.1
-- Joomla version -- : 3.7.4
-- PHP version -- : 7

Hello,

I would like to create variants dependency between variants. As for today, if a product has 2 variants, let's say color and size, the two are independent. So if for example I select red, the size will still load ALL variant regardless if this variant exists or not. I would like to create dependency so when a user selects red, only relevant size variants will load. I've addressed this issue in the past and I hope it was resolved somehow by now.

Thank you in advance,

Guy.

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
7 years 9 months ago #276081

Hello,

This can be done by using table or list option display on Characteristics selection method option (in Main HikaShop configuration, Display tab and Product options part)
Then you can reproduce this kind of configuration in your Variants product like this :



If your customer select an unavailable configuration, no add to cart button will be displayed.
Hope this will fit your needs.

Regards

Attachments:
Last edit: 7 years 9 months ago by Philip.

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

  • Posts: 228
  • Thank you received: 8
7 years 9 months ago #276124

Thank you Philip for your quick answer.
I'm aware of this option but you must agree with me that in a case of 5 size variants by 10 color variants, displaying 10 colors when 7 of them are not even an option but still load as an option but with a "not in stock" message is not really a "User Friendly" approach. I would like to completely remove of hide them and avoid the option entirely. This makes to me much more sense.

Guy.

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

  • Posts: 83799
  • Thank you received: 13570
  • MODERATOR
7 years 9 months ago #276133

Hi,

As Philip explained, if you use the "table" or "list" choice for the "Characteristics selection method" setting, you won't be able to select out of stock variants as they will be completely removed from the product page. That's what you're looking for.

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

  • Posts: 228
  • Thank you received: 8
7 years 8 months ago #276326

Thank you, we will try it out.

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

Time to create page: 0.073 seconds
Powered by Kunena Forum