News:

Looking for documentation? Take a look on our wiki

Main Menu

Problem with Country and States

Started by fvanlaerhoven, December 05, 2012, 15:29:44 PM

Previous topic - Next topic

fvanlaerhoven

hi virtuemart fellows,

with virtuemart --> configuration i have add country "Netherlands ( Netherlands ) [States ]" , twelve states.
so far so good.

at the virtuemart --> Shop --> Additional Information --> i choose Country*  Netherlands ( drop down box ) and State 'one of the twelve' (  drop down box) , still no problem.

But after people have fill there cart and want to change their ship to address or invoice adress it is not possible to select the state, drop down box is not filled, any idea ?
and the state-field is mandatory :-(

One extra thing: I use virtuemart --> Shop --> Multilingual shop : English AND Dutch.
the virtuemart_country_id for the 'Netherlands' is 150 in the Country table and in the State table.

Best regards Frank

Joomla 2.5.8  & VM 2.0.14 & PHP 5.3.3.

rand486

I had this problem, and posted about it as well.  I never got a solution, but I did determine my problem was because of SEF urls.

I ended up disabling SEF urls, which was REALLY annoying - Google had already crawled the site, and our products were appearing quite high on their results.

The other option would be to unpublish the "State" field, and use their postal code to figure out where to ship it.  However, Virtuemart will not calculate taxes by state properly anymore.

Sorry it's not a great answer.  That's as far as I got, and no one answered my forum post.

fvanlaerhoven

Quote from: rand486 on December 05, 2012, 16:56:10 PM
I had this problem, and posted about it as well.  I never got a solution, but I did determine my problem was because of SEF urls.

I ended up disabling SEF urls, which was REALLY annoying - Google had already crawled the site, and our products were appearing quite high on their results.

The other option would be to unpublish the "State" field, and use their postal code to figure out where to ship it.  However, Virtuemart will not calculate taxes by state properly anymore.

Sorry it's not a great answer.  That's as far as I got, and no one answered my forum post.

Thnx Rand486 , I'm going to experiment with unpublish and SEF , I'll will publish the outcome Regards, Frank

fvanlaerhoven

Just tested;

SEF urls had no influence.

Disable the virtuemart_state_id in the menu Configuration --> Shopper Fields , disable all 5, works

So this is a workaround !!

But for people that want to use State field it's still an issue.

Best regards,  Frank

rand486

My issue was SEF related, but glad to hear you resolved it.  On further thought, this may be a jQuery conflict for you.

To resolve this, try:

Configuration->Configuration->Activate Css Styles & Javascripts->Using the VirtueMart jQuery

(In fact, that whole box may help you - play with those checkboxes, and see what happens)

fvanlaerhoven

Hi Rand468,

I didn't play with these settings, i will give it a try.

Thnx again for your info,

Best regards, Frank