Jump to content

[Solved] Order confirmation email - Where to edit {products}?


Simon Christiansen

Recommended Posts

Hi there.

Im editing my order confirmation email, as i need it to NOT display any product prices.
Ive removed some collums from order_conf.html but the prices are still shown. Its seems from the code that this comes from {products}, but what is this and where can i edit it? 

Im running a 1.7 shop

Thanks in advance! :) 

Screenshot_141.jpg

Screenshot_142.jpg

Edited by Simon Christiansen (see edit history)
Link to comment
Share on other sites

Update: Again in PaymentModule.php i was lead by:

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

i then located order_conf_product_list.tpl in /mails/en/order_conf_product_list.tpl and i believe this is what i was searching for, will get back if this does the trick!

Hint: i was searching wrong language code in /mails/, the files are only located in /en/

Link to comment
Share on other sites

  • 2 years later...
On 12/3/2019 at 11:55 AM, Simon Christiansen said:

Yup, /mails/en/order_conf_product_list.tpl was the location of the info.

Just passing all info here in case others needs it. 

In my case (a little newer PS version) the location of this file is: /mails/_partials/order_conf_product_list.tpl

But your advice was also helpfull in finding final location in my PS :)

Edited by Rynraf
formatting (see edit history)
  • Thanks 2
Link to comment
Share on other sites

  • 2 years later...
On 5/7/2022 at 11:25 PM, Rynraf said:

In my case (a little newer PS version) the location of this file is: /mails/_partials/order_conf_product_list.tpl

But your advice was also helpfull in finding final location in my PS :)

 

Thank You, was searching in php files but it sems it was in mails folder :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...