Lock Search Distance to Unlimited

To lock the search distance to unlimited, 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 Header HTML" field: 
    jQuery(function($) {
    $(".search_within_distance select")[0].length=0;
    $(".search_within_distance select").html('<option value="9999" selected="selected">No Limit</option>');

    paste the code

  6. Select Save.


That's it!

Next Steps:

Blog Posts: