Keron83 Posted March 30, 2017 Share Posted March 30, 2017 (edited) Hello. I want to change the prices (incl. vat) to excl. vat in the order confirmation mail that a customer receives. But after changing code in the file: classes/paymentModule.php no changes are made in to the order confirmation mail. My first question: Is the paymentmodule.php the right file to edit? The changes that i made (as test): (from line 705 where the email starts)// Send an e-mail to customer (one order = one email) '{total_shipping}' => Tools::displayPrice($order->total_shipping_tax_excl, $this->context->currency, false), But the shipping price is still tax included. Am I doing something wrong? Edited April 11, 2017 by Keron83 (see edit history) Link to comment Share on other sites More sharing options...
NemoPS Posted March 31, 2017 Share Posted March 31, 2017 Keron, That is correct, unless you use a payment module that has its own overridden method. Could it be this?Otherwise to check if that's what runs, right above the assignment (before the array) just use d(Tools::displayPrice($order->total_shipping_tax_excl, $this->context->currency, false));See if it's the correct price 1 Link to comment Share on other sites More sharing options...
Keron83 Posted April 3, 2017 Author Share Posted April 3, 2017 Thanks. It was indeed an override... Something I could (and should) have figured out by myself thanks for the tip nemo! 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