Jump to content

Different default sort order for particular category

Recommended Posts

  • 8 months later...

Hi did you ever solve this? I have the same exact problem. Id like to use a custom value (best sellers) as default sort order for some categories and a different (position in caetgory) for the rest.


Heres a working tutorial for getting the sort by sales function: http://nemops.com/sort-by-sales-prestashop/#.VFvL5MkQ_WH


Also getting sales as the default order can be achieved at least by entering in the database ps_configuration PS_PRODUCTS_ORDER_BY value 8.


But havent been able to get a working if category->id == X or other to work. It always uses just the value that is in that data table.

  • Like 1
Link to comment
Share on other sites

  • 1 year later...

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...