Page 1 of 1

Product list

Posted: 19 Aug 2017, 11:28
by vlad bolota
Hello, and thanks for Aimeos. I need a little help to get the newest products in a new controller.
Pls tell me if there is some Model that i can implement.

Thanks

Re: Product list

Posted: 19 Aug 2017, 12:04
by aimeos
The current dev-master branch already contains the necessary changes to sort by product creation time:
- https://github.com/aimeos/ai-controller ... eaca66d733
- https://github.com/aimeos/ai-client-htm ... eba100faf5
You need to use the dev-master branch to get this feature.

If you want to get the list in a new controller, you either add the "catalog lists" component and change the default sort order or use the Aimeos Products controller in the ai-controller-frontend extension to retrieve the product items by hand. In the later case, you have to create a template to output the products by your own.