I have an existing Wordpress multivendor ecommerce site. I want to add a search bar to search vendors.
The flow would be -
Users enters his address in search bar. Suggestions populate based on google API
User selects an address and hits enter.
Search results shown contains only those vendors which lie in x mile radius of the address entered.
The flow is similar to UberEats/ Grubhub search.
To try it go to
[login to view URL]
Start typing "Hollywood". See the results populate in suggestion bar and select the address "Hollywood, Los Angeles, CA"
The results show on next page are within x mile radius of the searched address.