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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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