this is category admin section where I have set products position.

But not showing correct order on category page.

1 Answer 1


In default Magento Version 2.2.7 product listing page category product Position working fine.

If you have customized product collection for list page, then you have to need sorting your collection using Position like addAttributeToSort('position', 'ASC')


$productCollection = $this->getCategory($categoryId)->getProductCollection()->addAttributeToSelect('*')->addAttributeToSort('position', 'ASC');

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.