According to businessdictionary.com, a product attribute is ‘Characteristics of a raw material or finished good which make it distinct from other products. Attributes include size, color, functionality, components, and features that affect the product’s appeal or acceptance in the market.’ However, in WooCommerce, WooCommerce Product Attributes are also a way we can use to group related products together.
How to add/edit product attributes?
Set global attributes
Go to Products > Attributes to include, edit, and delete attributes.
Here you can quickly and effortlessly include attributes and their terms.
- Include a Name.
- Optionally, you can include a Slug; this is the URL-friendly adaptation of the name.
- Enable Archives if needed. If enabled, you will have the capacity to see a page with all items having this attributes. For instance, on the off chance that you have this enabled, and “black” is one of the options under “color”, you can include: http://yourstore.com/pa_color/black/ to your menu to only show the black clothing – pa mean “product attributes”.
- Pick the Type. This is utilized in the items. If you want to have similar attributes for the entire store, you can pick “Select”. On the individual item, you’ll have the capacity to choose the attributes. On the off chance that you pick “Content”, you’ll have the capacity to type in new values to the attributes.
- Pick the Default sort order. You can pick between “Name”, “Name (Numeric)”, “Term ID” or “Custom ordering” where you choose by dragging and dropping the terms in the list (see below). “Name (Numeric)” is important if the values are numbers. On the off chance that you select “Name”, it will sort it alphabetically in order with 1 and 10 preceding 2. On the off chance that you select “Name (Numeric)” it will sort by numerical value.
Select Add Attribute.
The attribute will now be included in the table on the right but without values.
Select the gear icon to include attribute values. “Configure terms” will appear when you hover over it.
Next, you can Add New “Property name”, where “Attribute name” will naturally take the name you’ve given to the attribute in the beginning.
Include as many values as you need. On the off chance that you’ve picked “Custom ordering” for the attribute, reordering your values should be possible here.
Add global attributes to product
From then on, you can include the newly created attributes into your items.
First, go to Product > Add Product (or edit an existing product)
Then, select the Attributes tab in the Product Data. In this tab, you can select any of the attributes which you have created in the drop-down menu.
On the off chance that you’ve chosen an attribute of the “Select” type, you’ll have the capacity to include all terms you’ve included before.
In the event that you’ve chosen an attribute of “Test” type, you’ll have the capacity to include terms separated by a pipe (“|”). These terms will be added to your global attributed once you save.
Add custom attributes
On the other hand, you can include an attribute you only need to use for 1 item. This would likely be perfect in the event that you have an item with unique varieties.
Go straightforwardly to: Product > Add Product.
Select the Attributes tab.
There, pick Custom product attribute in the drop-down menu and follow the steps mentioned above.
This concludes my walkthrough to what you need to know in order to utilize WooCommerce Product Attributes successfully for your shop. I hope you found this article helpful and please tell me what topic you would like me to write about next!