You probably want to ship products only to specific locations. By default, the BigCommerce templates allow you to create shipping zones but, I think is odd that the rest of the countries still appear in the list when a customer chooses the shipping address.
That's why I am posting this script: to help you to remove the 'unwanted' countries from the list.
Paste the code below into the footer.html template file. The affected pages will be the checkout page and the account creation page.
- you can populate the countries array with the countries to remove
- make sure to go to Settings -> Checkout Settings and select "Multiple Page Checkout"
If you change the template you need to create a backup of this code in order to put it back after the new template have been applied.