This question has been flagged
2 Replies
7772 Views

Hi,

I have install the product_unique_default_code, so I assume the "Internal Reference" for product should be unique. Unfortunately it doesn't. Anyone who tried this module before?

Thanks.

Avatar
Discard
Best Answer

HI,

This module is for Unique Internal Reference only. Before installation, make sure that existing products have unique Internal Reference, else constraint will not be applied to Product.

Avatar
Discard
Author

oh, what if I have already installed with non-unique internal reference? how to fix? thanks

Make each non-unique fields with Unique reference and then try to install module.

Author

Thanks, 1 more question. is blank consider non-unique?

No. Blank value will not be considered.

Author

OMG... so I have over 1000+ products now.... i have to make them unique 1 by 1? :(

make sorting of products by Internal Reference. By that way, you will come to know duplicate reference and only make them unique.

Author

Yes, I export all the data to CSV, checked and removed duplicates. Finally it works. Thanks.

Best Answer

Try to use this one it's for V6.0 but it works also for V7.0

And if you want to make it mandatory.

Avatar
Discard