Related ads based on ads' location
I would like to ask whether there is a possibility to show in the related ads section, only the closest ads to a particular ad that a visitor is viewing.
If so, how may I change the code so that related ads section would show related ads based on ads' location? This feature should be based on the latitude and longtitude of ads or a zip/postal code (cp_zip custom field).
If there is not such option, related ads may be based on cp_street custom field or also on cp_city custom field.
Any hint or help will be greately appreciated. I will send a bitcoin tip to a person who will help me solve this task.