Jump to content

[SOLVED] Modify sort in category (nbr-product-page.tpl)


John_John

Recommended Posts

You're looking for a variable called

 

$nArray

 

You can override your FrontController to change this array. The current code (found in FrontController.php at Line 847)

 

 $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 also go to your Back Office -> Preferences -> Products and change and default product count. I don't know if that will increment the count like you'd want, though.

  • Like 1
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...