Sorting products in cms cataloglist

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
User avatar
PedroLópezAndradas
Posts: 22
Joined: 16 Jan 2023, 11:30

Sorting products in cms cataloglist

Post by PedroLópezAndradas » 09 Mar 2023, 21:59

Hi again.

Is there an option to configure the sorting parameter in the cms cataloglist module?

I think (maybe i'm wrong) that it is sorting always by relevance, even if I configure client/html/catalog/lists/sort to be "-ctime". This configuration changes the default sorting method on lists, but not on cataloglists.

Thanks!

User avatar
aimeos
Administrator
Posts: 7881
Joined: 01 Jan 1970, 00:00

Re: Sorting products in cms cataloglist

Post by aimeos » 10 Mar 2023, 09:42

It's not yet possible to configure sorting for the cataloglist elements in the CMS.

You could add it here:
- https://github.com/aimeos/ai-cms-grapes ... #L576-L595
- https://github.com/aimeos/ai-cms-grapes ... #L108-L115

If you create a PR, we will merge it into the core :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply