12 minutes ago, knacky said:If you use such a notation, you do not have to use any other hook.
I don't know how you do the import so I can clarify it for you.
I guess it's a secret 😄
public function myImportFunction($params) { $idProduct = $params['id_product']; $product = new Product((int) $idProduct); .... .... $product->update(); }
it's not really a secret !
I have a lot of trouble with the PrestaShop code structure, I guess your great directions are supposed to help me. But I don't understand how I can make sending a mail to the customer from a specific page of my module is reproducing the native function.
I have to modify the Controller of my module?
And add the function that you have indicated to me?
I'm really trying to elucidate "PrestaShop logics" to master the tool more easily. For now, you are contributing perfectly!