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

#   CSV Importing just half of every Products Variants

##

- **[NickM](/forum/user/40808-nickm "View NickM's Profile")**
- [![NickM's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/40808-nickm "View NickM's Profile") Topic Author
- [ Offline](/forum/user/40808-nickm)

Less More

- Posts: 5
- Thank you received: 0
-
-

10 years 8 months ago -  10 years 8 months ago [\#229720](#229720) by [NickM](/forum/user/40808-nickm "View NickM's Profile")  *[CSV Importing just half of every Products Variants](/forum/37-import-export-csv-xls/882257-csv-importing-just-half-of-every-products-variants#229720 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Chrome 48.0.2564.109 m  So Hikashop is importing my products correctly, and is importing their related variants. The problem im running into is 1) a default variant isnt being set 2) only half of the variants for each product are being imported  2 examples to help understand what i mean: Ex 1: Product: YOUNG CLASSIC DISPOSABLE PROPHY ANGLE LATEX FREE 200pk Variants: 6 Disposable Angle With Soft Purple Latex Free Petite Webbed Cup Disposable Angle With Soft Purple Latex Free Elite Cup Disposable Angle With Soft Purple Latex Free Webbed cup Disposable Angle With Firm Light Blue Latex Free Traditional Webbed Cup Disposable Angle With Firm Light Blue Latex Free Petite Webbed Cup Pink Petite webb LF  Variants imported: 3 Disposable Angle With Soft Purple Latex Free Webbed cup Disposable Angle With Firm Light Blue Latex Free Traditional Webbed Cup Pink Petite webb LF  Ex 2: Product: Coin Envelopes 2.25&quot; x 4.3.75&quot; 500pk Variants: 2 White Manila  Variants Imported: 1 Manila  I checked my characteristics and all the variants that are supposed to be there are there so it isnt that they arent matching. This is occuring for all products with variants. only 50% of them import.")* was created by *[NickM](/forum/user/40808-nickm "View NickM's Profile")*

-- HikaShop version -- : 2.6.1
-- Joomla version -- : 3.4.8
-- PHP version -- : 5.5.30
-- Browser(s) name and version -- : Chrome 48.0.2564.109 m

So Hikashop is importing my products correctly, and is importing their related variants. The problem im running into is
1) a default variant isnt being set
2) only half of the variants for each product are being imported

2 examples to help understand what i mean:
Ex 1:
Product: YOUNG CLASSIC DISPOSABLE PROPHY ANGLE LATEX FREE 200pk
Variants: 6
Disposable Angle With Soft Purple Latex Free Petite Webbed Cup
Disposable Angle With Soft Purple Latex Free Elite Cup
Disposable Angle With Soft Purple Latex Free Webbed cup
Disposable Angle With Firm Light Blue Latex Free Traditional Webbed Cup
Disposable Angle With Firm Light Blue Latex Free Petite Webbed Cup
Pink Petite webb LF

Variants imported: 3
Disposable Angle With Soft Purple Latex Free Webbed cup
Disposable Angle With Firm Light Blue Latex Free Traditional Webbed Cup
Pink Petite webb LF

Ex 2:
Product: Coin Envelopes 2.25" x 4.3.75" 500pk
Variants: 2
White
Manila

Variants Imported: 1
Manila

I checked my characteristics and all the variants that are supposed to be there are there so it isnt that they arent matching. This is occuring for all products with variants. only 50% of them import.

Last edit: 10 years 8 months ago by [NickM](/forum/user/40808-nickm "View NickM's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM3LWltcG9ydC1leHBvcnQtY3N2LXhscy84ODIyNTctY3N2LWltcG9ydGluZy1qdXN0LWhhbGYtb2YtZXZlcnktcHJvZHVjdHMtdmFyaWFudHM/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)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86289
- Thank you received: 14266
-
-

10 years 8 months ago [\#229744](#229744) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[CSV Importing just half of every Products Variants](/forum/37-import-export-csv-xls/882257-csv-importing-just-half-of-every-products-variants#229744 "-- HikaShop version -- : 2.6.1 -- Joomla version -- : 3.4.8 -- PHP version -- : 5.5.30 -- Browser(s) name and version -- : Chrome 48.0.2564.109 m  So Hikashop is importing my products correctly, and is importing their related variants. The problem im running into is 1) a default variant isnt being set 2) only half of the variants for each product are being imported  2 examples to help understand what i mean: Ex 1: Product: YOUNG CLASSIC DISPOSABLE PROPHY ANGLE LATEX FREE 200pk Variants: 6 Disposable Angle With Soft Purple Latex Free Petite Webbed Cup Disposable Angle With Soft Purple Latex Free Elite Cup Disposable Angle With Soft Purple Latex Free Webbed cup Disposable Angle With Firm Light Blue Latex Free Traditional Webbed Cup Disposable Angle With Firm Light Blue Latex Free Petite Webbed Cup Pink Petite webb LF  Variants imported: 3 Disposable Angle With Soft Purple Latex Free Webbed cup Disposable Angle With Firm Light Blue Latex Free Traditional Webbed Cup Pink Petite webb LF  Ex 2: Product: Coin Envelopes 2.25&quot; x 4.3.75&quot; 500pk Variants: 2 White Manila  Variants Imported: 1 Manila  I checked my characteristics and all the variants that are supposed to be there are there so it isnt that they arent matching. This is occuring for all products with variants. only 50% of them import.")*

Hi,

I see two problems with your CSV:

1. The main products don't have a default value entered in the characteristic column (which explain why you don't get any default variant selected for the products after the import). The characteristic columns should be filled for the variants and the main products (if they have variants).

2. The variants don't have a product_code. All the products and variants need to ahve a product_code and it need to be unique.

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

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

[](#top)
