zwacklmann Posted January 9, 2011 Share Posted January 9, 2011 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 More sharing options...
zwacklmann Posted January 9, 2011 Author Share Posted January 9, 2011 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now