Sort order settings allow you to apply a default order in which products appear in search results and on category pages. Category page sort order can be set via storewide, category-level, and product-level settings. In addition, shoppers can further sort products on the storefront using several different sort types.
Requirements
- To manage Search Settings or storewide Default Product Sort, you must have the Manage Settings permission enabled on your user account.
- To manage category-specific Default Product Sort, you must have the Manage Categories and Edit Categories permissions enabled on your user account.
- To manage Product Sort Order, you must have the Manage Products and Edit Products permissions on your user account.
Search Settings
Search Settings affect how results are presented on the storefront after a shopper performs a search. To set the default order in which products are displayed, go to Settings › Search and locate Default Product Sort. Change the selection to your preferred sort order, then Save your changes.
See Configuring Store Search to learn more about specifying default sort order and the available sort options.
Default Product Sort
The Default Product Sort setting determines the order in which products are displayed on category pages. It can be set both storewide (via your store's Display settings) and on individual categories (via editing the category). Shoppers can still change the sort order to their preferred view, this is just the default layout without any input from the user.
There can be several reasons for changing the default product sort. For example, you may want to:
- highlight products with the highest ratings/reviews
- show products with the lowest price first
- sort your products alphabetically
Storewide Default Product Sort
This setting will affect all categories that don't have a category-specific default product sort setting. To adjust this setting, go to Settings › Display.
Scroll down to the Category Settings section and locate the Default Product Sort setting. Change it to your preferred sort order then Save your changes.
Category-Specific Default Product Sort
This setting will affect only an individual category's default product sort on the storefront. Categories inherit the storewide setting by default. To adjust this setting, go to Products › Product Categories and edit your chosen category.
In the category details, locate the Default product sort setting. Change it to your preferred sort order, then Save your changes.
Product Sort Order
A product's sort order number can be used to control how products are sorted on a category page when the storefront Featured Items sort type is selected. It has no effect when the category page is sorted by other types such as Newest Items or Alphabetical. This allows you to control precisely how products are displayed whether on a specific category or storewide.
- All products have a sort order of 0 by default.
- Products display lowest to highest, so a product with a sort order of 25 will appear closer to the top than a product with a sort order of 50.
- Negative numbers are allowed so -1 will appear closer to the top than 0.
- Products with the same sort order are sorted by product ID, displaying newest first.
To update a product's sort order number, go to Products › View then click the name of the product you'd like to edit. Click on Storefront details and go to the Sort Order field. Sort Order is also a configurable field when importing and exporting products.
Not seeing these fields? If your store is using the v2 product experience, it will look and behave differently from what is documented here. See Adding Products (v2) for more information.
Storefront Product Sort
Shoppers can change the order in which products appear on storefront pages by using a drop-down selector. The appearance and location of the selector may vary based on your theme.
They have several sort types to choose from:
- Featured Items (based on product sort order number)
- Newest Items
- Best Selling (total lifetime sales)
- Alphabetical (A to Z)
- Alphabetical (Z to A)
- By Review (average customer review)
- Price: Ascending (Low to High, based on base product price)
- Price: Descending (High to Low, based on base product price)
FAQ
When a customer selects Featured Items from the storefront drop-down, why are more than just my Featured Products displaying?
Products marked as Featured appear in the home page Featured Products panel. This setting does not affect whether a product displays on other storefront pages, such as a category page. The drop-down selectors on these pages allow customers to choose the order in which products appear.
Can I assign product sort order numbers by category?
Yes, sort order can be set on the category level using the API. For more information, see our Product Sort Order API documentation in the Dev Center.
Are product sale prices included when sorting by price?
Yes, if you've added sale pricing to your products, it is used instead of the default price when products are sorted by Price: Ascending or Price: Descending.