Post by procheck » Fri Apr 08, 2016 11:59 am

When I copy a product in Opencart (Products) I get a duplicate key error because the product_id does not get incremented. I tried setting this column to auto-increment but that didn't work. Is there a fix for this?

Notice: Error: Duplicate entry '1658-0' for key 'PRIMARY'
Error No: 1062
INSERT INTO oc_product_to_store SET product_id = '1658', store_id = '0' in opencart2/system/library/db/mysqli.php on line 41Warning: Cannot modify header information - headers already sent by (output started at opencart2/admin/index.php:84) in opencart2/system/library/response.php on line 12

New member


Tue Jul 23, 2013 9:42 am
Who is online

Users browsing this forum: No registered users and 14 guests