Jump to content

How to add link to product in to the custmer emails


Recommended Posts

I would like to add some additional information to email sending to custoemers ( for example in_ transit) template.
I need to place there link to product.
I added {product_link} but no result, is not displayed link to purchased product only this  " {product_link} "

 

Link to comment
Share on other sites

Look at one example - /classes/PaymentModule.php, the line containing:

$product_list_txt = $this->getEmailTemplateContent('order_conf_product_list.txt', Mail::TYPE_TEXT, $product_var_tpl_list);

order_conf_product_list.txt is the template

{$product['name']} is a variable used in the template

$product_var_tpl_list is the array available in the template, filled in PaymentModule.php

Link to comment
Share on other sites

×
×
  • Create New...