Product attributes in WooCommerce are used to create variations of a product, and each variation can have a different SKU. You can add as many product attributes as you need, and each one can be used for multiple products.
To add a new product attribute:
- Go to: WooCommerce > Products > Attributes.
- Add New Attribute. This will bring up the Add New Attribute form.
- Name: Enter an internal name for the attribute (this is only used internally – customers will never see this). For example, “color” or “size”.
- Slug: Enter an attribute slug to be used in the shop URL.
- Type: Select how you want your values to be entered. Choose from select (a dropdown), text (user entered text), or color (a color picker).
- Order By: Choose how you want your values displayed on the frontend. Choose from menu order or name.
- Default Sort Order: Choose ascending or descending order.
- Use values set in advance: You can pre-enter all possible values for this attribute, then choose Set terms. This is useful if you know all the values you want to use ahead of time, such as size or color options. When done, click Add Attribute.
After adding the attribute, you will need to add variation values. These are the actual values that will be shown on the frontend product page.
Conclusion
Product attributes are a great way to offer variations of a product in WooCommerce, and they can be used for multiple products.