Forum

Thread tagged as: Question, Shop

Shop: Change the default country in the country list?

When Perch Shop customers are entering their addresses (customer_create.html template), I’d like for United States to be the default country instead of United Kingdom. How do I do that?

Abby Larsen

Abby Larsen 0 points

  • 4 years ago
Abby Larsen

Abby Larsen 0 points
Registered Developer

I got an answer in the Slack chat! I looked up the id for the USA in the perch2_shop_countries table in the database, and changed the country_list value="236" to value="237" in customer_create.html.

<perch:input type="select" options="<perch:shop id="country_list" />" value="237" id="country" label="Country" />
Drew McLellan

Drew McLellan 2638 points
Perch Support

Perfect.