{"id":1214,"date":"2020-09-02T18:28:40","date_gmt":"2020-09-02T18:28:40","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2020\/09\/02\/sort-category-products-in-magento-2\/"},"modified":"2025-05-22T11:52:16","modified_gmt":"2025-05-22T06:22:16","slug":"sort-category-products-in-magento-2","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/sort-category-products-in-magento-2\/","title":{"rendered":"How to Sort Category Products in Magento 2"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">An E-commerce store is a shopping platform for customers looking out for various products and it is a part of better user experience to offer an online store that is easy to navigate and find the desired products.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Customers may want to sort products based on price and name. Allowing customers to sort category products based on their interests makes it easy for them to shop online.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Moreover, making it easy and quick to find a particular product increases the chance of conversion and reduces the bounce rate. It prevents a potential customer to leave your site frustrated and jump over to your competitor.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sorting products are useful for E-commerce store having so many products. It allows customers to find their desired products based on product attributes like price or name.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">However, the default Magento 2 provides three options for product listing.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Product<\/li>\n\n\n\n<li>Position<\/li>\n\n\n\n<li>Name<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This post shows stepwise methods to&nbsp;<em><strong>sort category products in Magento 2<\/strong><\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Method to Sort Category Products in Magento 2:<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Login<\/strong>&nbsp;Magento 2 admin panel<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Navigate to&nbsp;<strong>Catalog &gt; Categories<\/strong><\/li>\n\n\n\n<li>Select the&nbsp;<strong>Store View<\/strong><\/li>\n\n\n\n<li>Expand&nbsp;<strong>Display Setting&nbsp;<\/strong>section<\/li>\n\n\n\n<li>Go to&nbsp;<strong>Default Product Listing Sort By&nbsp;<\/strong>and select as per your requirement<\/li>\n\n\n\n<li>Click&nbsp;<strong>Save Config<\/strong><\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/08\/Sort-Category-Products-in-Magento-2.png\" alt=\"Method 1 - Sort Category Products in Magento 2\" class=\"wp-image-10283\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The default sorting option is \u201cPosition\u201d and you can change the default sorting option.<br>Make sure that when you choose sorting option, you have to set the position from&nbsp;<strong>\u201cProducts in Category\u201d<\/strong>&nbsp;tab as shown below:<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2020\/08\/Method-2-sort-category-products-in-Magento-2.png\" alt=\"Method 2 - sort category products in Magento 2\" class=\"wp-image-10284\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">That\u2019s it. You can also&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/configure-magento-2-product-listing\/\" target=\"_blank\" rel=\"noreferrer noopener\">configure product listing in Magento 2<\/a>&nbsp;from the backend to change how the products are displayed to the customers on the frontend.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also refer to the video tutorial to Sort Category Products in Magento 2 from our&nbsp;<a href=\"https:\/\/www.youtube.com\/playlist?list=PLBTOxSAJzwEjM5MilmEqj98Ib80tKBu7r\" target=\"_blank\" rel=\"noreferrer noopener\">Magento 2 video tutorial<\/a>&nbsp;series:<\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"How to Sort Category Products in Magento 2\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/skfpZg3yywM?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Also, do share the tutorial with the Magento 2 community via social media.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Thank you.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>An E-commerce store is a shopping platform for customers looking out for various products and it is a part of better user experience to offer an online store that is easy to navigate and find the desired products. Customers may want to sort products based on price and name. Allowing customers to sort category products [&hellip;]<\/p>\n","protected":false},"author":7,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[34],"tags":[],"class_list":["post-1214","post","type-post","status-publish","format-standard","hentry","category-magento"],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/7"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=1214"}],"version-history":[{"count":2,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1214\/revisions"}],"predecessor-version":[{"id":14698,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/1214\/revisions\/14698"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=1214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=1214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=1214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}