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