bkessler91 Posted July 23, 2013 Share Posted July 23, 2013 My business is in PA (USA). As of right now, PA sales tax (6%) gets applied to every order, until the customer provides their address. Is there anyway to switch this around? That tax is not applied until they provide their PA address? Thanks Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 3, 2013 Share Posted August 3, 2013 I see two places where a test is made. * If the shopping basket does not have a billing/delivery address country code (which it wouldn't if it didn't have a state code either), then use the store's country code -- as if the customer were in the same federal taxing district as the store, or the customer were to pick up the order at the store. * When the cart object is first constructed, this same test is made, but nothing is done with the result. Must be residue from a much earlier version. (Near line 109) This edit will cause the basket to not use the store's country code, which will cause the skin to not show a Tax: line, nor to add taxes to the Grand Total:* until the basket has the customer's country code. In the file /classes/cart.class.php, near line 608, find: $GLOBALS['tax']->loadTaxes($tax_country); A few statements above that, change: $tax_country = $GLOBALS['config']->get('config', 'store_country'); to $tax_country = 0; // Not gonna do this.$GLOBALS['config']->get('config', 'store_country'); * I do not know how the basket will calculate/show totals if there are taxes included as part of the price of the item. This is not a problem with USA, but for other countries - be advised. Also, if there is a tax on shipping, more experiments are required. Quote Link to comment Share on other sites More sharing options...
bsmither Posted August 4, 2013 Share Posted August 4, 2013 I have made an experiment by having an item with tax included in the price (that is, 17.50 +20% = displayed price of 21.00) has the Grand Total showing a pre-tax amount. Once the customer has entered or chosen a billing address, the tax line gets displayed in the "Your Shopping Basket" area and the Grand Total is correct. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.