osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Canada Taxes Order Total Module

This is a discussion on Canada Taxes Order Total Module within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; The following modification changes the way OSC calculates taxes so that it gets compatible with Canadian compound tax calculation (especially ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 04-13-2008, 06:31 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,969
Thanks: 80
Thanked 345 Times in 324 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post Canada Taxes Order Total Module

The following modification changes the way OSC calculates taxes so that it gets compatible with Canadian compound tax calculation (especially in Quebec). It shows taxes calculation on two lines as required by many canadian province laws.

I think there is at least 4 mods published on this site that does this and none of them did fit my needs. The following modification should allow your OSC store to calculates GST and PST on seperate lines without making any rounding or calculation errors. I've sucessfully implemented this on various versions of OSC 2.2 and Creloaded carts.

This mod does not involve any hardcoding of tax values in ot_tax.php and relies on the proper way of configuring Canadian Taxes as described by Peter Mosier in http://www.oscommerce.com/community/contributions,1124

I'd like to thank Peter Mosier for the very clear instructions on setting up Canadian taxes in OSC. I've included an edited version of his work in this contribution (especially useful for setting up compounded taxes for Quebec). I'd also like to thank Nick Cloutier (Contrib #5399) for inspiring me on the right way to do this.

This mods assumes the following in your store setup:

- All products are taxable in your store
- All products have the same tax class (ie: taxable goods)
- Display price with tax is disabled in your store configuration
- Taxes are based on delivery address, not billing address
- Same tax rates apply on shipping fees than tax rates applied on ordered products
- Your order_total configuration is as follows (in Admin/Modules/Order Totals) :
1. Sub-Total
2. Shipping
3. Tax
4. Total

If your store configuration differs from what's mentionned above, you can try to install this module but tweaking might be necessary.

More...
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates designed for osCMax 2. Loyalty discounts up to 30% off!
    Each purchase supports the osCMax project with much needed funds!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. Default multi server configuration for exceptional performance!

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Advertisement
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Canada Post Automated Labels 2.0 AND Canada Post Shipping Module 4.0 michael_s New osCommerce Contributions 0 04-08-2008 01:52 PM
Order Totals: Total $ and Total Sales Count michael_s New osCommerce Contributions 0 04-18-2007 10:30 AM
Order Totals: Total $ and Total Sales Count michael_s New osCommerce Contributions 0 04-17-2007 06:54 PM
Order Totals: Total $ and Total Sales Count michael_s New osCommerce Contributions 0 04-17-2007 12:15 PM
Order Total module cupido osCMax v1.7 Discussion 2 11-05-2004 08:20 PM


All times are GMT -8. The time now is 08:41 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax