Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

How do I limit the number of products for one page?


KASR

Recommended Posts

Aaron,

 

Check in the admin again......Configuration>Maximum Values.....I think the number of Search Results per Page will do it.

Link to comment
Share on other sites

Hi Kim,

 

Thanks for all your responses thus far! You're a gem!

 

Changing the Search Results from 20 to 10 didn't have any effect. The page listed above isn't a search result, it's an actual manufacturer category. Any ideas?

 

KASR

Link to comment
Share on other sites

Since that setting doesn't affect it you may have to do some code hacking and add a LIMIT X# to the query that generates the results. You'll probably have to add the split page results to it too.

Link to comment
Share on other sites

Take a look at the code for the other pages that generate a similar list and use the code as an example to modify the MYSQL query.

 

I would probably look at includes/modules/product_listing.php and see how the number of products is limited on it and apply that to the section of default.php that generates the manufacturers list.

 

I haven't actually done this since I don't use the manufacturers at all.....

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...