By Alexandre Cayer on Tuesday, 10 June 2014
Replies 3
Likes 0
Views 1.3K
Votes 0
Hi,

I would need to change default country to a select range (ex: Canada and USA) and have State/Province to a dropdown list with according to the proper value.

3 sol:
a) add default value manuallt
b) table based on virtue mart:
it has a countries table and all the related states all set up for you included in the installation SQL. They're called jos_virtuemart_countries and jos_virtuemart_states. It also includes the 2 and 3 character country codes. c) geonames :
https://github.com/yosoyadri/GeoNames-XML-Builder/blob/master/continents-countries-statesprovinces.xml

there's also the excellent pycountry module:

http://pypi.python.org/pypi/pycountry
Hi,

This is scheduled for the upcoming 1.3.
·
Tuesday, 10 June 2014 11:31
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Jason,

Can you please confirm if its is in 1.3? as i could not find a way to assign default country. Or alternatively how can i change order of the country, which will enable to to show the drop down by my own order.

regards
·
Wednesday, 22 October 2014 15:47
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi,

To assign default country, this is currently not possible.

To change order of country, go to backend -> EasySocial -> Regions.
·
Thursday, 23 October 2014 10:28
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post