cancel
Showing results for 
Search instead for 
Did you mean: 

Sort by Position?

Sort by Position?

What is "Sort by Position" in product list page?

 

4 REPLIES 4

Re: Sort by Position?

Hi @bevv

 

On the backend - Magento admin panel if you go to Manage categories and click on any specific category - you will find a section called product in category - over there you will see a position text box with each product !

 

So whatever position you will given over here - on the frontend when you choose sort by position it will re-arrange/showcase all your products based on the position you have given !

 

So it is mainly for Product sequence and manageable from magento admin panel ! 

 

Hope it helps ~!

if issue solved,Click Kudos & Accept as Solution

Re: Sort by Position?

Hello @bevv

 

Whenever you assign the products to any category in the backend, all the products get added to that category one by one with position value.

You can change this position value from Magento Admin > Catalog > Categories

If you find my answer useful, Please click Kudos & Accept as Solution.

Re: Sort by Position?

Thanks.

Then how are the products sorted if category ID is same? 

Re: Sort by Position?

A product is sorted for a category with the same id by getting collection of products.

For Sort by Price,

Product collection of specific category first load, Set Order by Asc/Desc price for a collection and based on that for the same category Product collection will load as Price sorting.

 

For Sort By Name,

Product collection of specific category first load, Set Order by Asc/Desc name of a product from a collection and based on that for the same category Product collection will load as Name sorting.

 

 

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial