Zen Cart Logo
Forums / General Questions / Limiting Search results

Limiting Search results

Locked

Views: 1,016

Results 1 to 8 of 8
This thread is locked. New replies are disabled.
19 Aug 2008, 9:18 PM
#1
mes7000 avatar

mes7000

New Zenner

Join Date:
Aug 2008
Posts:
49
Plugin Contributions:
0

Limiting Search results

I want to limit website search results to 20 per page maximum (with option buttons that allow prospect to continue to next page when more than 20 items are found). Is this something I can do from the Admin section?

20 Aug 2008, 2:58 AM
#2
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Limiting Search results

In your Admin,
Configuration->Maximum Values->Search Results Per Page

Set to whatever you want. If the search result returns more than what you set, there will be a next page arrow and page numbers at the bottom of the search results pages.

20 Aug 2008, 12:55 PM
#3
mes7000 avatar

mes7000

New Zenner

Join Date:
Aug 2008
Posts:
49
Plugin Contributions:
0

Re: Limiting Search results

wtashby:

In your Admin,
Configuration->Maximum Values->Search Results Per Page

Set to whatever you want. If the search result returns more than what you set, there will be a next page arrow and page numbers at the bottom of the search results pages.

I tried this. It does not work on the main site. It only appears to be for search requests within the Admin section. Am I wrong?

20 Aug 2008, 2:45 PM
#4
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Limiting Search results

wtashby:

In your Admin,
Configuration->Maximum Values->Search Results Per Page

Set to whatever you want. If the search result returns more than what you set, there will be a next page arrow and page numbers at the bottom of the search results pages.

This has nothing to do with your Admin settings. It ONLY effects your cart. You won't notice this particular effect in your cart unless you do a search in your cart and it returns a result greater than the amount you entered in Configuration.

20 Aug 2008, 5:04 PM
#5
mes7000 avatar

mes7000

New Zenner

Join Date:
Aug 2008
Posts:
49
Plugin Contributions:
0

Re: Limiting Search results

wtashby:

In your Admin,
Configuration->Maximum Values->Search Results Per Page

Set to whatever you want. If the search result returns more than what you set, there will be a next page arrow and page numbers at the bottom of the search results pages.

wtashby:

This has nothing to do with your Admin settings. It ONLY effects your cart. You won't notice this particular effect in your cart unless you do a search in your cart and it returns a result greater than the amount you entered in Configuration.

I'm really new at this, so please forgive me and my confusion.

I'm talking about when a prospect uses the Search box on my web site. That is what I want to limit to say 20 items per page at a time. I tried what you said. It did not work on main website search box queires. Interstingly, it did work in the Admin section for setting up cross sells. I have 400+ items right now and making the change limited it to displaying 20 items at a time (something I did not want).

Also, you also mention the "cart". When you say "cart", I think shopping cart. Is that what you are referring too?

20 Aug 2008, 6:44 PM
#6
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Limiting Search results

Yes, when I say cart, I am reffering to your Zencart web site which is a type of ecommerce shopping cart and is the part that the customer sees. Some people refer to it as their web site, others refer to it as their cart, some as their front end. I refer to it as the 'cart". The admin of course is what only You see.

The adjustment I told you to make
In your Admin,

Configuration->Maximum Values->Search Results Per Page

is ONLY for your CART, NOT the ADMIN.

However, since that does not seem to be working, try adjusting this to 20:

Configuration->Maximum Values->Products Listing- Number Per Page

I just tried that on my site, and it worked. It also shows up to 20 products in the products listing pages as well, but for me, personally, I can live with that. Try it, and see how that works for you.

20 Aug 2008, 8:02 PM
#7
mes7000 avatar

mes7000

New Zenner

Join Date:
Aug 2008
Posts:
49
Plugin Contributions:
0

Re: Limiting Search results

wtashby:

Yes, when I say cart, I am reffering to your Zencart web site which is a type of ecommerce shopping cart and is the part that the customer sees. Some people refer to it as their web site, others refer to it as their cart, some as their front end. I refer to it as the 'cart". The admin of course is what only You see.

The adjustment I told you to make
In your Admin,

Configuration->Maximum Values->Search Results Per Page

> is ONLY for your CART, NOT the ADMIN.  
> 
> However, since that does not seem to be working, try adjusting this to 20:
> ```
Configuration->Maximum Values->Products Listing- Number Per Page

I just tried that on my site, and it worked. It also shows up to 20 products in the products listing pages as well, but for me, personally, I can live with that. Try it, and see how that works for you.

That's exactly what I was looking for. Thanks!

[Soory, I'm new, so it will take me a bit to get used to the terminology.]

20 Aug 2008, 8:40 PM
#8
wtashby avatar

wtashby

Totally Zenned

Join Date:
Feb 2006
Posts:
594
Plugin Contributions:
0

Re: Limiting Search results

Glad I could help.:D