Hikashop product variants content updation

  • Posts: 37
  • Thank you received: 0
8 years 4 weeks ago #269722

-- HikaShop version -- : 2.3.5
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.6
-- Browser(s) name and version -- : mozilla
-- Error-message(debug-mod must be tuned on) -- : Hikashop product variants content updation

We have around 1800 variants of a product. When we have update some content then we have to edit all variants individually. Is there any method so that when we update parent product content then the content for variant will be updated automatically?

If there no such feature available then can you suggest how can we develop such functionality? Maybe a plugin?

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

  • Posts: 83986
  • Thank you received: 13603
  • MODERATOR
8 years 4 weeks ago #269750

Hi,

There is yes.
For example, if you leave the description empty in your variants and only fill it in the main product, the system will automatically use the main product description for all the variants on the frontend.
And it's the same with almost all the fields of a product.
Now, if you already have copy/pasted the same description in all the variants of the product, there is no easy way to update all the variants. But I would actually recommend deleting all the descriptions in the variants and only adding the updated one in the main product. You can delete all the descriptions of the variants of a product with a mass action (menu System>Mass actions).

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

  • Posts: 37
  • Thank you received: 0
8 years 4 weeks ago #269752

Hi,

Thank you so much. Can you please share instructions how we can delete all the descriptions in the variants for specific products? I cannot select the products or is there any way so that we can pass product IDs?

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

  • Posts: 83986
  • Thank you received: 13603
  • MODERATOR
8 years 4 weeks ago #269754

Hi,

You can use a filter on the product column "product_parent_id" being equal to the id of the main product and that will apply the action of your mass action to all the variants of that product.
Then, you can have an action "update the values" on the product_description column with an empty value.

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

Time to create page: 0.055 seconds
Powered by Kunena Forum