mareksmareks Posted June 1, 2015 Share Posted June 1, 2015 Hi. Im on 1.6.0.11 and I need to get manufacturer name next to ordered product on email that is sent to admins. I checked this post https://www.prestashop.com/forums/topic/339273-mailalerts-how-to-add-manufacturer-reference/ but im little bit confused. On email template line that represents item name, ordered quantity and price is coded in {items}. What exactly I need to do to make manufacturer appear on emails to admins? Link to comment Share on other sites More sharing options...
mareksmareks Posted June 6, 2015 Author Share Posted June 6, 2015 nobody? Link to comment Share on other sites More sharing options...
jose_ugs Posted January 7, 2021 Share Posted January 7, 2021 Whoever needs a solution for the Manufacturer's name, the link above now contains a solution Link to comment Share on other sites More sharing options...
Prestachamps Posted January 8, 2021 Share Posted January 8, 2021 Hi, In MailAlert.php where you send the email you can add manufacturer before sending the email and then you can use tpl. Example: '{product_manufacturer}' => $product->manufacturer_name, Regards, Leo Link to comment Share on other sites More sharing options...
jose_ugs Posted January 8, 2021 Share Posted January 8, 2021 Hi Leo, i tried this yesterday and it didn't work... No such thing as $product->manufacturer_name That's why i had to use $manufacturer = new Manufacturer($product->id_manufacturer, $id_lang); 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