Sorting the default catalog list

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)
thomasu
Posts: 2
Joined: 24 Nov 2015, 18:12

Sorting the default catalog list

Post 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

nos3
Posts: 53
Joined: 01 Sep 2015, 13:26
Contact:

Re: Sorting the default catalog list

Post 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/C ... id-default


Norbert

thomasu
Posts: 2
Joined: 24 Nov 2015, 18:12

Re: Sorting the default catalog list

Post by thomasu » 27 Nov 2015, 09:27

Thanks!
That did the trick.

Post Reply