Forums / Setup & design / how are ProductCollectionItems ordered?

"Please Note:
  • At the specific request of Ibexa we are changing this projects name to "Exponential" or "Exponential (CMS)" effective as of August, 11th 2025.
  • This project is not associated with the original eZ Publish software or its original developer, eZ Systems or Ibexa".

how are ProductCollectionItems ordered?

Author Message

Pascal Specht

Wednesday 28 November 2007 6:52:35 am

Hello

I noticed that the shop/basket page shows the products in a strange order. At least it looks random to me... It doesn't look like a FIFO or LIFO ordering, and it is also not alphabetical... Is there a way to easily change the order of the products shown?

Would it be better to modify the insertion order in the eZShopOperationCollection::addToBasket method or change the way the template iterates over it?

Thanks for any comments!

</Pascal>