I have US and Singapore set up as markets/locations, but I want to ensure that people from anywhere else other than the US or Singapore are unable to order our products (as we only ship to US and Singapore at the moment). However, when I try testing my website with a VPN set to other locations or when I am in another country, I am still able to check out and order (e.g. I’m in Indonesia right now, and it shows our US products on the website available for purchase).
Is there a way to only accept orders from within US and Singapore, and bar orders from any other countries from being able to go through?
It sounds like you need to modify your shipping rules so that only customers from the US and Singapore are about to checkout. If you remove all other countries from your shipping rates, anyone with an address outside those two countries would be unable to check out, here’s a Shopify help document on modifying shipping rates: https://help.shopify.com/en/manual/fulfillment/setup/shipping-rates/shipping-zones
You can also take it a step further, if you would like, by adding a geoblocking app to your store which will not allow anyone outside of countries you whitelist to view your store, here’s an example of an app you could use that I am in no way affiliated with: https://apps.shopify.com/blocky-simple-country-blocker?