Blog

How to create a searchable WooCommerce product table for your shop?

create searchable product table for woocommerce store
Table of Contents

Large e-commerce stores may offer thousands of digital, physical or downloadable products for sale online. Have you ever wondered how online shoppers can find the product they need among many options? One of the user-friendly features of these store websites is the ability to search and filter products. How can this be provided to customers in WooCommerce stores?

In this article, we introduce the WooCommerce product table plugin, which allows website managers to display their various products in a table view on the WooCommerce store page. This functional plugin also provides the possibility to add search and filter functionality so that the customer can search or filter the site’s products based on data such as title, price, variable, category, etc. This feature is handy for customers and is very important in meeting their expectations.

WooCommerce product table pro

The advantages of search and filtering in the product table

If you are a WooCommerce online store manager, you surely know that one of the most effective ways to improve the customer experience of your store is to add the ability to search and filter products. Searching and filtering are essential to customer satisfaction, especially for sites with many products.

If you have a large store with many products, visitors may have to scroll through several results pages to find what they want. This can negatively affect the customer experience. For this reason, in most e-commerce sites, a search box is available for the customers, where they can search for a product by typing a keyword.

The filtering feature also helps customers narrow their searches by choosing the features to quickly find the products they want to buy on the site.

Searching and filtering also help your customers reach results faster and find the products they need among the thousands of products on the site.

Installing the WooCommerce product table plugin can improve the user experience (UX) by adding a search box and advanced WooCommerce filters to your store.

Add search and filter functionality using WooCommerce product table plugin

Installing the WooCommerce product table plugin allows the site administrator to create a product table with custom columns and rows. Using this plugin, the site manager can display all the essential product data on one page to the customer by creating different columns and rows. Also, adding search and filter capabilities to the table allows the customer to find the desired product more easily. 

You can use the Column and Query tabs to create a custom table of products. This plugin is designed with a very simple user interface where you can easily create your custom table product.

After making the product table, you must enter the Navigation tab to add search and filter functionality, as seen in the image below.

You can see three main parts on this page:

  • Sidebar setting
  • Header
  • Footer

The product table page’s sidebar, header, and footer are the three main areas. You can add search and filter options in each area with the help of the plugin.

In the following, we will fully explain how to add search and filter options to these areas of the product table.

Add search and filters in the sidebar

select sidebar positions product table pro

In the Sidebar Settings area, using the Sidebar Position and Sidebar Elements options, you can display the search and filter options in the product table in different ways that we will explain below.

Sidebar Position

If you click on the combo box of this field, you will see the following options:

  • Disable/Enable: Enable or disable the sidebar area
  • Left Toggle: Open the sidebar as a toggle from the left side.
  • Right Toggle: Opening the sidebar as a toggle from the right side.
  • Normal Left sidebar: Display the sidebar on the left side of the product table.
  • Normal Right sidebar: Display the sidebar on the right side of the product table.

Sidebar Elements 

In the Sidebar Elements field, you can add as many elements as you like so the customer can search and filter based on those elements.

We must first click the Add element button to add filter and search elements. After clicking, as you can see in the image below, all the required elements will be displayed on the left side to add them to the sidebar.

add element woocommerce product table elements

A series of these elements are related to filters, shown to us if we type the word Filter in the top bar.

type filter word to show filter elements

You can click on the trash can icon to delete any elements.

click trash icon to delete elements

The elements that can be added to the sidebar are:

  • Add selected to cart: This element add a button to product table allows the customers to add one or more products to their cart by clicking this button.
  • Apply/Reset: Apply or reset the filter or search.
  • Attribute Filter: This element allows the customer to filter products based on their attributes.
  • Availability Filter: This enables the customer to filter products based on availability.
  • Rating Filter: Allows the customer to filter products based on rating.
  • Tags Filter: Allows customers to filter products based on tags.
  • Category Filter: Allows customers to filter products based on categories.
  • Custom Field Filters: Customers can filter products based on custom fields.
  • On-sale Filter: This allows the customer to filter the on-sale products.
  • Price filter: This will enable customers to filter products based on price.
  • Taxonomy Filter: Allows customers to filter products based on taxonomy.
  • Clear Filters: The customer can delete the previously applied filters by clicking this button.
  • Date Range: The customer can filter the products on the site for sale on a specific date.
  • Download CSV: The customer can download the list of products in a CSV file by clicking on this option.
  • Full Screen: By clicking this option, the product table will be displayed to the customer in full screen.
  • Mini Cart: Displays the shopping cart to the customer.
  • Pagination: Displays the page numbers of the product table, and the user can move between pages through it.
  • Result count: Displays the number of filtered or searched products.
  • Results per page: shows the number of filtered or searched products on each page.
  • Search: Add a search box where the customer can see related products in the table by typing the main keyword.
  • Sort By: allows the customer to sort products based on different parameters.
  • Space: Add a space between elements.
  • HTML: Add a custom HTML code to the navigation areas.
  • Icon: Add a custom icon to the navigation areas.
  • Media Image: Add a custom media image to the navigation areas.
  • Text: Add a custom text to the navigation areas.

Each of these options have special settings. When you click on each  element, the settings section will be displayed.

Example: Add category, attributes and price filters to the drop-down sidebar on the left side of the table

To add category, attributes and price filter to the left sidebar area, first select the Left Toggle option from the Sidebar Options field. Then, in the Sidebar Elements field, click the Add elements option and select the following options from the left menu:

  • Category Filter

If you click on Category Filter, the settings of this filter will be displayed. You can customize this filter in the General and Style tabs.

In the General tab, you can change the Heading title. You can also limit the customer’s category choice to only one item by activating the “only allow one option to be selected” option.

only allow one option select checkbox

You can add different labels in the Custom term labels section by clicking the Clear label icon. In this section, you can define what should be displayed instead of the default text and label of each category term. For example, you can display a photo, icon or custom text for each term.

add element to category label
  • price filter

One of the most used options for filtering products is price range. The related settings will be shown if we add the price filter element to the sidebar area.

In the price filter settings, we can create several ranges for the price by clicking on the Add an option button. And determine the Max price and Min price for each range.

In these settings, it is possible to edit the label and add different fields for each label.

add price filter to sidebar area
  • Attribute Filter

If you have variable products with various attributes on your online store, it is important to allow the customer to filter products based on these attributes. To create such access, you can select the Attribute Filter element.

After choosing the Attribute filter in the settings section, it is possible to add any attribute, such as color or size, … in this field so that the customers can easily filter the products based on each.

attribute filter on sidebar area

If you want to see how the sidebar will be displayed in the product table after adding these elements, you can click on the eye icon called Live Preview. A pop-up will open, and you can see how the product table will be displayed in the output.

sidebar area filters on live preview

Add search and filter in the header and footer area

You can add the same elements explained in the previous section in the header and footer areas. But the way to arrange and display the elements can be different, and this part gives the site manager more flexibility to set various options.

To customize the arrangement of search and filter options in the header and footer area, you can use the following features in the WooCommerce product table plugin:

Add header/footer row

By clicking this button, we can determine the number of rows in the header/footer.

add new row button

Arrangement of the columns of each row

At the top of each row, a combo box opens that allows you to specify the size of each element in that row. The available options are:

  • Only left column: display all elements on the left side.
  • Left 70%|Right 30%: The elements on the left have 70% of the space of each row, and the elements on the right have 30%.
  • Left 50%|Right 50%: The size of the left and right columns should be equal.
  • Left 30%|Right 70%: Elements on the left have 30% of the row space, and elements on the right have 70%.
  • Only Right Column: Display all elements on the right side of the row.
select header area column size

Add element

After choosing the columns arrangement of each row, we can add the desired elements to the header and footer for filtering and searching by selecting the Add element option.

Example: creating various rows and adding elements to the header and footer in the WooCommerce product table plugin

For example, as you can see in the image below, three rows are added for the header section with these settings:

  • First row sets only the left column.
  • Second row set Left 70% | Right 30%.
  • Third row set Left 50%|Right 50%.
create three row on header section

Different elements have been added in each row, as shown in the picture.

After selecting the header and elements, you can view the live preview by clicking the eye option on the table’s upper right side.

header widgets live preview

If you choose the Pagination element in the footer, the output can be seen as follows:

output two row on footer section

How to display the WooCommerce product table on the site?

When you have completely edited the settings and added the search and filter fields to the sidebar, header or footer, you can display the product table on the site by following the steps below:

Click the [/] button in the upper right corner to copy the table’s Shortcode.

copy shortcode button

Enter the WordPress dashboard and click on Pages > Add new.

Paste the copied Shortcode on this new page and publish the page.

paste and publish shortcode

Enter the page address in the browser to view the product table on your site.

product table customer view
WooCommerce product table pro

Conclusion

Suppose you intend to improve the customer’s shopping experience of your e-commerce website by displaying products in the table and adding the possibility of searching and filtering to the table. In that case, the WooCommerce product table plugin is your best solution.

By installing this plugin, you can add filter and search functionality in the sidebar, header and footer with various options for the customer.

But the most important features that make this plugin an excellent tool for creating product tables are not limited to these options. Ease of use, the possibility of applying multiple filters simultaneously, filtering using any product data, and compatibility with other plugins are the practical features of this plugin.  You will certainly not regret downloading and installing it on your WooCommerce store.

Leave a Reply

Your email address will not be published. Required fields are marked *

Shopping cart
Sign in

No account yet?

We use cookies to improve your experience on our website. By browsing this website, you agree to our use of cookies.

Start typing to see products you are looking for.