Jump to content

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


Recommended Posts

We need to add a tax for a single state only in the US. The tax should only be displayed and added during checkout. I have followed the instructions and suggestions on how to apply taxes, but it still does not work correctly in PrestaShop 1.6.1.10.  We will be unable to use PrestaShop if it can't handle taxes properly in the US.

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 of 6.25%.
  • 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?  If so, are there any examples?

 

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 4 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...