Forum

Thread tagged as: Shop

How to change default country in billing and shipping country selected dropdowns...

Probably a stupid question, but how would I change the default selected country in the select inputs on the shipping and customer registration forms? Eg:

<perch:if exists="country_name"><perch:shop id="country_name" /></perch:if>

Mine is defaulting to United Kingdom, and need it to default to Australia.

Winston Grace

Winston Grace 0 points

  • 3 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

In your template you'll have something like:

<perch:input type="select" options="<perch:shop id="country_list" />" value="236" id="shipping_country" label="Country" />

Change the value to match the country ID you want. Australia is 13 I think.

Brilliant!