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 1–12 of 36 results
-
Add to cart
Dell UltraSharp U2723QE
$579.00 -
Sale
Add to cart
LG UltraFine 27UP85
Original price was: $449.00.$379.00Current price is: $379.00. -
Add to cart
Samsung Odyssey G7 28"
$699.00 -
Read more
ASUS ProArt PA279CRV
$469.00 -
Read more
Apple Watch Series 9 (45mm)
$429.00 -
Add to cart
Apple Watch Ultra 2
$799.00 -
Sale
Add to cart
Samsung Galaxy Watch 6 Classic
Original price was: $399.00.$329.00Current price is: $329.00. -
Add to cart
Garmin Forerunner 265
$449.00 -
Add to cart
Google Pixel Watch 2
$349.00 -
Add to cart
Sennheiser Momentum 4
$349.00 -
Add to cart
Sony WF-1000XM5
$299.00 -
Sale
Add to cart
JBL Tune 770NC
Original price was: $129.00.$99.00Current price is: $99.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.