Hello,
I have a problem and none of the solutions found here helped me: when I want to register as a buyer, I can choose the country (spain) from the drop-down menu but after that I can't get the list of states, and I checked jquery, ajax for country/state and changed everything I could found... I even installed VM2 from scratch!!!
The site is www.sidaciberia.com
I'm using Joomla! 2.5.1 and VM 2.0.10.
Thanks in advance.
Did you set the 'virtuemart_state_id' in VM2 'Configuration' - 'Shopper List' to "Required"?
Also, the States have to be published in the country list of course.
Yes, by default 'virtuemart_state_id' is Required, and the States are also published for Spain in the country list.
Thank you, if I find a solution I'll post it here.
SOLVED!!!!
It was a template problem with Javascript.
My template ja_purity_ii has an option to "Optimize JS" and that crashed the VirtueMart JS. I changed the option to "NO" and everything is working now!!!
Thank you very much all you.
Where is the setting found for Optimize JS? Where can I find it to turn it off?
hello,
This is on JA framework T3 .. so you may be use other template framework and you can search on template settings. If you not then maybe your custom template or any plugin or any module loads jquery again or javascript files that conflicts with vm js. You could use firebug to examine your site for js errors.
http://forum.virtuemart.net/index.php?topic=102850.0
Regards
Well on my site I ran into a very weird issues in this same realm.
www.thehummingbirdstore.com, Joomla 2.5.7 and VM 2.0.12
On the Billing form (Which I am using One Page Checkout) it shows the US states drop down list, but when I click "Add/Edit Shipping Address" form I do not get a drop down list of the US states and I can not figure out how to fix it. Any ideas?
Kindest Regards,
Jeremy
Hello,
It seems as a javascript conflict. I couldn't examine your site because there are no prices for anonoymous ... any way ... please try with the following:
Use firebug to examine your site code and styling .. also for checking js conflicts ...
http://forum.virtuemart.net/index.php?topic=102850.0
Javascript conflicts:
http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries
Last, please ask also the OPC vendor because i am not aware of the specific extension.
Similar:
https://forum.virtuemart.net/index.php?topic=107761.5
http://forum.virtuemart.net/index.php?topic=109097.0
Regards
Well the billing area shows this in firebug.
<div class="formField" id="virtuemart_state_id_input">
<select class="inputbox multiple" id="virtuemart_state_id" onchange="javascript:op_runSS(this);" size="1" name="virtuemart_state_id" aria-invalid="false">
<option value="1">Alabama</option>
<option value="2">Alaska</option>
<option value="3">Arizona</option>
<option value="4">Arkansas</option>
<option value="5">California</option>
<option value="6">Colorado</option>
<option value="7">Connecticut</option>
<option value="8">Delaware</option>
<option value="9">District Of Columbia</option>
<option value="10">Florida</option>
<option value="11">Georgia</option>
<option value="12">Hawaii</option>
<option value="13">Idaho</option>
<option value="14">Illinois</option>
<option value="15">Indiana</option>
<option value="16">Iowa</option>
<option value="17">Kansas</option>
<option value="18">Kentucky</option>
<option value="19">Louisiana</option>
<option value="20">Maine</option>
<option value="21">Maryland</option>
<option value="22">Massachusetts</option>
<option value="23">Michigan</option>
<option value="24">Minnesota</option>
<option value="25">Mississippi</option>
<option value="26">Missouri</option>
<option value="27">Montana</option>
<option value="28">Nebraska</option>
<option value="29">Nevada</option>
<option value="30">New Hampshire</option>
<option value="31">New Jersey</option>
<option value="32">New Mexico</option>
<option value="33">New York</option>
<option value="34">North Carolina</option>
<option value="35">North Dakota</option>
<option value="36">Ohio</option>
<option value="37">Oklahoma</option>
<option value="38">Oregon</option>
<option value="39">Pennsylvania</option>
<option value="40">Rhode Island</option>
<option value="41">South Carolina</option>
<option value="42">South Dakota</option>
<option value="43">Tennessee</option>
<option value="44">Texas</option>
<option value="45">Utah</option>
<option value="46">Vermont</option>
<option value="47">Virginia</option>
<option value="48">Washington</option>
<option value="49">West Virginia</option>
<option value="50">Wisconsin</option>
<option value="51">Wyoming</option>
</select>
</div>
When I go to Firegub to examin it in the "Add/Edit Address" in shipping form this is all I see.
<div class="formField" id="shipto_virtuemart_state_id_input">
<select class="inputbox multiple" id="shipto_virtuemart_state_id" onchange="javascript:op_runSS(this);" size="1" name="shipto_virtuemart_state_id" ="" value="" aria-invalid="false">-- Select --</select>
Does this by any chance sow you anything or give a clue?
Did you check for js conflicts? ...
As i see this is an OPC issue ... onchange="javascript:op_runSS(this)
So please ask the also.
In VM2 I had this problem, the States were not showing in the dropdown, it only had --Select--.
I went to VM>Configuration and clicked the Checkout tab and checked the box for Language Javascript Fix.
Now the states are appearing in the dropdown box in the cart. The first time the Country was selected it didn't work, but after selecting the Country a second time, now the States appear in the dropdown.
Hope this works for you.
MY SOLUTION: I did not have JavaScript conflict that caused my US states not to show, but an SSL conflict.
- If the JS fix above doesn't work try checking your CSS stylesheet for the following URL or similar (http://fonts.googleapis.com/css?family=Open+Sans).
- The site I am developing uses SSL and on the shipping input page the above URL is not secured preventing the states from showing
- Simply add an "s" to the end of the "http" so the new URL is (https://fonts.googleapis.com/css?family=Open+Sans)
Refresh page. PROBLEM SOLVED. US States show in drop down list.
I seem to be having the shipping states not appear either. Firebug doesn't show errors, I don't have a CSS looking to fonts.googleapis issue either. I select country of United States and the States box just doesn't do anything. The "billing" side works fine, states drop down correctly populates if choosing the country manually (not if you set it as default).
Any other recent scenarios to research to get shipping state to populate?
Joomla 3.4.0 VM 3.0.12
so on Bill to you have and on Ship to you don't?
live url?
you should be on J3.4.5
I've upgraded to J3.4.5, no change in State drop down under shipping area. Billing area still works fine.
Live url: https://www.sausagencheese.com
J3.4.5 VM3.0.12 php native 5.4
UDPATE: I activated the Use jQuery chosen for dropdowns in FE under configuration and now I have duplicate country and state boxes both in shipping and billing. While this is a nuisance, it did solve my problem of not being able to choose states in shipping. Now, how do I get rid of one set of drop down boxes?
your using some sort of 3rd party OPCheckout
all your selects are doubled.. the "chosen" ones work
try switching off one or both
Using the Script ajax Countries / Regions
Use jQuery chosen for dropdowns in FE
Quote from: JMB Designs on May 02, 2013, 07:34:56 AM
MY SOLUTION: I did not have JavaScript conflict that caused my US states not to show, but an SSL conflict.
- If the JS fix above doesn't work try checking your CSS stylesheet for the following URL or similar (http://fonts.googleapis.com/css?family=Open+Sans).
- The site I am developing uses SSL and on the shipping input page the above URL is not secured preventing the states from showing
- Simply add an "s" to the end of the "http" so the new URL is (https://fonts.googleapis.com/css?family=Open+Sans)
Refresh page. PROBLEM SOLVED. US States show in drop down list.
hello
im having a problem locating the css file containing the fonts, can u help with the file directory of where i can find it
thank you
Hello all,
I read all that topic and not fixed for the VM3.4.2 under Helix3 template, but I found a solution who works fine:
1. Install JQUERY EASY (last version)
2. Go into VM, CONFIGURATION side menu, click on CONFIGURATION and go to TEMPLATES tab.
3. Scroll down to CSS & Javascripts Styles Activation and UNCHECK the line: Use JQuery for Site scrolling list
SAVE and empty the CACHE and it will work. That's work fine for me, by-the-way.