Skip Navigation

Creating a Custom List of Related WooCommerce Products

Related products is a list of products with something in common with the currently displayed product. With Toolset, you can create a custom list of related products.

Custom list of related products
Custom list of related products

You can fully control the appearance of your output and the set of fields to display.

You can even add your own filter to select related products. For example, instead of connecting the products by product categories you might want to use a custom taxonomy or a custom field.

To create a custom list of related products, you need to create a View inside your single-product template.

  1. Go to Toolset →  Dashboard and in the Products row, click to open your template for editing.
  2. Insert the View block.
  3. In the wizard, when selecting the content to display, select related products, upsells, or cross-sells.
Selecting Related products, UpSells, or Cross-Sells when creating a custom list of Products

That’s it, all you need to do now is add blocks to the View, with product fields of your choice.

With Toolset, you can also set up a custom taxonomy for WooCommerce products.

Use the following steps to display a list of products that are related by such custom taxonomies:

  1. Go to Toolset →  Dashboard and in the Products row, click to open your template for editing.
  2. Insert the View block.
  3. In the wizard, when selecting the content to display, select Products All products.
  4. Once the View is created, click to select the main View block.
  5. In the right sidebar, expand the Content Selection section.
  6. Click Add a filter and in the dialog that appears, select to filter by your custom taxonomy (i.e. “Departments”) and set it to the page where this View is shown option.
Setting up a filter to connect products by custom taxonomy

Main Toolset Block Used in this Lesson

Create custom lists of posts