In this article, we will learn about how location search works in foodbakery theme.There are two types of searches in foodbakery theme.
Autocomplete Search – Google:
It matches the latitude and longitude of selected location and show restaurant results on the basis of radius. To make the autocomplete search work, google map API key should be added on your site. You can turn on autocomplete search under Dashboard \ Foodbakery Settings \ Location settings \ Turn ON Autocomplete
Custom search when you write the location, It matches the results and searches for the Like (same) strings added in any Country, State, city,town and complete address and display the result where it found exactly the same.