#1 Independent Seller of WooCommerce Plugins


< Back to blog

WooCommerce Essential GuidesWooCommerce: How to add product attributes

Welcome back to this guide on how to properly install and configure WooCommerce. In the previous chapter we have seen how to set up the categories and product tags, in order to improve browsing through your website and increasing the chances of sales.

While it’s true that these two components are very important to categorize the items we sell, there’s a third option we shouldn’t forget about: attributes.

Let’s consider the example of a clothes store: I might want to add categories such as “Men”, “Women”, “Kids” and tags such as “Cotton”, “Wool”, “Synthetic”.

But there are several other aspects that are just as important, such as size, color etc…

In this case we are going to use attributes that allow us to create several levels of features you can link to your products.

Attributes are important as well, as there are several plugins, including YITH WooCommerce Product Filter, that allow you to insert one or more filters in the store page. And do you know how important filtering by color and size is when buying a shirt online? Well, that should give you a pretty good example as to why this section is so important.

The attribute creation and configuration process is similar to the one described in the previous chapter of this guide: the first thing to do is going to Products > Attributes:


In this screen you will find the form needed to create a new attribute on the left and those that already exist on the right. Once the attribute is created, “Color” in my case, you can add values to it by clicking on the gear icon you will find on its right:


A new screen like the previous one will now open, displaying a form to add a value on the left and the values you already entered on the right:


As you can see, in the summary screen you can see the name, description (if entered), the slug (name of the attribute appearing in the website URL) and the number of products with that specific feature, in Count.


Once the attributes you need are created, you can assign them to each object from the product page. To do so, move towards the bottom of the page until you reach the features box, including the price, and click on the attributes tab:


Now, in case you haven’t already done it, you can create a new one by choosing “Custom Product Attribute”:


From the drop-down menu you can select one of those that are already created:


Once the attribute is chosen, you can select which one of its values you wish to assign to the product:

Once selected, save by clicking on “Save Attributes”.

Now, if you picked the “Visible in the product page” option, attributes will appear in the product page, in order to inform customers of the product’s details:


It’s the very same procedure for each attribute, you can assign multiple ones to each product in order to shape the store just the way you like!

Thank you for reading this chapter of our guide, see you in the next chapter!