Change the Search Results Limit

Follow

To change the search results limit, please follow these steps:

  1. From Shopify's 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 have the drop-down display options of 5 and 10 results.The 5 results option displays by default.

    <script>
    jQuery(".search_limit select")[0].length=0;
    jQuery(".search_limit  select").html('<option value="5" selected="selected">5</option><option value="10">10</option>');
    </script>

    paste this code in the Page Footer HTML

  6. Select Save.

    Save

That's it! 

Next Steps:

Blog Posts:

0 out of 0 found this helpful

Comments

0 comments

Please sign in to leave a comment.