When an address is searched within Store Locator, a list will appear with all the store locations within the radius to the searched address.
You can limit the number of stores that appear with each search. For example, you can show only the closest 5 stores whenever an address is searched.
To change the search results limit, please follow these steps:
- From Shopify's admin, select Apps.
- Select Store Locator.
- Select Settings.
- Select Display Settings.
- Copy and paste this code in the "Page Footer HTML" field:
Note: Adjust the script as needed. This code will have the drop-down display options of 5 and 10 results.The 5 results option displays by default.
<script> jQuery(".search_limit select").length=0; jQuery(".search_limit select").html('<option value="5" selected="selected">5</option><option value="10">10</option>'); </script>
- Select Save.