Sales Tax by Shipping Location

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #126258

Hi,
I change the all tax category to default tax category, but the tax do not shown in the cart and it do not change the rate. Do I miss something else, perhaps the main tax zone?

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #126299

Hi,

I can see that the price set to the products is "0", it seems to be calculated via an external plugin, not an HikaShop one.
So in this plugin you have probably forget the tax management.

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

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #126363

Hi Xavier,
this external plugin was from Nicolas. Maybe you can help me to solve this.
Thanks.

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
11 years 1 month ago #126546

I don't remember what this plugin was about.
Can you provide a copy of the plugin ?

If there is indeed a custom price calculation plugin, it's normal that it doesn't handle taxes.
That would have to be coded into it.

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

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #126582

Nicolas,
thank you, but I have updated and the old version is gone.
You did the modification two years ago, calculation the dimension of the customized acrylic sheets.

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #126727

Hi,

You still should have the plugin, I think that you can find it via ftp.

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

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #128052

Hi,
I update hikashop, make the change following changes:
-change all states of USA to country
-change custom fields: address: country to state and state to county
to display the tax 0 =% for the other state then "outsid NY"

The default state is NY and county is chautauqua.
If I change the state, I got this error message (attachement):

� HTTP/1.1 303 See other Date: Tue, 15 Oct 2013 18:26:14 GMT Server: Apache Location: falkenacrylic.com/falkenacrylic/index.ph..._Dakota_4290&lang=en Vary: Accept-Encoding Content-Encoding: gzip Content-Length: 20 Keep-Alive: timeout=10, max=26 Connection: Keep-Alive Content-Type: text/html; charset=utf-8 ¬� *



Maybe you can help.

Thanks.

Attachments:

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

  • Posts: 13201
  • Thank you received: 2322
11 years 1 month ago #128402

Hi,

You probably have an error on an edited state / country.
Thanks to check if there is no special characters in the list, and if you encode in UTF-8.
How have you made the modifications ?

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

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #128409

Hello Xavier
I do not have special characters in the list. Please tell me where to check that I encode in UTF-8.
I change in "zone" the states of USA in country and in "custom field" the name "country" in state and "state" in county.
The point is, if I change the state in address information the second or third time, it works.
Only at the first time, it does not works.

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
11 years 1 month ago #128615

Hi,

The message you got is a redirection which is made by a system plugin in order to add the language as parameter.

Please edit the file "administrator/components/com_hikashop/classes/field.php" and replace

			if($allFields == null || $allValues == null) {
				$doc = JFactory::getDocument();
				$js = 'do_nothing( function() {
	var el = document.getElementById(\''.$this->prefix.$field->field_namekey.$this->suffix.'\');
	window.hikashop.changeState(el,\''.$stateId.'\',\''.$field->field_url.'field_type='.$form_name.'&field_id='.$stateId.'&field_namekey='.$stateNamekey.'&namekey=\'+el.value);
});';
				$doc->addScriptDeclaration($js);
			}
By:
			if($allFields == null || $allValues == null) {
				$doc = JFactory::getDocument();
				$lang = JFactory::getLanguage();
				$locale = strtolower(substr($lang->get('tag'),0,2));
				$js = 'do_nothing( function() {
	var el = document.getElementById(\''.$this->prefix.$field->field_namekey.$this->suffix.'\');
	window.hikashop.changeState(el,\''.$stateId.'\',\''.$field->field_url.'lang='.$locale.'&field_type='.$form_name.'&field_id='.$stateId.'&field_namekey='.$stateNamekey.'&namekey=\'+el.value);
});';
				$doc->addScriptDeclaration($js);
			}
It will add the parameter "lang" to the url so your system plugin which made a redirection won't show up and break the feature.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

  • Posts: 75
  • Thank you received: 1
11 years 1 month ago #129135

Thank you.
It works fine.

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

  • Posts: 20
  • Thank you received: 0
10 years 10 months ago #138341

When will Hika Shop make it EASY to charge tax on only certain products (within the same category as others) in NY State, correctly charging the correct tax rate based on the most recent NY State tax publications????

Is Hika Shop working on fixing this????

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
10 years 10 months ago #138427

Next version of HikaShop will include a taxcloud plugin to automatically calculate the taxes for US users.

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

  • Posts: 49
  • Thank you received: 2
10 years 10 months ago #139401

nicolas wrote: Next version of HikaShop will include a taxcloud plugin to automatically calculate the taxes for US users.


That will indeed be great news. When do you anticipate this coming to be? I can hold off doing a complex setup on a few sites.

Great news!!

Kurt

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

  • Posts: 13201
  • Thank you received: 2322
10 years 10 months ago #139443

Hi,

That should come during this month, or at least in February.

The following user(s) said Thank You: Cyngen

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

  • Posts: 82868
  • Thank you received: 13377
  • MODERATOR
7 years 7 months ago #265940

For people seeing this old thread: There is now a TaxCloud plugin to automatically calculate sales tax in the US:
www.hikashop.com/support/documentation/260-taxcloud.html

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

Time to create page: 0.111 seconds
Powered by Kunena Forum