Jump to content

[SOLVED] pagination adjustment on manufacturer.tpl only


zwacklmann

Recommended Posts

Hi everyone,

by default the manufacturer-list.tpl ist paginated and uses the general "Products per page" settings I've set in BO>Preferences>Products.

However, I would like to display twice as many manufacturer logos on manufacturer-list.tpl than I want to display products on product-list.tpl. So how do I set the number of items per page to a specific value for manufacturer-list.tpl?

Link to comment
Share on other sites

Problem solved. Solution posted in another thread.

The clue is to set the $n variable in Presta's core supplier.php to a specific value.
You could go ahead "find and replace" "$n" with eg "'1000'". But bare in mind that supplier.php is generating the output for supplier.tpl and supplier-list.tpl as well as manufacturer.tpl and manufacturer-list.tpl. So unless you want to change the pagination interval for all of those, "find and replace" is not the way to go.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...