Jump to content

Duplicate product WITHOUT copying reference field ?


Recommended Posts

Hello,

For integrity reason, I made the 'reference' column UNIQUE in ps_product table. As a consequence , when I duplicate a product I have en error because the new product has the same reference as the original one. Is it possible to change something in code, so that the reference field is not copied.   Thank you in advance.

 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...