[SOLVED][Drupal Google Store Locator] Increase the number of stores listed in the side menu

| | 1 min read

Some Drupal users have reported that the Drupal Google Store Locator module they have been using has been displaying only 10 store locations on the sidebar even though there are 15 store locations appearing on the map. If you are facing the same issue with the Google Store Locator module in your Drupal website and are looking for way to increase the number of stores listed in the side menu then read on for the solution.

Here is the solution to the problem.

  • Go to libraries/storelocator/js
  • Open the store-locator.compiled.js file
  • Search for "10"
  • You will get something like k=h.min(10,c[B])
  • Replace the 10 with 15 and you will have all the stores in the list.

Hope that helps.

The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.