1

I'm using magento 2.0.7 and I'm trying to change the default Country on the checkout page, from United States to United Kingdom. I have already set from STORES > CONFIGURATION > SALES > SHIPPING METHODS, the method option to specific country, and only selected UK, but it still doesn't work, probably because I have to edit any file.

2 Answers 2

7

Change Sales/Tax/Default Tax Destination Calculation

for more information on how this logic works:

vars config:

  • defaultCountryId
  • defaultRegionId
  • defaultPostcode
vendor/magento/module-tax/Model/TaxConfigProvider.php
vendor/magento/module-checkout/view/frontend/web/js/model/new-customer-address.js
4
  • This is not the right answer.
    – WaPoNe
    Apr 5, 2017 at 9:36
  • When one country select default as Sales/Tax/Default Tax Destination Calculation its work for me. Thanks Dec 29, 2018 at 16:52
  • Work perfect :)
    – jruzafa
    Oct 25, 2019 at 9:46
  • not works, change but no success Sep 29, 2020 at 11:01
3

In the Admin area, Stores > Settings > Configuration > General > General > Country Options > Default Country, select desired country from the list.

Then clean 'Configuration' and 'Page Cache' caches (System > Tools > Cache Management).

And finally you have to clear cookies from the browser.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.