Not showing options which are not available with variants

  • Posts: 22
  • Thank you received: 2
6 years 5 months ago #299968

-- url of the page with the problem -- : scopeslipstop.com/nl/winkel/product/1-antislip-strip
-- HikaShop version -- : 4.0.0
-- Joomla version -- : 3.9
-- PHP version -- : 7.2
-- Browser(s) name and version -- : Chrome

Hi There,

I have a question about the variants.

I have a product which has 96 options with all the variants, but I can eliminate a lot as with certain variants there are less options.

For example... If you choose the product in any size, with the option "fijn" (you can see that on the image attached), then the product is only available in "zwart" (black). In this case I don't want to show the other colors available, because they cannot order it anyway.

I thought by removing the variants in the productpage in the backend would do the job, but the options still stand.

What can I do to remove these variants from the front end?

Sorry for this long story :P.

Thanks Martijn

Attachments:

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

  • Posts: 4820
  • Thank you received: 654
  • MODERATOR
6 years 5 months ago #299983

Hello,

You have to note that when your product page is loaded, the dropdown option list is loaded at the same time, and so to have what you want, I see 2 solutions :
1° ) Instead of displaying dropdown, use Table or List in order to don't display unavailable configuration.
2° ) Contact one of our Partner to add a custom in order to get Ajax request that update dropdown value, but note that for lots of possible configuration this process can be a little heavy and so not very smooth...

Note that we have in our todo list this kind of feature.

Hope this will fit your needs.
Regards

Last edit: 6 years 5 months ago by Philip.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum