[SOLVED] New Variations not present

  • Posts: 53
  • Thank you received: 0
10 years 1 month ago #175339

-- HikaShop version -- : 2.3.3

I've added some extra values to my Colour variant, though those aren't updating at the front end. They're set to auto-publish etc, and all my stock levels are unlimited - yet the added characteristics do not show up on the front end.

However, if I delete the characteristic from the product, then re-add it, they all appear fine. Though with hundreds of products, and frequent colour changes, that's not a feasible option.

Is there an alternative?

Last edit: 10 years 1 month ago by kyteasdale.

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
10 years 1 month ago #175380

Hi,

When you add a new value to a characteristic the corresponding variants are not added to the products using that characteristic.
The main reason for that is that there would be a high chance that this process would just end up crashing in the middle because too much data would have to be processed.
For example, suppose you have a thousands products each one with 2 characteristics (size and color) and each characteristic with 10 values. If you add a new color value, that means that the system has to add 10 new variants for each product in the same process. So that's 10000 entries to add to the hikashop_product and hikashop_variant table and that's just not possible on a normal server.
That's why you have to go into each product and add the new variants manually. You don't necessarily need to delete the characteristics and re-add them. You can alternatively click on the "manage variants" and use the "new" button there to add the new variants for the product.

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

Time to create page: 0.054 seconds
Powered by Kunena Forum