Changing number of products in search results

sharky_ward
New Member
1 0 0

Hi,

 

Is there anyway for me to change the number of products that are shown in a search? At the moment it is displaying a maximum of 3 and then at the top there is a link to show all.

 

Thanks

0 Likes
txshellie
Excursionist
19 0 3

I would also like to see an answer to this question. 

I'd like to increase results from 12 to 24. 

0 Likes
Ireoluwa
Excursionist
103 4 8

Hello, This has to do with the liquid coding of the store

Click to Message me to get it done for you

0 Likes
txshellie
Excursionist
19 0 3

Hello Sharky, 

If you did not figure out how to do this, I poked around and figured it out. There is a page of liquid coding that pops up when you edit your theme then search all of the liquid files using the term "search". 

Online Store -> Themes --> Action --> Edit code ---> then search using the word "search"

At almost the top of the page there is a line of code that determines the number of products shown for search results. After copying and backing up the page, change the number and save the file. 

This fixed the issue for me. 

I am just a user, not a programmer so hopefully, I've explained this well enough. If it isn't easy and pretty close to what I've described for your theme, I'd close the window and back away slowly. 

Good luck to you. 

0 Likes