How to Change 'Product Listing Sort By'

How to Change 'Product Listing Sort By'

This article will explore the different options for changing the default sort orders of items in their categories, including:

  • Setting the general default ‘sort by’ option
  • Setting the default 'sort by' option for specific categories


You may be looking at categories on your site and want to change the order that items appear in.Your site most likely will include options that allow customers to sort them as they choose, as shown below:

19006950.png

The default 'sort by' option that is selected by default when the customer first visits the page can be changed in the backend

Setting the general 'sort by': step-by-step guide

  1. Log into your Magento Admin Panel

  2. Navigate to Stores> Settings> Configuration. 

19006951.png

  3. Select Catalog → catalog along the left hand side.

19006952.png

  4. Expand the "Storefront" block and change the "Product Listing Sort by" to price

19006953.png

  These are the default config settings that the site will fall back on if nothing is defined for each category. You can also set a specific value for individual categories.

Setting the 'sort by' for specific categories: step-by-step guide

  1. Log into your Magento admin panel.

  2. Navigate to Catalog> Categories

19006954.png

  3. Select the category you wish to edit from the navigation tree on the left hand side, and click on the Display tab.
19006955.png

TheDefault Product Listing Sort By option is where this is set. By default, theUse Config Settings option should be selected. If this is set, it will use the general sort by option defined above. However, if you de-select the checkbox, you can change the value to apply to that specific category. 

  4. Change this value as desired, and the change will be reflected on the frontend of the site.

19006956.png





    • Related Articles

    • How to Change your Admin Account Info

      This guide will explain where to go to change the username and password for your admin account or someone else's. Step-by-step guide Log in to your Magento admin panel. Navigate toSystem → Permissions → All Users. Find the user to edit from the list ...
    • How to Upload Product Images

      This article covers how to upload images to products that will be shown on their product pages and be used as thumbnails previews. In order to upload images for general use across the website, see this article. CPC Sync If your website store uses CPC ...
    • Magento 2 - Porto: Add a Product Slider at the Bottom of the Product Landing Page

      This article will guide you through setting up a product slider at the bottom of your product landing pages. Step 1: Creating the Product Slider First, we need to create the product slider. Login to the Magento Admin Panel. Go to Content>Elements> ...
    • Counterpoint: How to assign images to a product

      This article will describe how to name product images so the CP-Commerce integration will recognize them and sync them to the webstore. It will also go into detail on how to assign multiple images to the same product. TABLE OF CONTENTS Before you ...
    • How to Setup Featured, Latest, Bestseller, or Sale Product List Slider

      This article will guide you on how to setup the different types of product sliders. Pre-requisites Adding the Styles Before adding a slider, you will want to add the following styles under Stores> Configuration> Porto> Porto - Settings Panel> ...