Jump to content

Display different number of Search results


Recommended Posts

Hi all, I have this small problem which I hope someone might be able to help with.

 

I'm currently helping to set up a shop and when you use the shop's search function, it only displays 8 products per page: Example

 

I would like it to display 10 products per page instead. The current pagination setting is set to 8 products per page because of the category pages: Example

 

How can I force the search results to show 10 products per page instead of 8 without affecting the category pages? I've tried to include an override in FrontController.php (under pagination) but I can't seem to get it to determine if the current page is the Search Results page.

 

Note: I did manage to do an override for a 'Brands' page, but only because I could pass an ID check to determine if the category was based on 'Brands': Example

 

Any help would be appreciated, thanks!

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...