Select variants on product page issue

  • Posts: 6
  • Thank you received: 0
8 years 5 months ago #240179

-- HikaShop version -- : 2.6.0
-- Joomla version -- : 3.5.1

Hi
There's an issue with variant products. here it goes.
imagine i have a main product and it has two variants.

variant 1 => color: blue | size: 4.5
variant 2 => color: red | size: 5

in product page, I use dropdown to display characteristics and I want if the color is 'blue' the only option available for size be 4.5, or option with value 5 become disabled somehow. because we don't have a variant with color: blue & size: 5. by default it shows the main product specifications.

so how to do that?

Thanks in advance.

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

  • Posts: 82723
  • Thank you received: 13338
  • MODERATOR
8 years 5 months ago #240183

Hi,

The dropdowns are not dynamic. However, if you select an unavailable variant, you can't purchase it.
What you can do is to change the characteristics display method to either list or table and the way it displays won't have that behavior.

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

  • Posts: 1
  • Thank you received: 0
8 years 2 weeks ago #252312

Now you can load the Product varaint dynamically based on the color 's size available.
I created a plugin for that check t http://www.walkswithme.net/how-to-load-hikashop-product-variant-dynamicallyhis one .

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

Time to create page: 0.068 seconds
Powered by Kunena Forum