News:

Looking for documentation? Take a look on our wiki

Main Menu

Where to get list of countries / states to import to VM

Started by websmith, March 10, 2017, 03:41:13 AM

Previous topic - Next topic

websmith

Joomla 3.6.5
VM 3.0.18.5

We currently only have US as option for ordering and shipping to, and would like to ship to other countries. Where can I get a list of countries, states and codes to import or add? and what file would I need to edit for this?

I know this can be done manually in admin but that could take a very long time to imput. Im hoping there is a list that can be imported somehow. Thanks for any help or advise.

Studio 42

The list exist, ad or remove your accepted country or enable it in Virtuemart(if you select nothing then it's same as selecting all).
Another solution if you have removed it, is to get the query from
YOURSITE\administrator\components\com_virtuemart\install\install_required_data.sql
after Dumping data for table `#__virtuemart_countries`
And run is directly in phpmyadmin You need to change the prefix of course to your Joomla prefix

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum