Change the Search Results Limit

Mapply not only allows you to customize the look and feel of your store locations, but also the way your customers interact with the map.

Here, you can limit the number of search results your customers see when looking for locations near them.

 Caution

At this time, Mapply is unavailable for new installations. If you are currently using Mapply, you will be able to continue using the app as your account will now be grandfathered.

 


 

Changing the Search Results Limit

  1. Visit the Mapply Account Page. Log in if necessary.

    log in

  2. Select Display Settings.

    select display settings

  3. Copy and paste this code into the Page Footer HTML section of the Display Settings:

    Note: This code offers dropdown distances of 5 results and 10 results as options. 5 results is the default.

    <script>
    document.addEventListener("DOMContentLoaded", function() {
    document.querySelectorAll(".search_limit select")[0].length=0;
    document.querySelectorAll(".search_limit select")[0].innerHTML = '<option value="5" selected="selected">5</option><option value="10" selected="selected">10</option>';
    });
    </script>

    copy and paste this code

  4. Select Save.
Was this article helpful?
0 out of 0 found this helpful