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.”
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.
3. Filter products
We need to apply a filter to return “LED Beacons” products. To do this;
- Go to the Select Category dropdown.
- Select the “LED Beacons” category.
- Click the “Filter button.”
- The filter will return a list of products in the “LED Beacons” category.
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.
The sorting process refreshes the product list. Then, it arranges the products in a similar sorting order we saw on the frontend category page.
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.
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.
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.