- Posts: 149
- Thank you received: 6
import characteristics
- Papounet01
-
Topic Author
- Offline
Less
More
13 years 10 months ago #78331
by Papounet01
import characteristics was created by Papounet01
I have product with 2 characteristics (size from 38 to 52 and color (green, blue, black, white)
I would like to import automatically these characteristics by CSV but not all for all products in order not to load too much database. By exemple, I have one product on size 38 and 40 only and with only color black)
I tried to import file with only these specifications but it created automatically all the variants
Please could help me. Thanks in advance
I would like to import automatically these characteristics by CSV but not all for all products in order not to load too much database. By exemple, I have one product on size 38 and 40 only and with only color black)
I tried to import file with only these specifications but it created automatically all the variants
Please could help me. Thanks in advance
Please Log in or Create an account to join the conversation.
13 years 10 months ago #78354
by Xavier
Replied by Xavier on topic import characteristics
Hi,
Do you tried to set your csv as explain in the tutorial ?
www.hikashop.com/en/support/documentatio...shop-import.html#csv
Something like:
Doens't work ? Else in the variant listing of a product, you can check and delete the variants, they will be removed from the database.
Do you tried to set your csv as explain in the tutorial ?
www.hikashop.com/en/support/documentatio...shop-import.html#csv
Something like:
product_code,product_parent_id,size,color
main_product,,38,green
first_variant,main_product,42,white
second_variant,main_product,41,blue
Doens't work ? Else in the variant listing of a product, you can check and delete the variants, they will be removed from the database.
Please Log in or Create an account to join the conversation.
- Papounet01
-
Topic Author
- Offline
Less
More
- Posts: 149
- Thank you received: 6
13 years 10 months ago #78435
by Papounet01
Replied by Papounet01 on topic import characteristics
Great and Bravo !!! It works fine !
Thanks again
Thanks again
Please Log in or Create an account to join the conversation.
- Papounet01
-
Topic Author
- Offline
Less
More
- Posts: 149
- Thank you received: 6
13 years 10 months ago #79503
by Papounet01
Replied by Papounet01 on topic import characteristics
Hello it's me again,
Your process is working properly, but the variant of the first line is not taking into account. This means that at the product page when it's loaded the variant by default (the first line) it's displayed "item unvailable for these option" In sample below, variant : Blanc and 40 are displayed in product backend as default but when I check the variants list they don't exist. Thanks again for your help
product_code product_parent_id Bonnet Coloris Taille product_manufacturer_id product_type product_quantity product_published price_value categories
3999 0 Blanc 40 ChantelleFR main 1 1 34 BASTILLE
3999V2Cha 3999 Blanc 42 ChantelleFR variant 1 1 34
3999V3Cha 3999 Blanc 44 ChantelleFR variant 1 1 34
Your process is working properly, but the variant of the first line is not taking into account. This means that at the product page when it's loaded the variant by default (the first line) it's displayed "item unvailable for these option" In sample below, variant : Blanc and 40 are displayed in product backend as default but when I check the variants list they don't exist. Thanks again for your help
product_code product_parent_id Bonnet Coloris Taille product_manufacturer_id product_type product_quantity product_published price_value categories
3999 0 Blanc 40 ChantelleFR main 1 1 34 BASTILLE
3999V2Cha 3999 Blanc 42 ChantelleFR variant 1 1 34
3999V3Cha 3999 Blanc 44 ChantelleFR variant 1 1 34
Please Log in or Create an account to join the conversation.
13 years 10 months ago #79571
by Xavier
Replied by Xavier on topic import characteristics
Hi,
Yes I forgot one thing, for the main product (the first) the values are for the default value. You need to create this variant, like:
Yes I forgot one thing, for the main product (the first) the values are for the default value. You need to create this variant, like:
product_code,product_parent_id,size,color
main_product,,38,green
first_variant,main_product,42,white
second_variant,main_product,41,blue
third_variant,main_product,38,green
Please Log in or Create an account to join the conversation.
- Papounet01
-
Topic Author
- Offline
Less
More
- Posts: 149
- Thank you received: 6
13 years 10 months ago #79606
by Papounet01
Replied by Papounet01 on topic import characteristics
Does it means that for the main product default values are fictitious ? In your sample : 38 and green ?
That's it
That's it
Please Log in or Create an account to join the conversation.
13 years 10 months ago #79699
by Jerome
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Replied by Jerome on topic import characteristics
Hi,
The default values are the pre-selected values.
When you edit the product in the backend, the variants options dropdown contains a value, this is the default value, the pre-selected value.
Regards,
The default values are the pre-selected values.
When you edit the product in the backend, the variants options dropdown contains a value, this is the default value, the pre-selected value.
Regards,
Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.
Please Log in or Create an account to join the conversation.
Time to create page: 0.238 seconds