Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Tax Calculation - (Subtotal + Shipping x Tax)


Haggen

Recommended Posts

Hi, im currently using a module for Canadian Taxes (GST and PST). In checkout_confirmation.php it shows like this:

 

Sub-Total: $10.00

Shipping: $20.00

GST ( 7% ): $0.70

Total: $30.70

 

What i need to do is to recalculate the TAX (GST or PST) based on the sum of Subtotal and Shipping not only on the Subtotal itself.

 

For example:

 

Sub-Total: $10.00

Shipping: $20.00

GST ( 7% ): $2.1 (tax calculated on he sum of Subtotal and Shipping, not only Subtotal)

Total: $32.1

 

Any ideas?

Any help will be apprecciate it

Link to comment
Share on other sites

Just in case..

 

Re-ordering them in ORDER TOTAL module doesnt work.

 

Im not working now with a contribution, i manage myself to set the taxes zonez and rates, im just using now a contribution for shipping (table rate) this one, defines the shipping cost baed on Quantity items a customer buys.

 

My order total moudule looks like:

 

Shipping - 2

Sub-Total - 1

Tax - 3

Total - 4

Link to comment
Share on other sites

  • 1 month later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...