Jump to content

[solved] Edit Order_Conf Prices


Keron83

Recommended Posts

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 by Keron83 (see edit history)
Link to comment
Share on other sites

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

  • Like 1
Link to comment
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...