News:

Support the VirtueMart project and become a member

Main Menu

State not displaying on dropdown selection

Started by jbenes, June 21, 2012, 07:35:27 AM

Previous topic - Next topic

jbenes

Ok. I have looked at every thread relating to this issue and followed the steps, but I have not been able to solve my problem.

My site, www.jberryskincare.com, has Virtuemart. When viewing the shopping cart, and editing the user info to input an address, the state dropdown does not work. What is causing this? If you need administrative access, I would be happy to give it to you.

Thanks.

jjk

Your link doesn't work. Do you have the 'Country' user field published? The 'State' list is only populated when you select a country before selecting a state. Otherwise VM2 doesn't know if the user wants to select i.e. a U.S. state or a one from Canada or Russia...
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jbenes

Sorry about the link. It is available at www.jberryskincare.com/index.php.

I have published the country field.

jjk

#3
There is a javascript error in your cart view saying:
Error: $("select.virtuemart_country_id").vm2front is not a function
Source File: http://www.jberryskincare.com/index.php/products/cart
Line: 72


Which versions of Joomla/VM2 are you using? Probably it's an old bug that has been fixed some time ago. In my developer version from SVN the dropdown is working. Perhaps you can install a copy of your website locally and test a 2.0.7g version.

Also you can check if it makes a difference if you disable "Using the Virtuemart jQuery" in VM2 configuration.
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jbenes

I've played with the Use Virtuemart jQuery option. I am using Virtuemart 2.0.6 which I downloaded just a few days ago.

Do you know what file I could update to try and fix this issue? I don't want to have to completely reinstall the SVN version over the live version because I've made several customizations.

jjk

Not 100% shure, but you might try the file .../components/com_virtuemart/assets/js/vmsite.js from the latest test version or SVN
Non-English Shops: Are your language files up to date?
http://virtuemart.net/community/translations

jbenes

Thanks. I tried that, but it didn't work.

jbenes

Ok. I have upgraded to Virtuemart version h and this did not fix the problem. I am tired of this issue, so I am willing to pay $30 to anyone that can fix it.

dontflinch

#8
for me it was a jquery / css thing and as i recall i gave those none onfields their own ids and had to display: visible one or both

i suggest using firebug or chrome inspector and look for display: none; in css