Sales Tax by City, Tax by Category?

  • Posts: 59
  • Thank you received: 0
11 years 9 months ago #87267

In reading through other posts, I am still a bit confused setting up Hikashop Business for a client.

Am I correct in assuming that the only way to implement a sales tax by city (in addition to the tax for state) is to add the state as a country zone and the city as a state zone? But then I think I read that it won't work with Paypal, which is what our client uses. Isn't there any other way to do a city tax more easily? We are not in a position to recode much, so are looking for a practical option.

On assigning a tax rate to products, is it possible to assign a tax rate to a product category? I have looked in several places, but I don't seem to see how to do that. Our client has a food product category, for example, that isn't taxed in that state.

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #87434

Hi,

That's indeed the way to do it for now. We would need to have additional options in tax rules to handle city or zip code restricted tax rules.
For paypal you will need to edit the plugins/hikashoppayment/paypal.php and change the lines:
$vars["state"]=@$order->cart->$address_type->address_state->zone_code_3;
$vars["country"]=@$order->cart->$address_type->address_country->zone_code_2;

For example, if you sell only in the US, you can force the US code for the country like that:
$vars["country"]='US';
And then you want to use the country field as the state:
$vars["state"]=@$order->cart->$address_type->address_country->zone_code_3;

In your products you will find the "tax category" option. If you set it to none, taxes won't apply to these products.

Please Log in or Create an account to join the conversation.

Time to create page: 0.053 seconds
Powered by Kunena Forum