Jump to content

order conf email wrong tax if discount is enabled


Wladi

Recommended Posts

Hi guys,

 

I'm using presta 1.6.1.10

 

I just noticed a bug in order conf email template which is sent to customers after they placed an order.

 

If I apply a discount, lets say 10%, everything is correctly calcaluted during the order process (including tax calc). However in oder conf email the tax is shown without considering the discount.

 

Example - order process (correct):

 

Product:              100€

discount(10%):    -10€

---------------------

price(without tax): 90€

+ 19%                   17.10€

--------------------------------

price (with tax):     107,10€

 

The customer receives the following email:

 

Product:              100€

discount(10%):    -11.90€ --> I don't know why the discount is now shown with tax included????

---------------------

tax                      19.00€ --> Problem: Tax is applied to 100€ without subtraction of discount. This should be 17.10€

--------------------------------

price (with tax):     107,10€ --> this is luckily correct.

 

Thanks for you answers.

Link to comment
Share on other sites

  • 1 year later...

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...