News:

Support the VirtueMart project and become a member

Main Menu

Only ships to USA SOLVED

Started by modernmagic, November 19, 2021, 02:38:08 AM

Previous topic - Next topic

modernmagic

Is oh way to have the country default to United States? This website only ships products do the United States so there's no reason to make the customer select from a list of just one country.

jenkinhill

Under Configuration/Countries unpublish all countries except USA.  Note: do not delete the countries as they may reappear on the next VM upgrade.
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

Studio 42

You can preset the country value in the country field, it's the country ID
You can find the ID in the virtuemart country list

modernmagic

Perfect, putting 223 in the Default field of virtuemart_country_id worked.