VirtueMart Forum

VirtueMart 2 + 3 + 4 => Administration & Configuration => Topic started by: gruntfiles on September 19, 2012, 04:48:56 AM

Title: State/Province/Region not working
Post by: gruntfiles on September 19, 2012, 04:48:56 AM
We have some problems when completing address information in the cart, if you select Australia as the country, under the field - State/Province/Region, no list appears and you are unable to fill in any details.  Even when you save the information, and come back, you still are unable to fill in this information.  I dont know if this happens with other countries, but it is a problem for Australia.

As this is compulsory field when you go to save the address information, it comes up with Error - State/Province/Region - please select an item from the list.  But you are unable to fill in any details.

Hoping you can help.
Title: Re: State/Province/Region not working
Post by: jjk on September 19, 2012, 07:15:45 AM
Which versions of Joomla and Virtuemart are you using?
Title: Re: State/Province/Region not working
Post by: gruntfiles on September 19, 2012, 22:50:01 PM
Sorry, I thought I had added that info in.

Joomla 2.5.6 and Virtuemart 2 and K2mart v2.01.  We were using the latest version of everything, but I have just noticed there is an update for virtuemart.
Title: Re: State/Province/Region not working
Post by: bytelord on September 19, 2012, 23:06:01 PM
Hello,

What is your exactly vm version?? Version 2.0.??  VM2.0 is an old one.
Title: Re: State/Province/Region not working
Post by: gruntfiles on September 20, 2012, 17:21:18 PM
I cant find anywhere on the site what version of Virtuemart we have.  Where it normally says the version, it now shows that an update is available. 

But what I do know is that Virtuemart was only installed on the site a four months ago.

However, just to be sure, we have updated to the latest version, 2.0.8e

Unfortunately, the problem still exists.  Hoping you can help.
Title: Re: State/Province/Region not working
Post by: bytelord on September 20, 2012, 18:50:35 PM
Hello,

latest version is 2.0.10. On your issue i believe that there is somewhere javascript conflict because state selection uses ajax. Could you provide a site url to check it.

Thanks.
Title: Re: State/Province/Region not working
Post by: gruntfiles on September 21, 2012, 03:40:45 AM
Many thanks, will PM you access details.  (Yes, we have just updated to 2.0.10 -previous version was 2.0.8e, sorry for my confusion)
Title: Re: State/Province/Region not working
Post by: bytelord on September 21, 2012, 08:22:03 AM
Hello,

Didn't access on the backend, just frontend. You have a component that call com_community that haves a js file called script-1.2.js and conflict with virtuemart javascript.
Also you load jquerry twice and also a lot of other scripts. You can temporary disable com_community and give a try if is working...

the file located inside com_community/assets/script-1.2.js

Regards



[attachment cleanup by admin]
Title: Re: State/Province/Region not working
Post by: bytelord on September 21, 2012, 08:35:18 AM
forgot to mention that com_community conflicts also with k2 ... so is a com_community issue that is not using non conflict techincs, btw you could not load com_community js on other pages that you nod needed.



[attachment cleanup by admin]