VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: edudflog on December 09, 2013, 12:50:39 PM

Title: No state shows in the Tax & Calc Rule Dropdown
Post by: edudflog on December 09, 2013, 12:50:39 PM
Using VM 2.0.24a
Joomla 2.5.16
PHP 5.3+

Even with the United States selected as a country, the states in the US do not appear in the state dropdown.  I have set up a Tax and Calculation rule to only charge tax of 7% on products shipped to the US state of New Jersey, but because the states will not appear in the dropdown, the 7% tax is charged on shipments to all US states.  I have had to unpublish this rule and this leaves me with a potential tax liability for purchases sent to New Jersey because no tax is being charged.

Can you assist?

Thanks



[attachment cleanup by admin]
Title: Re: No state shows in the Tax & Calc Rule Dropdown
Post by: GJC Web Design on December 10, 2013, 00:51:47 AM
I would say you have a javascript error in your admin - some sort of conflict..

all your sliders down the left hand side are open as well - another sign of a JS conflict..

check in Firebug etc for JS errors in the Console
Title: Re: No state shows in the Tax & Calc Rule Dropdown
Post by: edudflog on December 10, 2013, 01:09:45 AM
Thank you for addressing my problem.  One last question (as I am not, obviously, well versed in this) - when you say JS errors in the console, where do I find the console.  I do have Firebug but need to know where to look and what to look for.  What does an error look like (dumb question but I really don't know what to look for).

Thanks again.
Title: Re: No state shows in the Tax & Calc Rule Dropdown
Post by: edudflog on December 10, 2013, 01:36:14 AM
I sort of found the console and the error but still do not know what to do with it.

Please see the attachments.

The first is the error, the second I clicked on the error and third I refreshed the page.  Can you kindly tell me what is next - as in how do I fix this error?

Thanks

[attachment cleanup by admin]
Title: Re: No state shows in the Tax & Calc Rule Dropdown
Post by: GJC Web Design on December 10, 2013, 09:09:03 AM
yes - 'chosen is not a function' is what is failing the state selector but why is impossible to say without being able to investigate.

As the sliders aren't working either either your not loading for some reason a js script or you have some other script interfering with the js.

Have attached the js scripts that load on a standard VM admin page..

[attachment cleanup by admin]