Eren Labs JOURNAL TR
Product Catalog

WooCommerce Default Sorting: Change It and Control Product Order

The order products appear in decides what shoppers see first. How to change WooCommerce's default sorting, what each option really sorts by, how to arrange products by hand, why changes sometimes don't show, and ordering that follows your stock.

In this article19 sections

To change WooCommerce default sorting, open Appearance → Customize → WooCommerce → Product Catalog and pick a Default product sorting option: custom ordering plus name, popularity, average rating, most recent, or price low to high or high to low. Shoppers can still change the order with the drop-down above the products. This guide explains what each option sorts by, how to arrange products by hand, and why a change sometimes seems to do nothing.

The WooCommerce default sorting options#

Illustration: sorting options: custom order, popularity, rating, newest and price
Five different ideas of what should come first.
OptionSorts byGood for
Default sorting (custom ordering + name)Your manual order, then nameCurated ranges
Popularity (sales)Total units soldEstablished best sellers
Average ratingReview scoresShops with many reviews
Sort by most recentPublish dateNew arrivals, fashion
Sort by price (asc)Cheapest firstPrice-driven buyers
Sort by price (desc)Most expensive firstPremium ranges

Block themes may set sorting in the product collection block or template instead of the Customizer. WooCommerce’s Customizer documentation shows the catalogue settings.

What popularity and rating really use#

Popularity uses each product’s total sales count over its whole life, not recent sales. A product that sold well two years ago stays near the top even if nobody buys it now, while a new hit climbs slowly. Rating uses average review scores, and with few reviews, one five-star review can outrank a product with hundreds of good ones. If you want “best sellers this month”, you need a date-based approach, as described in our guide to a best sellers category page.

Arranging products by hand#

  1. Set default sorting to custom ordering plus name.
  2. Go to Products → All Products and click the Sorting link above the list.
  3. Drag products into position; the order saves as you drop them.

You can also set a number in each product’s Menu order field under Advanced; lower numbers come first, and ties sort by name. That helps with large catalogues where dragging is impractical, and the CSV import’s “Position” column sets it in bulk. Leaving gaps, such as 10, 20 and 30, makes it easy to insert a product later without renumbering everything.

One order for all categories#

The menu order is shared across the whole shop: a product has one position number, used on the shop page and every category. Core WooCommerce doesn’t give each category its own manual order. If you need different sequences per category, you need a plugin or custom code. The default sorting setting is also store-wide; it doesn’t offer a separate default per category without extra tools.

Why your change doesn’t show#

  • A URL parameter such as ?orderby=price overrides the default, for example from a saved link or a filter widget.
  • Search results are sorted by relevance by default, not your setting.
  • Block templates with their own order settings.
  • Shortcodes with their own orderby value, such as [products].
  • Theme or plugin code that filters the order.
  • Caching that still serves the old page.

Removing or renaming the sort drop-down#

Some themes have a setting to hide the sorting drop-down. Otherwise a developer can remove it, or change the options and labels with the woocommerce_catalog_orderby filter. Think before removing it: on a large category, letting shoppers sort by price is often useful, especially on phones where scrolling through everything takes a while. Hiding it only makes sense when your order is curated and short, such as a collection of a dozen pieces.

Sorting and out-of-stock products#

None of the core options moves sold-out products down. A best seller that’s out of stock can sit first under popularity sorting, greeting every visitor with “out of stock”. You can hide sold-out products entirely with the inventory setting, or keep them visible but last with extra tools or code. Our guide to showing out-of-stock products last compares the options.

Choosing a sensible default#

Start from how people shop your range. Fashion and gift shops often do well with newest first, because returning visitors want to see what’s new. Hardware and supplies tend to suit custom ordering that puts the most useful items first. Marketplaces with many reviews may use ratings. Price ascending can look cheap and bury your best items; use it only if price is the main reason people buy. Test one change at a time and compare category sales before and after over a few weeks.

Order within your product grid#

The first row gets most attention, especially on phones where only one or two products show before scrolling. Whatever sorting you use, look at the first screen of each main category on a phone. Is it in stock, photographed well and representative of the range? If not, adjust menu order or choose a better default. Related and featured sections have their own ordering; see related products and featured products.

Reviewing the order over time#

A manual order that suited the shop in spring may be wrong by autumn. Put a reminder in your calendar each month to look at the main categories as a shopper would. Move seasonal items up before their season starts, not after it peaks, and move end-of-line stock where it can still sell without crowding out new arrivals. Write down what you changed and when, so you can compare category sales afterwards and keep only the changes that helped. If several people manage products, agree who is allowed to change the order, or one person’s careful arrangement will be undone by another’s bulk edit.

Sorting with the products shortcode#

The products shortcode has its own orderby attribute, which overrides your store default for that list. Use orderby values such as popularity, rating, date, title or menu_order to control a landing page independently of the shop. If a shortcode list looks randomly ordered after you changed the Customizer setting, it is probably following its own attribute. Check the shortcode text before changing anything else.

Sorting and SEO#

Sorted versions of a category page usually share the same content with a different order, and the sorting parameter appears in the address. Search engines normally treat the clean category address as the main page, especially when your SEO plugin sets a canonical address. Avoid linking to sorted addresses from your menus or content, so link signals point at the plain page.

Developer control#

The woocommerce_default_catalog_orderby filter can change the default conditionally, for example newest first only in a fashion category. Combined with checks for the current page, it gives a different default per category without a plugin, though it needs care: the sorting drop-down should reflect what the page actually uses, and caching must vary correctly. Test every category you change.

Testing a new order#

When you change sorting, write down the date and note category views, add-to-cart actions and orders for two weeks before and after. Avoid changing it during a sale or holiday, when behaviour shifts anyway. If results are unclear, keep the order that is easier to maintain.

If a few products must always appear first, give them the lowest menu order numbers and keep custom ordering as the default. Alternatively, show them in a separate featured row above the category, which keeps the main list’s order free for everything else. A featured row is easier to change for a campaign than reshuffling menu order across the whole catalogue, and removing it afterwards leaves the rest of your arrangement untouched.

Sorting large imports#

After importing many products, they may all share the same menu order, so custom sorting falls back to name. If you want imported items in a particular sequence, set the Position column in the import file, or sort them by hand afterwards. Check the main categories after every large import, because new products can push your carefully placed items down.

Mobile first#

Most themes show one or two products per row on phones, so the first few positions carry even more weight there. Check your main categories on a real phone after every sorting change, not only in a desktop browser window.

Per-category order with Smart Categories#

For rule-built categories, Smart Categories adds its own storefront order. The free version on WordPress.org can sort each smart category’s shop page by best-selling, newest, price or rating, and push out-of-stock products to the end or hide them, while other categories keep your store default.

Smart Categories storefront sorting: best selling, newest, oldest, price, rating or name with stock handling
Smart Categories (free): each rule-built category can have its own order, with out-of-stock items pushed last.

WooCommerce default sorting: frequently asked questions#


How do I change the default sorting in WooCommerce?

Go to Appearance, Customize, WooCommerce, Product Catalog and choose a Default product sorting option, then publish. Block themes may set sorting in the product collection block or template instead.


How do I arrange WooCommerce products manually?

Set default sorting to custom ordering plus name, then use the Sorting view in the product list to drag products, or set each product’s Menu order number in the Advanced tab.


Why is my sorting not working?

An orderby value in the URL, search results, a shortcode or block with its own order, theme code or caching can all override the default. Test the plain category address in a private window.


Can each category have its own product order?

Core WooCommerce uses one menu order and one default sorting for the whole shop. Different orders per category need a plugin or custom code that supports it.


Does popularity sorting use recent sales?

No. It uses each product’s total sales count, so older best sellers can stay near the top. For recent best sellers, use a date-based rule or report instead.


More in Product Catalog

Keep exploring

All articles
Before you go Let Smart Categories do this in WooCommerce

Define the rules for a WooCommerce category once. Matching products enter automatically and leave when they no longer qualify.

Explore Smart Categories Get the free version

Free version on WordPress.org · Pro from $59/year