Jump to content
Latest News: (loading..)
devpower

Include shipping cost in VAT calculation.

Recommended Posts

Friends,

 

I have a problem.

 

i need to include the shipping cost in tax calculation.

 

my checkout confirmation page as below;

 

1. sub total: $40

2. shipping cost ; $8

3. Vat 20% : $8 (wrong. it should be $9.6)

4. total : $56

 

i tried to change the order_total.php file in modules/classes folder.

 

Can anyone help to fix this issue?

 

 

Thanks.

Share this post


Link to post
Share on other sites

@@devpower

 

You want to TAX your shipping ? If so, just add the tax class to the shipping module.

 

 

 

Chris


:|: Was this post helpful ? Click the LIKE THIS button :|:

 

See my Profile to learn more about add ons, templates, support plans and custom coding (click here)

Share this post


Link to post
Share on other sites

@@Chris.

 

I have done as you said. Now confirmation display is correct. but when process the payment, shipping cost is not included. I have printed $order object. it's shows tax without shipping cost.

Not only shipping, i need to include the paypal fees also. So, Can you tell me where to change the code? I have changed in classs/order_total.php file. But it affects the confirmation page display.

 

Thanks.

Edited by devpower

Share this post


Link to post
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

×