mylesk42 Posted November 21, 2013 Share Posted November 21, 2013 Hi, . In the back-end, I change the 10 per default show product per page from 10 to 12. 12 is now showing in the dropdown menu with 10, 20 and 50. Now I'd like to know where I can change these number of products 10, 20 and 50. I think it's in the core but where ? Thanks Link to comment Share on other sites More sharing options...
vekia Posted November 21, 2013 Share Posted November 21, 2013 check file: classes/controllers/FrontController.php there is a code: $nArray = (int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10 ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50); you can change number of products there Link to comment Share on other sites More sharing options...
mylesk42 Posted November 21, 2013 Author Share Posted November 21, 2013 Thank you very much. I've changed by : $nArray = (int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10 ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 24, 48) : array(24, 48); but in my dropdown menu, I only have 12 (customized in the back-end) and 24 but not 48, why ? Regards Link to comment Share on other sites More sharing options...
mylesk42 Posted November 25, 2013 Author Share Posted November 25, 2013 It works well, I think it was a cache problem. Regards Link to comment Share on other sites More sharing options...
vekia Posted November 26, 2013 Share Posted November 26, 2013 definitely cache problem thank you for confirmation thread marked as [solved] with regards, Milos 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