How to configure and adapt Aimeos based shops as developer
Forum rules: Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
#2084 by thomasu
24 Nov 2015, 18:56
Hello,

I'm searching for a way to sort the way products are displayed in the main catalog. (e.g. when you're visiting "/shop" or "/shop/list")

I'm able to sort products in their specific catalogs by dragging them around under Catalog -> Product.

The main catalog however seems to take every product that is attached to a catalog but sorts them by ID as far as i could tell.
Is it possible to change that sorting behaviour?

Greetings,
Thomas
#2087 by nos3
24 Nov 2015, 21:40
thomasu wrote:I'm searching for a way to sort the way products are displayed in the main catalog. (e.g. when you're visiting "/shop" or "/shop/list")


By default, the main product list is not bound to a category but it displays all products like you've described. This is caused because there is no category ID available.

To get the behavior you want, you can set a default category ID (e.g. the ID of the root category) using
https://aimeos.org/docs/Configuration/Core/client/html/catalog/list/catid-default


Norbert