Simon Christiansen Posted December 3, 2019 Share Posted December 3, 2019 (edited) 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! Edited December 3, 2019 by Simon Christiansen (see edit history) Link to comment Share on other sites More sharing options...
Simon Christiansen Posted December 3, 2019 Author Share Posted December 3, 2019 (edited) 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 December 3, 2019 by Simon Christiansen (see edit history) 1 Link to comment Share on other sites More sharing options...
Simon Christiansen Posted December 3, 2019 Author Share Posted December 3, 2019 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 More sharing options...
Simon Christiansen Posted December 3, 2019 Author Share Posted December 3, 2019 Yup, /mails/en/order_conf_product_list.tpl was the location of the info. Just passing all info here in case others needs it. 1 1 Link to comment Share on other sites More sharing options...
Rynraf Posted May 7, 2022 Share Posted May 7, 2022 (edited) 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 May 7, 2022 by Rynraf formatting (see edit history) 2 Link to comment Share on other sites More sharing options...
c64girl Posted August 1 Share Posted August 1 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 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