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

#   Ugly message when saving product code duplicated

##

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

Less More

- Posts: 640
- Thank you received: 16
-
-

11 years 2 months ago [\#213044](#213044) by [PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")  *[Ugly message when saving product code duplicated](/forum/22-market-bug-report/879056-ugly-message-when-saving-product-code-duplicated#213044 "-- HikaShop version -- : 2.6.5 -- HikaMarket version -- : 1.6.5  I don't know if this is to be expected or is something working wrong in my site.  I get this ugly screen when I save a product with a code that is already existing:")* was created by *[PeterChain](/forum/user/570-peterchain "View PeterChain's Profile")*

-- HikaShop version -- : 2.6.5
-- HikaMarket version -- : 1.6.5

I don't know if this is to be expected or is something working wrong in my site.

I get this ugly screen when I save a product with a code that is already existing:

[ ![Captura&#95;de&#95;pantalla&#95;2015-09-01&#95;a&#95;les&#95;18&#95;24&#95;32.png](/forum/attachment/26227) ](/forum/attachment/26227 "...s&#95;18&#95;24&#95;32.png")

- [ ![Captura&#95;de&#95;pantalla&#95;2015-09-01&#95;a&#95;les&#95;18&#95;24&#95;32.png](/forum/attachment/26227) ](/forum/attachment/26227 "...s&#95;18&#95;24&#95;32.png") [ ](/forum/attachment/26227?download=1 "...s&#95;18&#95;24&#95;32.png")

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 2 months ago [\#213045](#213045) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Ugly message when saving product code duplicated](/forum/22-market-bug-report/879056-ugly-message-when-saving-product-code-duplicated#213045 "-- HikaShop version -- : 2.6.5 -- HikaMarket version -- : 1.6.5  I don't know if this is to be expected or is something working wrong in my site.  I get this ugly screen when I save a product with a code that is already existing:")*

Hi,

You have an option in HikaMarket called "Avoid duplicate product code"
[ www.hikashop.com/support/documentation/1...onfig\_market\_general](http://www.hikashop.com/support/documentation/143-hikamarket-configuration.html#config_market_general)
Unfortunately, that option is just display for the "multivendor" edition but is also working for the "front-edition" one.
I will fix that by moving the option in the common section.

Before the next release ; you can add the option in your HikaMarket configuration database table. Code:

config_namekey = avoid_duplicate_product_code config_value = 1

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

Moderators: [Obsidev](/forum/user/7040-obsidev "View Obsidev's Profile")

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.044 seconds

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