Title: Default location
Last modified: June 7, 2021

---

# Default location

 *  Resolved [davidhaviland](https://wordpress.org/support/users/davidhaviland/)
 * (@davidhaviland)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/)
 * Hi,
 * My website is [http://www.themysterybookclub.co.uk](http://www.themysterybookclub.co.uk)
 * All our customers are in the UK, but a recent update seems to have changed the
   payment default settings, so all orders are automatically set up to request the
   customer’s address in the US format, with a US flag. Obviously, this is a big
   problem.
 * How can I amend Woocommerce so that every payment option, and stage of checkout,
   defaults automatically to the UK format?
 * Many thanks,
    David
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdefault-location-4%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/#post-14527875)
 * Hi [@davidhaviland](https://wordpress.org/support/users/davidhaviland/),
 * On my test site with the latest WooCommerce version, when I set the default selling
   country to UK (via sell to specific countries at WooCommerce → General), I get
   the expected UK fields during checkout. Thus, it could be that some custom code
   or another tool is causing the issue on your site.
 * I would suggest that you start with a conflict test as explained here: [https://docs.woocommerce.com/document/how-to-test-for-conflicts/](https://docs.woocommerce.com/document/how-to-test-for-conflicts/)
 * * You will want to comment out or disable custom code during the test.
 * Let us know how it goes.
    Thanks.
 *  Thread Starter [davidhaviland](https://wordpress.org/support/users/davidhaviland/)
 * (@davidhaviland)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/#post-14528265)
 * Hi Abwaita,
 * Thanks for this, but I don’t think the issue is at checkout. There are now links
   to go straight to payment on the product page, and when you click on the ‘Debit/
   Credit Card’ button, that’s when it defaults to a US address format.
 * Best,
    David
 *  Plugin Support [Dani F. a11n](https://wordpress.org/support/users/danielinhou/)
 * (@danielinhou)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/#post-14529529)
 * Hi there [@davidhaviland](https://wordpress.org/support/users/davidhaviland/)
   👋🏽
 * If I am getting this right you are referring to the PayPal buttons added by a
   PayPal extension to your product pages. If those buttons are coming from the 
   PayPal Express Checkout extension you could use the snippet of code below to 
   set the locale to UK:
 *     ```
       add_filter( 'woocommerce_paypal_express_checkout_sdk_script_args', function( $settings ) {
       	$settings['locale'] = 'en_GB';
       	return $settings;
       } );
       ```
   
 * As note in our [Customizing WooCommerce best practices article](https://docs.woocommerce.com/document/customizing-woocommerce-best-practices/)
   you could add that snippet of code to your site using the free [Code Snippets plugin](https://wordpress.org/plugins/code-snippets/)
 * Please give it try and let us know if that worked for you.
 * Cheers!
 *  Thread Starter [davidhaviland](https://wordpress.org/support/users/davidhaviland/)
 * (@davidhaviland)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/#post-14531961)
 * Hi Dani,
 * Many thanks for this. It looks like it did the trick. Much appreciated.
 * Best,
    David
 *  Plugin Support [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * (@abwaita)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/#post-14532290)
 * Glad to hear it – thanks for letting us know!
 * I’ll mark this thread as resolved now. If you have any further questions, I recommend
   creating a new thread.
 * Cheers!

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Default location’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 5 replies
 * 3 participants
 * Last reply from: [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/default-location-4/#post-14532290)
 * Status: resolved