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

#   importing products

##

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 6 months ago [\#14998](#14998) by [sandy](/forum/user/1988-sandy "View sandy's Profile")  *[importing products](/forum/3-bug-report/14998-importing-products#14998 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")* was created by *[sandy](/forum/user/1988-sandy "View sandy's Profile")*

Hi,

I have a csv file with 168 product lines.
Some of them are already imported earlier, but now the list is bigger.

So when I import the file, I get following message:

Notice: Undefined property: stdClass::$product_id in /var/www/html/administrator/components/com_hikashop/helpers/import.php on line 791

Notice: Undefined property: stdClass::$product_id in /var/www/html/administrator/components/com_hikashop/helpers/import.php on line 793

Notice: Undefined property: stdClass::$product_id in /var/www/html/administrator/components/com_hikashop/helpers/import.php on line 1019

Notice: Undefined property: stdClass::$product_id in /var/www/html/administrator/components/com_hikashop/helpers/import.php on line 1022

Notice: Undefined property: stdClass::$product_id in /var/www/html/administrator/components/com_hikashop/helpers/import.php on line 843

Notice: Undefined property: stdClass::$product_id in /var/www/html/administrator/components/com_hikashop/helpers/import.php on line 845

When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.

do you know what is going wrong and why some of the products are not imported?

Thx,
Sandy

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDk5OC1pbXBvcnRpbmctcHJvZHVjdHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 6 months ago [\#15011](#15011) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15011 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

Hi,

Since that's the first time someone reports such issue, we need more information from you before we can help. What version of HikaShop are you using ?
Could you copy the header of your csv file and few lines of products which didn't import ?

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 6 months ago [\#15033](#15033) by [sandy](/forum/user/1988-sandy "View sandy's Profile")  Replied by *[sandy](/forum/user/1988-sandy "View sandy's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15033 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

this is the header:
"product_name","product_description","product_quantity","product_sale_Start","price_value","categories","images","product_published"

and these are some lines that are not imported:
"Ball closure ring Gauge: 1,6 intern. diam.:10","Ball closure ring &lt;br/&gt;intern. diam.:10 &lt;br/&gt;colour:blk &lt;br/&gt;colour ball:black &lt;br/&gt;material:steel",1,25/04/11,15,"ball closure ring 1 ball","ballclosureringbb.jpg","1"
"Ball closure ring Gauge: 1,6 intern. diam.:12","Ball closure ring &lt;br/&gt;intern. diam.:12 &lt;br/&gt;colour:blk &lt;br/&gt;colour ball:black &lt;br/&gt;material:steel",1,25/04/11,15,"ball closure ring 1 ball","ballclosureringbb.jpg","1"
"Ball closure ring Gauge: 1,6 intern. diam.:8","Ball closure ring &lt;br/&gt;intern. diam.:8 &lt;br/&gt;colour:blk &lt;br/&gt;colour ball:black &lt;br/&gt;material:steel",1,25/04/11,15,"ball closure ring 1 ball","ballclosureringbb.jpg","1"

no product from the categorie 'ball closure ring 1 ball' is imported, i'm not sure if it has somethin to do with the category or not.

I have hikashop 1.4.9

Thx,

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDk5OC1pbXBvcnRpbmctcHJvZHVjdHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 6 months ago [\#15036](#15036) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15036 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

The problem must come from somewhere else in your CSV file because these lines are fine.
If you copy/paste the header and these lines in the "import from textarea" screen, it should work properly. Do you confirm ?
I'm afraid that we would need the full CSV file in order to see where is the problem...

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 6 months ago [\#15042](#15042) by [sandy](/forum/user/1988-sandy "View sandy's Profile")  Replied by *[sandy](/forum/user/1988-sandy "View sandy's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15042 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

####  *This attachment is hidden for guests.
Please log in or register to see it.*

####  *This attachment is hidden for guests.
Please log in or register to see it.*

I confirm,

this is the whole csv file.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMtYnVnLXJlcG9ydC8xNDk5OC1pbXBvcnRpbmctcHJvZHVjdHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

15 years 6 months ago [\#15048](#15048) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15048 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

I can see that a lot of products have the same name in your CSV file.
That's probably why you're missing products.
If you don't specify the product_code in your CSV, the system will use the product_name as product_code.
And the product_code must be unique. If the product_code already exists in the database, HikaShop will update its information.*

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 6 months ago [\#15070](#15070) by [sandy](/forum/user/1988-sandy "View sandy's Profile")  Replied by *[sandy](/forum/user/1988-sandy "View sandy's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15070 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

Ok, i'll make up unique names.

Thx!

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

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

Less More

- Posts: 31
- Thank you received: 0
-
-

15 years 6 months ago [\#15109](#15109) by [sandy](/forum/user/1988-sandy "View sandy's Profile")  Replied by *[sandy](/forum/user/1988-sandy "View sandy's Profile")* on topic *[Re: importing products](/forum/3-bug-report/14998-importing-products#15109 "Hi,  I have a csv file with 168 product lines. Some of them are already imported earlier, but now the list is bigger.  So when I import the file, I get following message:  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 791  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 793  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1019  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 1022  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 843  Notice: Undefined property: stdClass::$product&#95;id in /var/www/html/administrator/components/com&#95;hikashop/helpers/import.php on line 845  When I check all my products under their categories, and count them, then I only have 94 products, instead of 168.  do you know what is going wrong and why some of the products are not imported?  Thx, Sandy")*

solved! thx

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

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