Totti Posted November 20, 2013 Share Posted November 20, 2013 How do I change the number of products visible on the page?I would like to put other options, including displays all the results.Thank you. My site Link to comment Share on other sites More sharing options...
NemoPS Posted November 20, 2013 Share Posted November 20, 2013 You can change it in the frontcontroller. line 838 $nArray = (int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10 ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50); Of course, it would be better to use an override 1 Link to comment Share on other sites More sharing options...
Totti Posted November 27, 2013 Author Share Posted November 27, 2013 You can change it in the frontcontroller. line 838 $nArray = (int)Configuration::get('PS_PRODUCTS_PER_PAGE') != 10 ? array((int)Configuration::get('PS_PRODUCTS_PER_PAGE'), 10, 20, 50) : array(10, 20, 50); Of course, it would be better to use an override Unfortunately I can not do it. To put them all ? Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 All products? add an insanely high number like 9999999 Link to comment Share on other sites More sharing options...
Totti Posted November 27, 2013 Author Share Posted November 27, 2013 Where is frontcontroller ? /controllers/front ? Link to comment Share on other sites More sharing options...
NemoPS Posted November 27, 2013 Share Posted November 27, 2013 Classes/controller/ Link to comment Share on other sites More sharing options...
Totti Posted November 27, 2013 Author Share Posted November 27, 2013 Ok thanks. Link to comment Share on other sites More sharing options...
Dh42 Posted November 27, 2013 Share Posted November 27, 2013 Just as a side note, depending on how many products you have, it is going to slow your site down executing a large query like that. 1 Link to comment Share on other sites More sharing options...
Recommended Posts