How to Sort Products In WooCommerce
Have you ever wanted to change the sort order of your products on the shop page, but you needed to know how to go about it? Well, this article will guide you on how to get this done.
Table of contents
WooCommerce, by default, has a sort order that applies to shop pages. However, you can change the default sort order to re-arrange products according to your choice.
Sorting products on a page allows you to present your inventory in a structured and logical manner. In addition, this enables customers to navigate your online store easily.
By implementing smart sorting strategies on your shop pages. You can achieve the following;
- Highlight best-selling items.
- Showcase new arrivals.
- Promote discounted products.
- Tailor the product display to suit specific customer preferences.
Whether you are a WooCommerce beginner or an expert, this quick tip will train you to sort products.
Video Tutorial: How to Sort Products In Woocommerce
Here is a YouTube video on how to change the default sort order for WooCommerce Products.
1. Select Product Page To Sort
The first step is to identify which page whose products you want to sort.
The products page could be the archive/shop page that lists all products. You can also sort products on a specific category page.
This tutorial will sort products on a category page – “LED Beacon.”
![Default sort order for Products on LED Beacon Page](https://www.mrkwp.com/wp-content/uploads/2023/06/default-sort-order-product-page-1024x576.png)
Note
LED Beacons is a product category inside WooCommerce. It has a dedicated page that lists all products that fall under it.
2. Log into WP and go to Products.
Log into WordPress. Go to “Products.”
You will see the list of all products inside the WooCommerce inventory.
![Product list inside WooCommerce](https://www.mrkwp.com/wp-content/uploads/2023/06/products-page-woocommerce-1024x576.png)
3. Filter products
We need to apply a filter to return “LED Beacons” products. To do this;
- Go to the Select Category dropdown.
![Select product category dropdown filter](https://www.mrkwp.com/wp-content/uploads/2023/06/select-product-category-dropdown-1024x576.png)
- Select the “LED Beacons” category.
![Select a desired product category from the dropdown.](https://www.mrkwp.com/wp-content/uploads/2023/06/select-product-category-woocommerce-wp-admin-1024x576.png)
- Click the “Filter button.”
![Click the Filter button to apply the product list filter.](https://www.mrkwp.com/wp-content/uploads/2023/06/apply-product-category-filter-1024x576.png)
- The filter will return a list of products in the “LED Beacons” category.
![Product list that belongs to LED Beacon category.](https://www.mrkwp.com/wp-content/uploads/2023/06/filtered-product-category-page-1024x576.png)
Note
If you want to sort products on the archive/shop page, you do not need to apply any filters. Proceed to Step 4.
4. Sort Products
Click the “Sorting” button at the top of the products table.
![Sorting button to display the sort order.](https://www.mrkwp.com/wp-content/uploads/2023/06/click-sorting-button-1024x576.png)
The sorting process refreshes the product list. Then, it arranges the products in a similar sorting order we saw on the frontend category page.
![Comparison of the current sort order inside WooCommerce and the Category Page.](https://www.mrkwp.com/wp-content/uploads/2023/06/default-sort-order-front-and-back-end-1024x576.png)
Hover over the list of products. You will notice that you can now drag a product from one position to another. Sort the products based on your desired order.
![Drag the product to sort the order.](https://www.mrkwp.com/wp-content/uploads/2023/06/drag-to-sort-products-1024x576.png)
5. Clear Cache and Test the Page
After the sorting process, clear the cache and test the product page. The products should appear in the sorting order we have applied in the previous step.
![New product sort order after re-arrangement.](https://www.mrkwp.com/wp-content/uploads/2023/06/product-arrangement-after-sorting-1024x576.png)
That’s it. We hope you are now able to sort products on any shop page.
More tips
Here are other Woocommerce tips that you could use.