Stephane P Posted July 21, 2016 Share Posted July 21, 2016 Bonjour ! Je suis paré à résoudre tout mes problèmes aujourd'hui Je cherche de rajouter le nom de la marque après le nom du produit dans les emails de validation de commande.J'ai essayé de modifier dans modules/mailalerts/mailalerts.php et rajouter la variable manufacturer dans hookActionUpdateQuantity : $product_name = Product::getProductName($id_product, $id_product_attribute, $id_lang); $template_vars = array( '{qty}' => $quantity, '{last_qty}' => $ma_last_qties, '{product}' => $product_name, '{manufacturer_name}' => $product->manufacturer_name ); Mais il ne me trouve pas ma valeur comme ça... Quelqu'un aurait une idée ? Stéphane Prestashop 1.6.1.6 Link to comment Share on other sites More sharing options...
Stephane P Posted July 26, 2016 Author Share Posted July 26, 2016 J'ai finalement trouvé la solution sur ce post : http://stackoverflow.com/questions/34598605/prestashop-1-6-add-products-manufacturer-name-in-mail-template/34607034 Si ça peut intéresser quelqu'un ! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now