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)
#2718 by Rocco
22 Apr 2016, 04:24
By default, the items in the list view are sorted by relevance. Is there a way that they are listed unsorted, ie in the order in which they are assigned to the categories in the backend ?
Many thanks for any tips. Best regards, Rocco
#2720 by Rocco
22 Apr 2016, 13:16
Thank you for your answer. Unfortunately it is not exactly the case on my installation.
The link from my hompage to the shop is: <a href="/shop/list/"> Produkte</a>
At this view, the products are listed correctly.
The shop has three main categories: Reiter, Pferde, Freizeitmode. Only at Freizeitmode the listing is correct – also on all subcategories. For Reiter and Pferde the products are listed in an arbitrary order, also on all subcategories – hmm... very strange. Here are the links to the pages:
http://pegasus-test.ch.napoleon.ch-meta ... /6/reiter/
http://pegasus-test.ch.napoleon.ch-meta ... /2/pferde/
http://pegasus-test.ch.napoleon.ch-meta ... izeitmode/
#2721 by aimeos
22 Apr 2016, 14:34
The standard "/list" page displays all products without any sorting, so the database decides about order of the entries. If you want a fixed order, you should use e.g. the "Home" category, assign all products to this one too and configure it as default one if no f_catid parameter is given.

The products in the single categories are ordered by position. If you move the products within a category in the admin interface (expert mode), the changes aren't reflected immediately on the web site. You need to execute the "category index rebuild" scheduler task to update the index in this case.
#2722 by Rocco
25 Apr 2016, 07:55
Many thanks for your help.
I had associated all products to the categories via csv-import. This has caused the strange order in the list view. The only thing I had to do, is to change the position of at least one product per category, so that the products are now properly listed.
#2723 by aimeos
25 Apr 2016, 10:19
You can define the order of the products during the import if you add the product position (positive, incrementing integer) to your CSV file and configure that column as "catalog.list.position" like described here:

https://aimeos.org/docs/Developers/Controller/Import_products_from_CSV#Catalog