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

Kip Lawrence kip at jkcrafts.com
Tue Aug 3 13:23:00 EDT 2004

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?

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,
> -Patrick
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users

More information about the interchange-users mailing list