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

#   When you save item error

##

- **[Святина](/forum/user/39512-svatina "View Святина's Profile")**
- [![Святина's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39512-svatina "View Святина's Profile") Topic Author
- [ Offline](/forum/user/39512-svatina)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 10 months ago -  10 years 9 months ago [\#227946](#227946) by [Святина](/forum/user/39512-svatina "View Святина's Profile")  *[When you save item error](/forum/32-content-creation/881920-when-you-save-item-error#227946 "-- HikaShop version -- : 2.6.0 business -- Joomla version -- : 3.48  When you save item error : 1062 Duplicate entry '' for key 'product&#95;code' SQL=UPDATE &#96;kytrq&#95;hikashop&#95;product&#96; SET &#96;product&#95;name&#96;='Наборы весом 100 грамм.(9 тресс)',&#96;product&#95;code&#96;='',&#96;product&#95;quantity&#96;='-1',&#96;product&#95;manufacturer&#95;id&#96;='44',&#96;product&#95;published&#96;='1',&#96;product&#95;tax&#95;id&#96;='11',&#96;product&#95;msrp&#96;='0.0000000',&#96;product&#95;page&#95;title&#96;='',&#96;product&#95;url&#96;='',&#96;product&#95;meta&#95;description&#96;='',&#96;product&#95;keywords&#96;='Волосы купить,волосы на заколках,',&#96;product&#95;alias&#96;='Naboryi-vesom-100',&#96;product&#95;canonical&#96;='',&#96;product&#95;min&#95;per&#95;order&#96;='0',&#96;product&#95;max&#95;per&#95;order&#96;='0',&#96;product&#95;sale&#95;start&#96;='',&#96;product&#95;sale&#95;end&#96;='',&#96;product&#95;access&#96;='all',&#96;product&#95;warehouse&#95;id&#96;='',&#96;product&#95;weight&#96;='100.000',&#96;product&#95;weight&#95;unit&#96;='g',&#96;product&#95;length&#96;='0.000',&#96;product&#95;width&#96;='0.000',&#96;product&#95;height&#96;='0.000',&#96;product&#95;dimension&#95;unit&#96;='m',&#96;product&#95;layout&#96;='',&#96;product&#95;quantity&#95;layout&#96;='',&#96;product&#95;group&#95;after&#95;purchase&#96;='',&#96;product&#95;type&#96;='main',&#96;product&#95;description&#96;='',&#96;product&#95;modified&#96;='1453935546' WHERE &#96;product&#95;id&#96;='3048'  and gone to all the products that I filled , what to do?! Make OpenServer!please help! What's the problem?!")* was created by *[Святина](/forum/user/39512-svatina "View Святина's Profile")*

-- HikaShop version -- : 2.6.0 business
-- Joomla version -- : 3.48

When you save item error :
1062 Duplicate entry '' for key 'product_code' SQL=UPDATE &#96;kytrq_hikashop_product&#96; SET &#96;product_name&#96;='Наборы весом 100 грамм.(9 тресс)',&#96;product_code&#96;='',&#96;product_quantity&#96;='-1',&#96;product_manufacturer_id&#96;='44',&#96;product_published&#96;='1',&#96;product_tax_id&#96;='11',&#96;product_msrp&#96;='0.0000000',&#96;product_page_title&#96;='',&#96;product_url&#96;='',&#96;product_meta_description&#96;='',&#96;product_keywords&#96;='Волосы купить,волосы на заколках,',&#96;product_alias&#96;='Naboryi-vesom-100',&#96;product_canonical&#96;='',&#96;product_min_per_order&#96;='0',&#96;product_max_per_order&#96;='0',&#96;product_sale_start&#96;='',&#96;product_sale_end&#96;='',&#96;product_access&#96;='all',&#96;product_warehouse_id&#96;='',&#96;product_weight&#96;='100.000',&#96;product_weight_unit&#96;='g',&#96;product_length&#96;='0.000',&#96;product_width&#96;='0.000',&#96;product_height&#96;='0.000',&#96;product_dimension_unit&#96;='m',&#96;product_layout&#96;='',&#96;product_quantity_layout&#96;='',&#96;product_group_after_purchase&#96;='',&#96;product_type&#96;='main',&#96;product_description&#96;='&lt;p&gt;&lt;strong&gt;',&#96;product_modified&#96;='1453935546' WHERE &#96;product_id&#96;='3048'

and gone to all the products that I filled , what to do?! Make OpenServer!please help!
What's the problem?!

Last edit: 10 years 9 months ago by [Святина](/forum/user/39512-svatina "View Святина's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMyLWNvbnRlbnQtY3JlYXRpb24vODgxOTIwLXdoZW4teW91LXNhdmUtaXRlbS1lcnJvcj90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14325
-
-

10 years 9 months ago [\#227960](#227960) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[When you save item error](/forum/32-content-creation/881920-when-you-save-item-error#227960 "-- HikaShop version -- : 2.6.0 business -- Joomla version -- : 3.48  When you save item error : 1062 Duplicate entry '' for key 'product&#95;code' SQL=UPDATE &#96;kytrq&#95;hikashop&#95;product&#96; SET &#96;product&#95;name&#96;='Наборы весом 100 грамм.(9 тресс)',&#96;product&#95;code&#96;='',&#96;product&#95;quantity&#96;='-1',&#96;product&#95;manufacturer&#95;id&#96;='44',&#96;product&#95;published&#96;='1',&#96;product&#95;tax&#95;id&#96;='11',&#96;product&#95;msrp&#96;='0.0000000',&#96;product&#95;page&#95;title&#96;='',&#96;product&#95;url&#96;='',&#96;product&#95;meta&#95;description&#96;='',&#96;product&#95;keywords&#96;='Волосы купить,волосы на заколках,',&#96;product&#95;alias&#96;='Naboryi-vesom-100',&#96;product&#95;canonical&#96;='',&#96;product&#95;min&#95;per&#95;order&#96;='0',&#96;product&#95;max&#95;per&#95;order&#96;='0',&#96;product&#95;sale&#95;start&#96;='',&#96;product&#95;sale&#95;end&#96;='',&#96;product&#95;access&#96;='all',&#96;product&#95;warehouse&#95;id&#96;='',&#96;product&#95;weight&#96;='100.000',&#96;product&#95;weight&#95;unit&#96;='g',&#96;product&#95;length&#96;='0.000',&#96;product&#95;width&#96;='0.000',&#96;product&#95;height&#96;='0.000',&#96;product&#95;dimension&#95;unit&#96;='m',&#96;product&#95;layout&#96;='',&#96;product&#95;quantity&#95;layout&#96;='',&#96;product&#95;group&#95;after&#95;purchase&#96;='',&#96;product&#95;type&#96;='main',&#96;product&#95;description&#96;='',&#96;product&#95;modified&#96;='1453935546' WHERE &#96;product&#95;id&#96;='3048'  and gone to all the products that I filled , what to do?! Make OpenServer!please help! What's the problem?!")*

Hi,

It means that there is no product code in the product you're trying to save. Please make sure that you have the product code field of the product filled before saving or it won't work as that is a required field.

The following user(s) said Thank You: [Святина](/forum/user/39512-svatina "View Святина's Profile")

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

- **[Святина](/forum/user/39512-svatina "View Святина's Profile")**
- [![Святина's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39512-svatina "View Святина's Profile") Topic Author
- [ Offline](/forum/user/39512-svatina)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 9 months ago [\#228039](#228039) by [Святина](/forum/user/39512-svatina "View Святина's Profile")  Replied by *[Святина](/forum/user/39512-svatina "View Святина's Profile")* on topic *[When you save item error](/forum/32-content-creation/881920-when-you-save-item-error#228039 "-- HikaShop version -- : 2.6.0 business -- Joomla version -- : 3.48  When you save item error : 1062 Duplicate entry '' for key 'product&#95;code' SQL=UPDATE &#96;kytrq&#95;hikashop&#95;product&#96; SET &#96;product&#95;name&#96;='Наборы весом 100 грамм.(9 тресс)',&#96;product&#95;code&#96;='',&#96;product&#95;quantity&#96;='-1',&#96;product&#95;manufacturer&#95;id&#96;='44',&#96;product&#95;published&#96;='1',&#96;product&#95;tax&#95;id&#96;='11',&#96;product&#95;msrp&#96;='0.0000000',&#96;product&#95;page&#95;title&#96;='',&#96;product&#95;url&#96;='',&#96;product&#95;meta&#95;description&#96;='',&#96;product&#95;keywords&#96;='Волосы купить,волосы на заколках,',&#96;product&#95;alias&#96;='Naboryi-vesom-100',&#96;product&#95;canonical&#96;='',&#96;product&#95;min&#95;per&#95;order&#96;='0',&#96;product&#95;max&#95;per&#95;order&#96;='0',&#96;product&#95;sale&#95;start&#96;='',&#96;product&#95;sale&#95;end&#96;='',&#96;product&#95;access&#96;='all',&#96;product&#95;warehouse&#95;id&#96;='',&#96;product&#95;weight&#96;='100.000',&#96;product&#95;weight&#95;unit&#96;='g',&#96;product&#95;length&#96;='0.000',&#96;product&#95;width&#96;='0.000',&#96;product&#95;height&#96;='0.000',&#96;product&#95;dimension&#95;unit&#96;='m',&#96;product&#95;layout&#96;='',&#96;product&#95;quantity&#95;layout&#96;='',&#96;product&#95;group&#95;after&#95;purchase&#96;='',&#96;product&#95;type&#96;='main',&#96;product&#95;description&#96;='',&#96;product&#95;modified&#96;='1453935546' WHERE &#96;product&#95;id&#96;='3048'  and gone to all the products that I filled , what to do?! Make OpenServer!please help! What's the problem?!")*

> nicolas wrote: Hi,
>
> It means that there is no product code in the product you're trying to save. Please make sure that you have the product code field of the product filled before saving or it won't work as that is a required field.

Oh, Nicholas, I was waiting for You! Thank you! And how can it do without the product code?! I don't need it on the website! and in admin panel too!

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

10 years 9 months ago [\#228046](#228046) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[When you save item error](/forum/32-content-creation/881920-when-you-save-item-error#228046 "-- HikaShop version -- : 2.6.0 business -- Joomla version -- : 3.48  When you save item error : 1062 Duplicate entry '' for key 'product&#95;code' SQL=UPDATE &#96;kytrq&#95;hikashop&#95;product&#96; SET &#96;product&#95;name&#96;='Наборы весом 100 грамм.(9 тресс)',&#96;product&#95;code&#96;='',&#96;product&#95;quantity&#96;='-1',&#96;product&#95;manufacturer&#95;id&#96;='44',&#96;product&#95;published&#96;='1',&#96;product&#95;tax&#95;id&#96;='11',&#96;product&#95;msrp&#96;='0.0000000',&#96;product&#95;page&#95;title&#96;='',&#96;product&#95;url&#96;='',&#96;product&#95;meta&#95;description&#96;='',&#96;product&#95;keywords&#96;='Волосы купить,волосы на заколках,',&#96;product&#95;alias&#96;='Naboryi-vesom-100',&#96;product&#95;canonical&#96;='',&#96;product&#95;min&#95;per&#95;order&#96;='0',&#96;product&#95;max&#95;per&#95;order&#96;='0',&#96;product&#95;sale&#95;start&#96;='',&#96;product&#95;sale&#95;end&#96;='',&#96;product&#95;access&#96;='all',&#96;product&#95;warehouse&#95;id&#96;='',&#96;product&#95;weight&#96;='100.000',&#96;product&#95;weight&#95;unit&#96;='g',&#96;product&#95;length&#96;='0.000',&#96;product&#95;width&#96;='0.000',&#96;product&#95;height&#96;='0.000',&#96;product&#95;dimension&#95;unit&#96;='m',&#96;product&#95;layout&#96;='',&#96;product&#95;quantity&#95;layout&#96;='',&#96;product&#95;group&#95;after&#95;purchase&#96;='',&#96;product&#95;type&#96;='main',&#96;product&#95;description&#96;='',&#96;product&#95;modified&#96;='1453935546' WHERE &#96;product&#95;id&#96;='3048'  and gone to all the products that I filled , what to do?! Make OpenServer!please help! What's the problem?!")*

Hi,

We can't leave that field empty, HikaShop is doing a lot of work based on these product codes.
But once filled, you will no more have errors, and in Configuration &gt; Display &gt; Product you can disable the option to show the product code. That way it will never appear on frontend.

The following user(s) said Thank You: [Святина](/forum/user/39512-svatina "View Святина's Profile")

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

- **[Святина](/forum/user/39512-svatina "View Святина's Profile")**
- [![Святина's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/39512-svatina "View Святина's Profile") Topic Author
- [ Offline](/forum/user/39512-svatina)

Less More

- Posts: 30
- Thank you received: 0
-
-

10 years 9 months ago [\#228125](#228125) by [Святина](/forum/user/39512-svatina "View Святина's Profile")  Replied by *[Святина](/forum/user/39512-svatina "View Святина's Profile")* on topic *[When you save item error](/forum/32-content-creation/881920-when-you-save-item-error#228125 "-- HikaShop version -- : 2.6.0 business -- Joomla version -- : 3.48  When you save item error : 1062 Duplicate entry '' for key 'product&#95;code' SQL=UPDATE &#96;kytrq&#95;hikashop&#95;product&#96; SET &#96;product&#95;name&#96;='Наборы весом 100 грамм.(9 тресс)',&#96;product&#95;code&#96;='',&#96;product&#95;quantity&#96;='-1',&#96;product&#95;manufacturer&#95;id&#96;='44',&#96;product&#95;published&#96;='1',&#96;product&#95;tax&#95;id&#96;='11',&#96;product&#95;msrp&#96;='0.0000000',&#96;product&#95;page&#95;title&#96;='',&#96;product&#95;url&#96;='',&#96;product&#95;meta&#95;description&#96;='',&#96;product&#95;keywords&#96;='Волосы купить,волосы на заколках,',&#96;product&#95;alias&#96;='Naboryi-vesom-100',&#96;product&#95;canonical&#96;='',&#96;product&#95;min&#95;per&#95;order&#96;='0',&#96;product&#95;max&#95;per&#95;order&#96;='0',&#96;product&#95;sale&#95;start&#96;='',&#96;product&#95;sale&#95;end&#96;='',&#96;product&#95;access&#96;='all',&#96;product&#95;warehouse&#95;id&#96;='',&#96;product&#95;weight&#96;='100.000',&#96;product&#95;weight&#95;unit&#96;='g',&#96;product&#95;length&#96;='0.000',&#96;product&#95;width&#96;='0.000',&#96;product&#95;height&#96;='0.000',&#96;product&#95;dimension&#95;unit&#96;='m',&#96;product&#95;layout&#96;='',&#96;product&#95;quantity&#95;layout&#96;='',&#96;product&#95;group&#95;after&#95;purchase&#96;='',&#96;product&#95;type&#96;='main',&#96;product&#95;description&#96;='',&#96;product&#95;modified&#96;='1453935546' WHERE &#96;product&#95;id&#96;='3048'  and gone to all the products that I filled , what to do?! Make OpenServer!please help! What's the problem?!")*

> Xavier wrote: Hi,
>
> We can't leave that field empty, HikaShop is doing a lot of work based on these product codes.
> But once filled, you will no more have errors, and in Configuration &gt; Display &gt; Product you can disable the option to show the product code. That way it will never appear on frontend.

thank you very much! As always you are the best,thank you for so fast answer!

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

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