MaritimeSource Posted November 26, 2003 Share Posted November 26, 2003 Could someone point me to where this is calculated so I can do some Tax Overriding? Here's what I want to do: If a retailer from Ontario, Canada buys from my store I want to charge them just Federal Tax as they are eligible for a Provincial Tax exemption. What I've done is, added a "PST #" to the Create Account page, so if the billing address is Ontario, Canada then I'd only apply the Federal Tax Rate. I dug around for awhile trying to find where the taxes were calculated but I failed. I did find a "tep_get_tax_rate" but I hard coded a value in there, and it wasn't used. It seems my answer should be in order.php, but still I couldn't find it. Thanks Link to comment Share on other sites More sharing options...
Guest Posted November 26, 2003 Share Posted November 26, 2003 Go in contributions(click my signature) and do a search for OntarioCanadaTaxZonessetup The_Bear Link to comment Share on other sites More sharing options...
jpf Posted November 26, 2003 Share Posted November 26, 2003 There is ALSO a TAX EXEMPT mod in the contributions. Link to comment Share on other sites More sharing options...
MaritimeSource Posted November 27, 2003 Author Share Posted November 27, 2003 Could someone point me to where in the code the taxes are applied? These replies don't solve my problem. If there's an Ontario Retailer buying from the store, I have to give them a provincial tax exemption. Thanks Link to comment Share on other sites More sharing options...
Guest Posted November 27, 2003 Share Posted November 27, 2003 You can always right the Pst exemption number on the invoice after, also you can recalculate the tax after the order is placed, by going to your database then to order totals. What is you store just an Idea. Link to comment Share on other sites More sharing options...
MaritimeSource Posted November 28, 2003 Author Share Posted November 28, 2003 You can always right the Pst exemption number on the invoice after, also you can recalculate the tax after the order is placed, by going to your database then to order totals. I'm doing this for a client, and this is how they want it to work. I'm just not sure at which stage the taxes are calculated (which php file)? Store is: http://www.prideofafricacrafts.com/store/ Thanks Link to comment Share on other sites More sharing options...
MaritimeSource Posted November 28, 2003 Author Share Posted November 28, 2003 FYI - Taxes are calculated here: includes/functions/general.php in function - tep_get_tax_rate Thanks for the support -Justin Link to comment Share on other sites More sharing options...
paulm2003 Posted November 29, 2003 Share Posted November 29, 2003 FYI - Taxes are calculated here: includes/functions/general.php in function - tep_get_tax_rate Thanks for the support -Justin Thanks Justin, that was exactly what I was looking for (for other reasons though)! Seems a bit strange to me that this kind of info is so difficult to get sometimes :( Paul Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.