tapukatata Posted September 28, 2017 Share Posted September 28, 2017 (edited) My products are sort by position inside category but I want to put those products with quantity equal to zero at the very end of the list and when the products are available again to regain the old position inside category. I am using Prestashop 1.6.1.12. I'm attached category.php Anyone can help me to resolve that task? Category.php Edited September 28, 2017 by diyan1234 (see edit history) Link to comment Share on other sites More sharing options...
Scully Posted September 28, 2017 Share Posted September 28, 2017 I'd say you are in the wrong file. Category.php is to display the categories. Your file might be classes/Product.php and there the function getProducts. Furthermore if you want to have differen sort criteries, you needed to adapat product-sort.tpl in your themes directory as well. Link to comment Share on other sites More sharing options...
KoreanMan Posted May 21, 2019 Share Posted May 21, 2019 I was searching just now with same theme but it was now in Prestashop. Maybe is this helpful? Shop Parameters > Product Settings 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