Jump to content
Simon Christiansen

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

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)

Share this post


Link to post
Share on other sites

Update: I found that classes/Paymentmodule.php leads me to '{products}' => $product_list_html, i thinks this is where the information comes from, now i just need to locate product_list_html

 

 

Edited by Simon Christiansen (see edit history)

Share this post


Link to post
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/

Share this post


Link to post
Share on other sites

Næste gang så husk at skrive på dansk i det danske forum.

Share this post


Link to post
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...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More