Sorting the default catalog list
Forum rules
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Sorting the default catalog list
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
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
Re: Sorting the default catalog 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.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")
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/C ... id-default
Norbert
Re: Sorting the default catalog list
Thanks!
That did the trick.
That did the trick.