Custom Product Sorting within Collections & Categories #3721
Replies: 2 comments 3 replies
-
Hey @lnxcz , we don't support custom ordering with collections yet, but categories do come with a "rank" column (which is our "position" attribute) that you can use to order based on your preferences - https://docs.medusajs.com/api/admin#tag/Product-Categories/operation/GetProductCategoriesCategory |
Beta Was this translation helpful? Give feedback.
-
@lnxcz
If medusa had some route to add sorting with some type of rank on /store/products endpoint, I would have used that as start point. If you @lnxcz or anybody else come's here and would like to know more details on this, send me an email at [email protected] for faster response since I don't watch github notifications every day. @riqwan What you mentioned doesn't sort the products in the actual category what I can see? |
Beta Was this translation helpful? Give feedback.
-
In the current implementation, there isn't an option to manually arrange the products within a collection or category according to a store owner's preferences. This can make it difficult for store owners to highlight specific products or create a particular arrangement for a more visually appealing storefront.
I've recently come across a feature in Sylius that allows store owners to manually sort products within a collection using a "position" attribute. This approach could serve as inspiration for implementing a similar functionality in Medusa.
Beta Was this translation helpful? Give feedback.
All reactions