WooCommerce Product Sorting Dropdown Demo
A WooCommerce product sorting dropdown gives shoppers a way to order matching catalog results. In this electronics demo, choose Brand and then pick a sort option to compare the remaining products by a relevant field such as price or rating.
Try this: Use the sort dropdown above the brand list and watch the product order change.
How this demo is configured
- Create a filter by Brand (product attribute pa_brand). Show as Checkboxes. Show the first 6 terms, with a More toggle.
- Inline sorting: on.
Showing 13–24 of 36 results
-
Add to cart
Sony WF-1000XM5
$299.00 -
Add to cart
Microsoft Surface Pro 11
$1,199.00 -
Add to cart
Lenovo Tab P12
$349.00 -
Sale
Add to cart
Sony WH-1000XM5
Original price was: $399.00.$329.00Current price is: $329.00. -
Add to cart
Bose QuietComfort Ultra
$429.00 -
Add to cart
OnePlus 12
$799.00 -
Add to cart
Nothing Phone (2a)
$349.00 -
Add to cart
iPad Air 11" (M2)
$599.00 -
Add to cart
iPad Pro 13" (M4)
$1,299.00 -
Sale
Read more
Samsung Galaxy Tab S9
Original price was: $799.00.$649.00Current price is: $649.00. -
Sale
Read more
Samsung Galaxy S24
Original price was: $799.00.$699.00Current price is: $699.00. -
Add to cart
Samsung Galaxy S24 Ultra
$1,299.00
How the product sort dropdown works
The sort dropdown passes the selected order to the product query. Available choices include date, price, sales, rating, or title. The Sorting options (shown to shoppers) setting determines which orders appear in the menu.
When to offer product sorting
Use sorting when shoppers may want to arrange matching products by a relevant field. Price and rating are common choices in a store catalog; newest-first can help where recently added products matter.
Pick labels shoppers understand and make sure the chosen sort order matches the underlying product data. Custom-field sorting requires the appropriate key and numeric setting when values are numbers.
Add a sort dropdown to filters
- Edit the product Filter Set and enable Show sorting dropdown with filters.
- Choose a Default sort (if no sort widget) value.
- Review Sorting options (shown to shoppers) and add the choices your catalog supports.
- Save and open the page with the filter widget. Choose an option, then verify that product order changes.