How To Add Attribute In Woocommerce Product

Incorporating attributes into your WooCommerce products can significantly improve their functionality and ease of use. This article aims to provide a step-by-step tutorial on how to add attributes to your WooCommerce products.

Step 1: Log in to Your WordPress Dashboard

To begin, log in to your WordPress dashboard and navigate to the “Products” section. From there, click on the product you want to add attributes to.

Step 2: Add Attribute

Once you are on the product page, scroll down to the “Attributes” section. Click on the “Add Attribute” button to create a new attribute for your product.

Attribute Name

In the “Attribute Name” field, enter the name of the attribute you want to add. This will be the label that customers see when selecting options for this attribute on the product page.

Attribute Type

Select the type of attribute you want to create from the drop-down menu. The most common types are “Select” and “Text.” A “Select” attribute allows customers to choose from a predefined list of options, while a “Text” attribute allows them to enter their own value.

Attribute Values

If you selected the “Select” attribute type, you will need to add the available options for this attribute. Click on the “Add Value” button and enter the name of each option in the “Value” field. You can also set a default value by checking the “Default” box.

Attribute Visibility

Determine whether you want this attribute to be visible on the product page or not. If you select “Visible,” customers will see the attribute and its options when viewing the product. If you select “Hidden,” the attribute will still exist but won’t be displayed on the product page.

Attribute Position

Choose the position of this attribute in relation to other attributes on the product page. You can either set it as a “Global Attribute” or assign it to a specific category or tag.

Step 3: Save Changes

Once you have added all the necessary information for your attribute, click on the “Save Attributes” button to save your changes. Your new attribute will now be visible on the product page, allowing customers to select their preferred option.


Adding attributes to your WooCommerce products can greatly enhance their functionality and usability. By following these simple steps, you can easily create and manage attributes for your products, providing a better shopping experience for your customers.