Productlists to be unsorted

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)
Spam and unrelated posts will be removed immediately!
Rocco
Posts: 14
Joined: 22 Apr 2016, 04:18

Productlists to be unsorted

Post 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

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Productlists to be unsorted

Post by aimeos » 22 Apr 2016, 08:24

"Relevance" does exactly mean ordering by category position. It just sounds better :-)
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Rocco
Posts: 14
Joined: 22 Apr 2016, 04:18

Re: Productlists to be unsorted

Post 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/

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Productlists to be unsorted

Post 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.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Rocco
Posts: 14
Joined: 22 Apr 2016, 04:18

Re: Productlists to be unsorted

Post 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.

User avatar
aimeos
Administrator
Posts: 7836
Joined: 01 Jan 1970, 00:00

Re: Productlists to be unsorted

Post 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/Cont ... SV#Catalog
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, Image give us a star

Post Reply