Accepting credit cards, warehouses, and shipping and fulfilling orders
Hi,
So my Shopify app (argo.qa) asks the user for a delivery location (within my country) on checkout. In the backend the pinned location's coordinates are saved in the order's notes attributes. I currently only offer one standard delivery rate, but I'd like to offer more rates depending on how far away from the city you are. So would it be possible to make a Shipping rate app that can read the pinned delivery location from the checkout (now in my order notes attributes), and generate a shipping price based on that? If so, could anyone point me in the right direction of how I might go about doing it?
Thanks
I have a similar issue. The custom carrier service receives origin and destination without coordinates and I need coordinates to calculate distance.
Is there any way to get coordinates within the locations?
Payload example:
"rate": {
"origin": {
"country": "GB",
"postal_code": "SE22 8DL",
"province": "ENG",
"city": "london",
"name": null,
"address1": "london",
"address2": "",
"address3": null,
"phone": "12345678",
"fax": null,
"email": null,
"address_type": null,
"company_name": "brisqqstore"
},
"destination": {
"country": "GB",
"postal_code": "SW10 9TN",
"province": "ENG",
"city": "London",
"name": "testing",
"address1": "363 Fulham Road",
"address2": "",
"address3": null,
"phone": null,
"fax": null,
"email": null,
"address_type": null,
"company_name": null
},
User | RANK |
---|---|
6 | |
4 | |
4 | |
4 | |
4 |
Explore the 30-30-30 rule, a dynamic social media strategy for new businesses. Learn how t...
By Trevor Sep 20, 2023Discover how to leverage the often overlooked footer of your ecommerce site to gain custom...
By Skye Sep 15, 2023In this blog, we’ll be shining a light on Shopify Partners, Experts, and Affiliates. Who a...
By Imogen Sep 13, 2023