Jump to content

[PS 8.2] - Unique Reference and Ean13


Recommended Posts

Hey everyone, newbie dev here,

I am trying to make it so that when adding a new product in PrestaShop, forbid duplicate references and/or ean13. For that I found this old thread:
Product's Reference code field to be required and unique - Core developers - PrestaShop Forums
But that solution is for the legacy controller AdminProductsController (as far as I know, not being used anymore).

How can I implement something similar but for the new controllers ?

Thank you very much in advance,

Simão Henriques

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...