al_foto Posted April 16, 2014 Share Posted April 16, 2014 I have noticed that there is an error in the taxes amount for orders with discounts at the confirmation email send to customers. In payment_module.php the amount of taxes to be displayed in the order_conf.html is calculated like {total_tax_paid}' => Tools::displayPrice(($order->total_products_wt - $order->total_products) + ($order->total_shipping_tax_incl - $order->total_shipping_tax_excl), $this->context->currency, false)) being total_products_wt and total_products the amount before any discount. I have changed it to: {total_tax_paid}' => Tools::displayPrice(($order->total_paid_tax_incl - $order->total_paid_tax_excl), $this->context->currency, false) and seems to work fine. 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