Answer the question
In order to leave comments, you need to log in
How to make the function of determining the cost of delivery to an address (within the city)?
Good afternoon, we have a pizzeria with a delivery service. We need that when ordering on the site (made on wordpress), the client enters his address and receives the amount for delivery, which is generated depending on the distance from the location of the pizzeria. Are there options for how this can be done?
Thank you for your help!
Answer the question
In order to leave comments, you need to log in
Yes, take API maps, such as Yandex, mark up delivery zones. Then you get the coordinates of the entered address, better through the address service, Yandex may not find much correctly. You receive the coordinates of the address, check the entry into the delivery zone.
example monolitersurs.ru/#content
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question