Zapiet - Rates by Distance calculates distance with the help of a route and address provider, also known as a geo provider.
Requirements
The Carrier Service API is required when using Zapiet - Rates by Distance, in order to show the rates in the checkout. You can learn more in our Shopify Carrier API guide.
All non-digital products need to be marked as a physical product in Shopify.
Make sure you have created a delivery location and created rates in Zapiet - Rates by Distance.
Select your route and address provider
In Zapiet - Rates by Distance, click Settings.
Select your route and address provider in the Route and address provider section.
Click Save.
You can select one of the 3 options:
OpenCage (default)
OpenCage is our go-to routing and address provider because it’s easy to use and free of charge. You can use it to calculate distance without any extra setup.
If your locations are not being found, are inaccurate or you require more accurate mapping results, we recommend switching to Google Maps or HERE for more precise results. Both services require separate API keys.
Google Maps (recommended)
Google offers you up to $200 USD of free credit per month, which allows you to make up to 28,500 map loads. This should be sufficient for most merchants. If you happen to surpass the free limit, you will be charged for your usage. You can find their most recent pricing plans by visiting their website https://cloud.google.com/maps-platform/pricing
Follow our guide to use Google Maps API in Zapiet - Rates by Distance.
HERE offers detailed information on roads, different points of interest, public transportation stops. You can make up to 250 requests in a day without the need of any credit card or contract with their free starter plan.