Add tax for a single state (USA) during checkout only (PrestaShop 1.6)

  • Answered
I have followed the instructions and suggestions on how to apply taxes, but it still does not work correctly (PS 1.6.1.10). We need to add a tax for a single state only. The tax should only be displayed and added during checkout.

The way it works now is, if a customer logs into his/her account and their delivery address matches the state where taxes must be collected, the prices for all products site-wide are increased by an amount that approximates the tax (it's not even the correct amount); this is without adding any items to the cart. It should not be this way, in the USA at least. Product prices should never be adjusted by taxes. Taxes should only be displayed during checkout.

When products are added, the tax rule is selected in the Prices section.
Localization > Taxes and Tax Rules, only the state where taxes must be collected is enabled.
In Customers > Groups > Customer, Price display method "Tax excluded" is selected.
Under Tax Rules for the state, I added a new tax rule to apply "This tax only" to United States, Massachusetts with the corresponding tax.
Downloading the location pack with "Change the behavior of the taxes displayed to the groups" checked had no effect.
Using a custom theme or default-bootstrap made no difference.
Clearing the cache had no effect.

Can anyone confirm that PrestaShop 1.6 has the ability to add a tax for a single state and show this tax only during checkout?
scottglx
After much searching and looking at code, this issue is fixed for me. It turned out that I had earlier copied some recommended code from the forum on how to alter the formatting of prices. The poster, not being from the US, provided code that did not exclude taxes in the product prices. After I added "_tax_exc" to $product.price to get "$product.price_tax_exc" in a few tpl's, it worked perfectly. It would have helped it I examined the code to start with.
christopherm
Hello,

Thank you for your question about adding taxes for single states in Prestashop 1.6. This may be possible by adjust the tax behaviors. You can find those under the "Add a new tax" interface. Otherwise, I could not find any confirmation that the tax can be excluded until checkout for customers within that region.

Best,
Christopher M.