How to set default variant in import file.

  • Posts: 202
  • Thank you received: 13
  • Hikashop Business
2 weeks 6 days ago #368586

-- HikaShop version -- : 6.1.0
-- Joomla version -- : 5.3.3
-- PHP version -- : 8.2.14
-- Browser(s) name and version -- : Firefox
-- Error-message(debug-mod must be tuned on) -- : The default value of one of the characteristics of that product isn't available as a variant. Please check the characteristics and variants of that product

When importing variants via a CSV how do we set the default variant? I'm not seeing a column used to set that value. As a consequence of not having the default variant set in the import, all variants are being set as default and on the frontend we see this message on the product details view:
"The default value of one of the characteristics of that product isn't available as a variant. Please check the characteristics and variants of that product"

When I manually edit the product and set a single default variant and save, then the error on the frontend clears.


3by400, Inc.
3by400.com
Websites that Work, Marketing that Matters
Attachments:
Last edit: 2 weeks 6 days ago by 3by400.

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

  • Posts: 84497
  • Thank you received: 13739
  • MODERATOR
2 weeks 6 days ago #368591

Hi,

When you import a CSV with products with variants, you have one row for the main products and one row for each variant.
And you have one column for each characteristic.
On the row of the main products in the characteristic columns, you can provide the default value for each characteristic so that it corresponds to one of the variant.

The following user(s) said Thank You: 3by400

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

Time to create page: 0.036 seconds
Powered by Kunena Forum