If you are managing a WooCommerce store, you definitely need to enhance the shopping page to improve the customer’s buying experience. One of the most effective changes is to create a custom WooCommerce product table with sorting options. Unfortunately, it is not possible to add these features by default in WooCommerce. But if you want to have an advanced store, you should use practical plugins for creating professional tables with useful features like sorting, filtering, etc.
Product sorting can be used to sort products in the table based on various features like attributes, dimensions, or price, and provide customers with the opportunity to buy faster. If you have a large number of products in your store, scrolling through the product table pages one after another can be boring for your customers. To solve these problems, the easiest way is to add the possibility of sorting.
Therefore, if you want to show users more features in your product table, including filtering, sorting, or even the add to cart button for multiple products at the same time, your ultimate solution is to use the WooCommerce product table plugin.
The WooCommerce product table plugin is a powerful plugin for e-commerce stores that allows you to make major changes to the appearance of your shopping page. One of the features that you can add to your table is product sorting based on different fields.
Continue reading to learn how this plugin can help you create a custom WooCommerce product table with sorting by attributes and beyond.
How to create a product table with sorting by using WooCommerce product table plugin?
The WooCommerce product table plugin is one of the advanced WooCommerce plugins that provide you with all the essential features you need to create eye-catching and responsive tables. This plugin has an easy and intuitive user interface with which you can easily create your own tables and add various features such as sorting, filtering, and a quick search box.
Now, let’s see how to create a custom WooCommerce product table with sorting by attributes and beyond in three simple steps.
Step 1: Install WooCommerce product table plugin
The first step for using the WooCommerce product table plugin is to download and install it on your WordPress website.
By activating the plugin, a new item was added to the WordPress dashboard called the IT Product Table. To start working with this awesome plugin, you need to click on this tab and go to the Add New Table page.
On this page, some preset templates allow you to quickly create your product table with some default columns set in the templates.
However, you can ignore them and press Get Start at the bottom of the page to create your table from scratch.
By clicking on Get Start, all of the WooCommerce products will be imported to the plugin automatically. So, if you want to show some specific categories or products to your customers, go to the Query tab and make a new query to be displayed in your table.
Now, you are ready to create a custom WooCommerce product table with a sorting option in the next step.
Step 2: Create a custom WooCommerce product table with sorting option
The easy to use interface of the WooCommerce product table plugin enables you to create your product table in a few minutes. Let’s review the simple steps you need to follow to customize the columns of your table:
- Go to the Columns tab and press the Add New Columns button in the middle of the page to create a new column in your table.
- For this new column, you can customize the Header and Cell Content by adding elements to the new box that just appeared on the page.
- To add elements for both Header and Cell Content simply click on the Add Element option to see a list of elements in the left panel.
- Choose one of the Elements and try to customize it by changing the items in the General and Style tabs of the Element Setting Panel.
- Repeat the above mentioned steps to add as many columns as you need to your table.
Now, let’s suppose that you have created a sample product table like below, and you want to add sorting options to it.
To do this, you can use two different methods that we are going to completely describe them in the following:
Method 1: Enable products sorting in each table column
The first method for adding sort options in the product table is displaying the sorting option on each column. You definitely see the Up and Down arrow keys in the Header of some columns allowing you to sort the data of one specific column on each page in ascending or descending orders.
You can display this sorting option on one or more columns of your table by following the below instructions:
- On the Heading section of the column, click on the Add Elements to see the list of elements in the left panel.
- Choose the Sorting element from the list.
- Customize the Sorting option based on the element you have chosen in the Cell Content tab.
Let’s make some examples to see how you should customize the sorting element.
Create a custom WooCommerce product table with sorting by attributes
To add sorting by attributes and let your customers sort the product based on the attribute items in the table, first, you need to add one of the Attributes like Color in the Cell content to show the data in the table. Then, after adding the Sorting element to the Header, you need to open the dropdown list of Sort by field and choose one of the below options:
- Attribute as text: If the values related to the attribute are displayed as text in the table like Red, blue, Large, Small, etc.
- Attribute as number: If the values related to the attribute are displayed as a number in the table like 2, 100, etc.
Create a custom WooCommerce product table with sorting by custom field
One of the amazing features of the WooCommerce product table is supporting all custom fields that you have added to the WooCommerce. If you add any custom field to the Cell content of the column, it is possible to choose one of the below options for the Sorting Element in the Header to let your customers sort the products based on the custom field values:
- Custom field as number
- Custom field as text
As we described before, you need to choose the right option based on the values of the Custom Field in the column.
Create a custom WooCommerce product table with sorting by price
Sorting by price is the most popular sorting option that almost all customers use to see which products are affordable for them.
You can simply create a column and add the Price element to the Cell Content, then add Sorting from the list of Heading elements and choose Price from the list of Sort by field in the General tab to add this sorting option to your product table.
Now, if you want to observe how these sorting options are displayed in the table, click on the Eye icon on the top right corner of the screen.
As illustrated below, the Up and Down arrows are displayed next to the Price, Color, and Custom field columns allowing your customers to sort the products on each page based on them:
Method 2: Enable WooCommerce product sorting on all query
The second method is to show sorting options in one of the navigation bars in the product table and let the customers sort all products in the table by choosing the sorting option.
To make this happen in the WooCommerce product table plugin, following the below steps is required:
- Go to the Navigation tab.
- Press Add Element in one of the Navigation bars including Header, Footer, and Sidebar to see the list of elements in the left panel.
- Choose Sort by element from the list.
- Customize the Sort by element in the General tab as follows:
There are two options in the Display type field: Dropdown and Row.
If you choose Dropdown, a list of all sorting options will be displayed to the customers in a dropdown and they can choose one of them to sort the products.
If you choose Rows, the sorting options are displayed in separate rows in the navigation bar and customers can choose one of them to sort the products.
In the Sort Options of General tab, you can press Add an Option button to add as many sorting options as you need to the table.
By adding a new option, a new box will appear with the below sections:
- Label: The title of the sorting option that you can write manually.
- Order by: choose one of the sorting options from the list to let customers sort the products based on.
Keep Filter open by default if it is in the sidebar
This item is useful if you add the Sort By element to the sidebar area. If you mark this item, the sorting options will be always displayed to the customers on the sidebar. Otherwise, there is a toggle that customers should click on to see the sorting options.
Step 3: Use Shortcode to show the WooCommerce product table on the shopping page
Finally, when you create your custom WooCommerce product table with sorting by attributes and other options, you can save it by inserting a name on the text box on the top of the table and pressing the Save button.
Then to show this table on the Shopping page to your customers, try to:
- Copy the Shortcode by clicking on the Shortcode icon.
- Open a new page in WordPress and paste the shortcode.
- Go to the WooCommerce > Settings > Products.
- Choose the new page from the list of Shop Page.
This is how the product table with the sorting options is displayed to your customer if you add the sorting options to the sidebar:
How to download the WooCommerce product table plugin?
The WooCommerce product table plugin is an advanced WooCommerce plugin that allows you to display your product page to users using very beautiful tables. Creating customer friendly product tables with various features such as filtering, sorting, adding multiple products to a cart at the same time, etc. can definitely help you attract more customers and boost your sales.
Improving the customer buying experience by making the search and ordering processes easier has a great effect on increasing your sales. Displaying features such as sorting and filtering will increase customer interest in shopping from your store and make them prefer your website to your competitors. If you have a WooCommerce store and you want to create a custom WooCommerce product table with sorting by attributes and beyond, try the WooCommerce product table plugin.