DARKF3D3 Posted November 22, 2016 Share Posted November 22, 2016 (edited) I'm using PS 1.6.0.9 and looking at the email confirmation I noticed a strange thing.All the prices and totals are showed included tax except for the "Total Products" that it's showed without tax.Into the email template i have:Totale prodotti {total_products}Buoni sconto {total_discounts}Spedizione {total_shipping}Totale pagato {total_paid}How can I show also 'total products' included taxes? Edited May 29, 2017 by DARKF3D3 (see edit history) Link to comment Share on other sites More sharing options...
fedesib Posted November 23, 2016 Share Posted November 23, 2016 Hi, you have to make some changes in classes/PaymentModule.php file (or better write an override) around line 700 where the fields for the customer's email are prepared. In particular you'll need to change this line: '{total_products}' => Tools::displayPrice(Product::getTaxCalculationMethod() == PS_TAX_EXC ? $order->total_products : $order->total_products_wt, $this->context->currency, false), you probably need only '{total_products}' =>Tools::displayPrice($order->total_products_wt, $this->context->currency, false) I hope this helps, Federica 1 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