Limiting Shipment Destinations Ecommerce

Hi!

I run a small ecommerce store that caters to one specific country only. As my courier only caters to a subset of all cities in said country, I was looking into the feasibility of allowing customers to only select from the cities that I ship to (and possibly omit the option of choosing a country altogether).

I understand that the checkout page itself cannot be edited. What other alternatives can I pursue? I understand roughly how to create the selection dropbox itself in Wix Code and populate it using my courier’s API, however, how can this selection drop box be integrated into an existing site based off of a Wix ecommerce template?

#ecommerce #checkout api #custom

You can call a third party api by use of Wix Fetch or by using your own site through HTTP functions.
https://support.wix.com/en/article/corvid-accessing-third-party-services-with-the-fetch-api
https://support.wix.com/en/article/corvid-calling-server-side-code-from-the-front-end-with-web-modules
https://support.wix.com/en/article/corvid-exposing-a-site-api-with-http-functions

Wix api references for both of above.
https://www.wix.com/corvid/reference/wix-fetch.html
https://www.wix.com/corvid/reference/wix-http-functions.html

Plus have a look at the Wix Stores with Corvid section for all collection info and a bit more.
https://support.wix.com/en/corvid-by-wix/wix-stores-with-corvid

However, have a look at this Wix Stores support page as it mentions about setting shipping etc through this tutorial already for different regions around the world.
https://support.wix.com/en/article/setting-up-shipping-rules-for-specific-regions-or-states