Issue with the deletion of variants

  • Posts: 46
  • Thank you received: 2
12 years 2 weeks ago #75401

When variants are deleted correctly using the below method

1 Delete all the variants of the product on the listing of variants that you can access via the button "manage variants" on the product edition screen.
2. Delete the characteristics of the product.
3. Save the product.
4. Add the characteristics again.
5. The system will regenerate all the variants automatically and you should be able to see the dropdowns properly on the front end.

and the reimported with the product code correct code this is not working in that

the product ends up as:
Product Code Color Size ID
BE1080_3078_3088 Black S 4688949

when the file was run in as:

product_id,product_parent_id,product_code,product_type,Size,Colour
4688949,BE1080,831796,variant,S,Black

The product code was working fine now it is not updating to the correct one.
This is major issue as we are using the product code field throughout our site to update 25,000 stock levels.

I am running the latest version of hikashop 2.0
The same thing is happening with version 1.6

I have attached a screenshot of what is happening:
along with the csv as how it should be.





File Attachment:

File Name: bellatop.csv
File Size:6 KB

Attachments:
Last edit: 12 years 2 weeks ago by mair.

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

  • Posts: 82867
  • Thank you received: 13374
  • MODERATOR
12 years 2 weeks ago #75702

Hi,

You also need to have a line for the main product in your CSV otherwise the system is not able to import the data of the variants properly.

The following user(s) said Thank You: mair

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

  • Posts: 46
  • Thank you received: 2
12 years 1 week ago #75888

Thanks Nicolas surely this needs to be put in the documentation?

Last edit: 12 years 1 week ago by mair.

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

  • Posts: 13201
  • Thank you received: 2322
12 years 1 week ago #76072

Hi,

Finally, you can also insert variants of products. You will have to specify in the product_parent_id column the product_code of the main product which must be inserted before the variants in the file. You will also have to have column names matching the characteristics in the store.

For example, suppose that you have a product with 1 characteristic being the size and two variants:

product_code,product_parent_id,size

main_product,,big

first_variant,main_product,big

second_variant,main_product,small


This is an extract of the documentation explaining that you have to specify the main product before the variants.

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

Time to create page: 0.075 seconds
Powered by Kunena Forum