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

#   CSV Export columns mismatch?

##

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

Less More

- Posts: 52
- Thank you received: 0
-
-
-
- [](http://www.filkab.solar)
-

11 years 4 months ago [\#209408](#209408) by [ydingilski](/forum/user/37980-ydingilski "View ydingilski's Profile")  *[CSV Export columns mismatch?](/forum/37-import-export-csv-xls/878364-csv-export-columns-mismatch#209408 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.15  When I export products I get the following fault: For the VARIANT products the field &quot;product&#95;parent&#95;id&quot; does NOT contain the id of the parent products, but the &quot;product&#95;code&quot;of the parent. Later if you use that information to create new VARIANTS through csv import, the created variants are not correctly related with the parent product.")* was created by *[ydingilski](/forum/user/37980-ydingilski "View ydingilski's Profile")*

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.3.15

When I export products I get the following fault:
For the VARIANT products the field "product_parent_id" does NOT contain the id of the parent products, but the "product_code"of the parent.
Later if you use that information to create new VARIANTS through csv import, the created variants are not correctly related with the parent product.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzgzNjQtY3N2LWV4cG9ydC1jb2x1bW5zLW1pc21hdGNoP3RtcGw9bWFya2Rvd24=) 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
-
-

11 years 4 months ago [\#209412](#209412) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CSV Export columns mismatch?](/forum/37-import-export-csv-xls/878364-csv-export-columns-mismatch#209412 "-- HikaShop version -- : 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.3.15  When I export products I get the following fault: For the VARIANT products the field &quot;product&#95;parent&#95;id&quot; does NOT contain the id of the parent products, but the &quot;product&#95;code&quot;of the parent. Later if you use that information to create new VARIANTS through csv import, the created variants are not correctly related with the parent product.")*

Hi,

That's done on purpose. We actually recommend on our import documentation to enter the product_code of the parent product in the product_parent_id column in order to associated the variants with the main product in your CSV.
So I don't see why it wouldn't work during the import. It sure does on our end, so the issue during the import must come from something else in your CSV.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84NzgzNjQtY3N2LWV4cG9ydC1jb2x1bW5zLW1pc21hdGNoP3RtcGw9bWFya2Rvd24=) 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.060 seconds

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