Default characteristics

  • Posts: 174
  • Thank you received: 2
  • Hikashop Business
4 years 11 months ago #316968

-- HikaShop version -- : 4.2.3
-- Joomla version -- : 3.9.16
-- PHP version -- : 7.1.33

I have a product with 2 characteristics. I also have all variants displayed and default selected. But still, on product page it asks me to select. First i select one characteristic, then second appears. And only after i select both of them, add to cart button appears. This was not the case in last versions of Hikashop. All my characteristics was auto-selected for default variant. How to solve that?

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #316974

With HikaShop 4.2.3, we've added a new feature to the characteristic selection so that the dropdowns of the characteristics are dynamically modified to display only valid choices so that choices without stock will be removed automatically. To do that, it requires to hide all but the first characteristic selector so that when you choose something in it, we can calculate what are the variants with that value that have stock so that we know the values we need to display in the second dropdown etc.
And only after you select all the characteristics can we refresh the image and other information of the product and display the add to cart button.
But we've added an option called "Characteristics dynamic display" in the HikaShop configuration so that you can just turn it off and it will revert to the previous characteristics selection mechanism where a value is automatically selected in the dropdowns and thus the information can be directly updated and the add to cart button can be directly displayed.

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

  • Posts: 174
  • Thank you received: 2
  • Hikashop Business
4 years 11 months ago #316982

Thanks nicolas. It would be great that these new futures would come disabled if i'm updating version :)

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

  • Posts: 83409
  • Thank you received: 13502
  • MODERATOR
4 years 11 months ago #316983

Hi,

Yes, we try to do that as much as possible. For this one, we wanted to have that option activated by default which is why the behavior changed, knowing that it doesn't break anything.

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

Time to create page: 0.058 seconds
Powered by Kunena Forum