Jump to content

Store Locator Only Returning 20 Results - SOLVED


dawb

Recommended Posts

Hi,

 

We have noticed that the store location function is only returning a maximum of 20 stores. Is it possible to change this to be unlimited results/all of the stores in that location.

 

Ours should be returning around 90 stores where it only seems to return a maximum of 20 stores no matter the radius that is set. We are using Prestashop 1.4.7.

 

Apreciate any help.

 

Thanks

 

/** SOLVED **/

 

You can stop this from happening by commenting out line 84 in the StoresController.php so that it now looks like

 

ORDER BY distance ASC');

//LIMIT 0,20');

Edited by dawb (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...