[ic] Changing the number of products listed per page?

Ed LaFrance (New Media E.M.S.) ic_users at newmediaems.com
Tue Aug 3 14:03:53 EDT 2004

At 10:23 AM 8/3/2004, you wrote:

>Thank you Patrick! This was exactly what I needed!
>As a test I did exactly what you said and set it to ten products per page. 
>Now when I set it to 24 products per page it is still showing ten!? Is 
>there some caching going on somewhere. Any ideas on this one?

You must restart interchange after editing this file, to activate your changes.

- Ed

>Also, do you know how to set the products per page on category pages? I 
>mean if I click on a category 50 products per page are coming up. Have you 
>figured out how to change that also?
>Thanks so much!
>Patrick Donker wrote:
>>Kip Lawrence wrote:
>>>Hi Everyone,
>>>I have a working 5.2 interchanged store based off of the foundation 
>>>demo. Would anyone be able to tell me how to change the number of 
>>>products listed per search page? It currently is listing 50 products per page.
>>Hi Kip,
>>I just figured this out myself and I'm happy to share this with you :)
>>Open /usr/local/interchange/catalog_before.cfg (asuming you installed 
>>from src).
>>Look for 'sub bar_link' and scroll further down until you find a line 
>>starting with push @out.
>>In that section make a new line 'push @out, "ml=10";' (without the 
>>quotes, and assuming you want 10 articles). So, depending on where you 
>>want to insert your entry, it could look like this:
>>             for(@items) {
>>                 my ($col, $string) = split /\s*=\s*/;
>>                 push @out, "sf=$col";
>>                 push @out, "se=$string";
>>                 push @out, "op=eq";
>>                 push @out, "tf=description";
>>                 push @out, "ml=10";
>>             }
>>             push @out, $record->{search}
>>                 if $record->{search} =~ /^\s*\w\w=/;
>>Good luck,
>>interchange-users mailing list
>>interchange-users at icdevgroup.org
>interchange-users mailing list
>interchange-users at icdevgroup.org

New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          Ed.LaFrance at newmediaems.com
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax

More information about the interchange-users mailing list