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

#   Bulk Upload product\_code field

##

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

Less More

- Posts: 20
- Thank you received: 2
-
-

11 years 3 months ago [\#207963](#207963) by [air-diensten](/forum/user/31419-air-diensten "View air-diensten's Profile")  *[Bulk Upload product\_code field](/forum/37-import-export-csv-xls/878078-bulk-upload-product-code-field#207963 "-- HikaShop version -- : HikaShop Business 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.44 -- Browser(s) name and version -- : all  Due to a update by my supplier on product code I have want to create a bulk upload to update the product&#95;code field in Hikashop.  When i create a bulk upload file with the product&#95;id and product&#95;code Hikashop creates a new product.  How can by bulk upload (300+ items) to update the product&#95;code field?  The Product Code is necesery for my for stock and licencing perposes. Is there a handy way beside SQL update (im not that handy with SQL queries)")* was created by *[air-diensten](/forum/user/31419-air-diensten "View air-diensten's Profile")*

-- HikaShop version -- : HikaShop Business 2.5.0
-- Joomla version -- : 3.4.3
-- PHP version -- : 5.5.44
-- Browser(s) name and version -- : all

Due to a update by my supplier on product code I have want to create a bulk upload to update the product_code field in Hikashop.

When i create a bulk upload file with the product_id and product_code Hikashop creates a new product.

How can by bulk upload (300+ items) to update the product_code field?

The Product Code is necesery for my for stock and licencing perposes. Is there a handy way beside SQL update (im not that handy with SQL queries)

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 3 months ago [\#207973](#207973) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Bulk Upload product\_code field](/forum/37-import-export-csv-xls/878078-bulk-upload-product-code-field#207973 "-- HikaShop version -- : HikaShop Business 2.5.0 -- Joomla version -- : 3.4.3 -- PHP version -- : 5.5.44 -- Browser(s) name and version -- : all  Due to a update by my supplier on product code I have want to create a bulk upload to update the product&#95;code field in Hikashop.  When i create a bulk upload file with the product&#95;id and product&#95;code Hikashop creates a new product.  How can by bulk upload (300+ items) to update the product&#95;code field?  The Product Code is necesery for my for stock and licencing perposes. Is there a handy way beside SQL update (im not that handy with SQL queries)")*

Hi,

The import bases itself on the product_code so it's not meant to update the product_code value of the products. You'll have to do it with a MySQL query.
Here is an example: Code:

INSERT INTO #__hikashop_product (product_id,product_code) VALUES (1,'new_code1'), (2,'new_code2'), ...etc... (29999,'new_code29999') ON DUPLICATE KEY UPDATE product_code=VALUES(product_code);

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

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

[](#top)
