VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: modernmagic on November 19, 2021, 02:38:08 AM

Title: Only ships to USA SOLVED
Post by: modernmagic on November 19, 2021, 02:38:08 AM
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.
Title: Re: Only ships to USA
Post by: jenkinhill on November 19, 2021, 10:57:07 AM
Under Configuration/Countries unpublish all countries except USA.  Note: do not delete the countries as they may reappear on the next VM upgrade.
Title: Re: Only ships to USA
Post by: Studio 42 on November 19, 2021, 11:43:42 AM
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
Title: Re: Only ships to USA
Post by: modernmagic on November 19, 2021, 23:52:14 PM
Perfect, putting 223 in the Default field of virtuemart_country_id worked.