boyjarv Posted April 26, 2012 Share Posted April 26, 2012 hi, I have set my shop to display 12 products per page but my show drop down says 10 : 12 : 20 why? Shouldn't it say: 12 : 24 : 32 and go up in increments of 12? http://harveys.blueplanetdns.com/harveys-shop/category.php?id_category=2 Link to comment Share on other sites More sharing options...
doubleD Posted April 26, 2012 Share Posted April 26, 2012 hi, I have set my shop to display 12 products per page but my show drop down says 10 : 12 : 20 why? Shouldn't it say: 12 : 24 : 32 and go up in increments of 12? Hi, That would be logical go to /classes/FrontController.php Find public function pagination($nbProducts = 10) { if (!self::$initialized) $this->init(); $nArray = (int)(Configuration::get('PS_PRODUCTS_PER_PAGE')) != 10 ? array((int)(Configuration::get('PS_PRODUCTS_PER_PAGE')), 10, 20, 50) : array(10, 20, 50); // Clean duplicate values And change the values, all "10" to "12", all 20 to 24 and so on ... 1 Link to comment Share on other sites More sharing options...
boyjarv Posted April 27, 2012 Author Share Posted April 27, 2012 Thanks! 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