Top

Change the Search Radius

To change the search radius, follow these steps:

  1. From "Shopify Admin", select Apps.

    select apps

  2. Select Store Locator.

    select store locator

  3. Select Settings.

    select settings

  4. Select Display Settings.

    select display settings

  5. Copy and paste this code in the "Page Footer HTML" field: 

    Note: Adjust the script as needed. This code will add a drop-down that displays distances of 1, 2, 5, 10, 25 miles and an option for no limit. The 1 mile option displays by default.

    <script>
    $(".search_within_distance select")[0].length=0;
    $(".search_within_distance select").html('<option value="1" selected="selected">1 Mile</option><option value="2">2 Miles</option><option value="5">5 Miles</option><option value="10" >10 Miles</option><option value="25">25 Miles</option><option value="9999">No Limit</option>');
    </script>

    paste this code in the Page Footer HTML

  6. Select Save.

    Select Save

That's it!

Have more questions? Submit a request