Move a country to the top of WooCommerce checkout shipping list

If you’re using WooCommerce and selling primarily to a single country, it’s nice to set a default country on the checkout page shipping drop-down. We recently had a customer ask how to move the United States to the top of the dropdown list. Here’s how you do that.

In either functions.php, or a functionality plugin, add this code:

Which country?

Which country?

In this case, USA!

This country!

What about a default state?

We’ve got you covered there too:

Leave a Reply

Your email address will not be published. Required fields are marked *

See if Cinch is right for you.

Ask us anything. Seriously. Like, what is the air speed velocity of an unladen swallow?

Start a chat right now

Or go ahead and Sign up now