Page 1 of 1

Productlists to be unsorted

Posted: 22 Apr 2016, 04:24
by Rocco
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

Re: Productlists to be unsorted

Posted: 22 Apr 2016, 08:24
by aimeos
"Relevance" does exactly mean ordering by category position. It just sounds better :-)

Re: Productlists to be unsorted

Posted: 22 Apr 2016, 13:16
by Rocco
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/

Re: Productlists to be unsorted

Posted: 22 Apr 2016, 14:34
by aimeos
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.

Re: Productlists to be unsorted

Posted: 25 Apr 2016, 07:55
by Rocco
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.

Re: Productlists to be unsorted

Posted: 25 Apr 2016, 10:19
by aimeos
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