How to use attributes in a WooCommerce product table?

Our WooCommerce Product Table plugin fully supports product attributes. You can display attributes in a table, sort by attribute, filter by attribute, or even list products with specific attributes. This article describes various ways to use attributes with the WooCommerce product table.

Global or product-specific attributes?

First, you need to decide how to add your attributes, because WooCommerce provides two ways to do this.

In WooCommerce, you can create attributes globally and then select them for each product; or you can add attributes individually for each product.

As a rule, we recommend adding your attributes globally in the “Products” → “Attributes” section, and then selecting them for each product. This is because global attributes are easier to use to group multiple products, and you can add drop-down filter lists only when using global attributes.

Attribute Columns

You can list each attribute as a separate column in the product table. For example, you can create one attribute column for an attribute named “color” and another for an attribute named “size”.

How to use attributes in a WooCommerce product table?Display products with a specific attribute

You can create a table with a list of products only with a specific attribute value – for example, you can list products with a “red” attribute.

WooCommerce Product Table, due to its wide functionality, can do this .

 To  create a product table from a specific Attribute, open WooCommerce Product Table -> Add New Table-> Select Products to add-> and Select the desired Attribute->

And select the products you need from this Attribute.

attributes in a product table

Attribute filtering

You can also filter by attribute. Read this attribute filter documentation.

ThumbnailNameCategoriesPriceColorSize
Blush Hoodie, $20.00BlushM, S, XL, XS
Red T-Shirt, , , Original price was: $10.00.Current price is: $8.00.RedL, M, XL
White T-Shirt, Original price was: $10.00.Current price is: $7.00.WhiteM, S, XS
Gray T-Shirt, , , Original price was: $15.00.Current price is: $9.00.GrayXL, XXL
Blue T-Shirt, Original price was: $15.00.Current price is: $9.00.BlueL, M, S, XL, XS, XXL, XXXL
Gray Hoodie, Original price was: $30.00.Current price is: $25.00.GrayM, S, XL, XS, XXL, XXXL
Red Hoodie$20.00RedL, M, XL, XS, XXL
Filter: Reset

Attribute Sort

You can sort the table by attribute – allowing customers to click the attribute column heading to sort by this attribute.

use attributes in a WooCommerce product table

Using Attributes as Variations

A product variation consists of one or more attributes that you use to create a variation.

Example:

A product can have two attributes:

  • Color (with attribute values ​​Green and Black) and
  • Size (with attribute values ​​Small and Large)

If you create options based on all these attributes, the product will have the following options:

  • Green small
  • Green large
  • Black small
  • Black large
    Once you have used your attributes to create product variables, you can display it.

Read this documentation to learn more about it.

Categories
Latest Articles

Buy Now Bundle and save over 60%

Buy now