[Skip to main content](#vessel-content)

#   How create Variant by csv importing

##

- **[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")**
- [![crealiagroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30083.png)](/forum/user/30083-crealiagroup "View crealiagroup's Profile") Topic Author
- [ Offline](/forum/user/30083-crealiagroup)

Less More

- Posts: 117
- Thank you received: 3
-
-
- [](http://www.crealia.it)
-

9 years 9 months ago [\#262220](#262220) by [crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")  *[How create Variant by csv importing](/forum/37-import-export-csv-xls/888820-how-create-variant-by-csv-importing#262220 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox  I'm trying to generate variant of some product on my website. I use libre office to work on csv. This is my step: 1) I create the main product with all the parameter 2) I generate 2 variants for example 3) I export the csv, so i can have an example 4) i add other variant adding row similar to the vaiants creted by hikashop, inserting in product&#95;parent&#95;id the product code of the main product 5) Import the csv.  Now i have a problem: i don't see the variants if i open a main product, and i don't see the variant finding by product code on the root.  If i try to export csv, i see all the variant created, but on product&#95;parent&#95;id column there are only &quot;0&quot; and no the value i wrote before.  Is that because i use thi particular product code for my Main products?  ex. aaaaaa-bbbbb-qqqqqq aaaaaa-bbbbb-wwwww aaaaaa-bbbbb-yyyy  The caracter &quot;-&quot; create problem?")* was created by *[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")*

-- HikaShop version -- : 3.0.0
-- Joomla version -- : 3.6.5
-- PHP version -- : 7.0
-- Browser(s) name and version -- : Firefox

I'm trying to generate variant of some product on my website.
I use libre office to work on csv.
This is my step:
1) I create the main product with all the parameter
2) I generate 2 variants for example
3) I export the csv, so i can have an example
4) i add other variant adding row similar to the vaiants creted by hikashop, inserting in product_parent_id the product code of the main product
5) Import the csv.

Now i have a problem: i don't see the variants if i open a main product, and i don't see the variant finding by product code on the root.

If i try to export csv, i see all the variant created, but on product_parent_id column there are only "0" and no the value i wrote before.

Is that because i use thi particular product code for my Main products?

ex.
aaaaaa-bbbbb-qqqqqq
aaaaaa-bbbbb-wwwww
aaaaaa-bbbbb-yyyy

The caracter "-" create problem?

---

[ www.crealia.it/e-commerce/consulenza-ecommerce-hikashop](http://www.crealia.it/e-commerce/consulenza-ecommerce-hikashop)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODg4MjAtaG93LWNyZWF0ZS12YXJpYW50LWJ5LWNzdi1pbXBvcnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86593
- Thank you received: 14334
-
-

9 years 9 months ago [\#262251](#262251) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How create Variant by csv importing](/forum/37-import-export-csv-xls/888820-how-create-variant-by-csv-importing#262251 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox  I'm trying to generate variant of some product on my website. I use libre office to work on csv. This is my step: 1) I create the main product with all the parameter 2) I generate 2 variants for example 3) I export the csv, so i can have an example 4) i add other variant adding row similar to the vaiants creted by hikashop, inserting in product&#95;parent&#95;id the product code of the main product 5) Import the csv.  Now i have a problem: i don't see the variants if i open a main product, and i don't see the variant finding by product code on the root.  If i try to export csv, i see all the variant created, but on product&#95;parent&#95;id column there are only &quot;0&quot; and no the value i wrote before.  Is that because i use thi particular product code for my Main products?  ex. aaaaaa-bbbbb-qqqqqq aaaaaa-bbbbb-wwwww aaaaaa-bbbbb-yyyy  The caracter &quot;-&quot; create problem?")*

Hi,

No, I don't think that's the problem.
Either you missed something in the CSV you're importing, or you're trying to import variants for values of your characteristics which don't exist.
The import system cannot yet create new values for characteristics.
So you need to pre create them so that you can then import products and variants using these characteristics/values.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODg4MjAtaG93LWNyZWF0ZS12YXJpYW50LWJ5LWNzdi1pbXBvcnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")**
- [![crealiagroup's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30083.png)](/forum/user/30083-crealiagroup "View crealiagroup's Profile") Topic Author
- [ Offline](/forum/user/30083-crealiagroup)

Less More

- Posts: 117
- Thank you received: 3
-
-
- [](http://www.crealia.it)
-

9 years 9 months ago [\#262268](#262268) by [crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")  Replied by *[crealiagroup](/forum/user/30083-crealiagroup "View crealiagroup's Profile")* on topic *[How create Variant by csv importing](/forum/37-import-export-csv-xls/888820-how-create-variant-by-csv-importing#262268 "-- HikaShop version -- : 3.0.0 -- Joomla version -- : 3.6.5 -- PHP version -- : 7.0 -- Browser(s) name and version -- : Firefox  I'm trying to generate variant of some product on my website. I use libre office to work on csv. This is my step: 1) I create the main product with all the parameter 2) I generate 2 variants for example 3) I export the csv, so i can have an example 4) i add other variant adding row similar to the vaiants creted by hikashop, inserting in product&#95;parent&#95;id the product code of the main product 5) Import the csv.  Now i have a problem: i don't see the variants if i open a main product, and i don't see the variant finding by product code on the root.  If i try to export csv, i see all the variant created, but on product&#95;parent&#95;id column there are only &quot;0&quot; and no the value i wrote before.  Is that because i use thi particular product code for my Main products?  ex. aaaaaa-bbbbb-qqqqqq aaaaaa-bbbbb-wwwww aaaaaa-bbbbb-yyyy  The caracter &quot;-&quot; create problem?")*

SOLVED:

When i upload csv, i delete before rows with main product, but it's a not good thing.

Now all works good. Thanks

---

[ www.crealia.it/e-commerce/consulenza-ecommerce-hikashop](http://www.crealia.it/e-commerce/consulenza-ecommerce-hikashop)

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODg4MjAtaG93LWNyZWF0ZS12YXJpYW50LWJ5LWNzdi1pbXBvcnRpbmc/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.059 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
