Sorting

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!
yong
Posts: 43
Joined: 10 Apr 2019, 12:55

Sorting

Post by yong » 29 Jul 2019, 14:32

Please how to sort items ?

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

Re: Sorting

Post by aimeos » 29 Jul 2019, 16:29

If you use the product frontend controller, you can use the sort() method to for sorting products according to different orders:
https://github.com/aimeos/ai-controller ... #L157-L164
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply