In this article, you will learn more about how to:
- Create a new product attribute
- Edit an existing product attribute
- Delete a product attribute
- Assign attributes to a product
Before we look at the specifics of managing product attributes, it is important to define a few terms as they are used in the Prodigy platform for clarity:
Attribute - An attribute is any descriptive feature of a product that has one or more values that will apply to specific products. Examples of attributes include things like Brand, Activity, Material, Size, and Color. Each of these would have multiple values where one or more may apply to a particular product. For example, the Brand attribute for a store might have the values of Adidas, Nike, and New Balance. The appropriate value for this attribute would be assigned to each product.
Option - An option is a special type of attribute where multiple values would apply to one specific product and one value must be selected before the item can be purchased. For example, a Size attribute will often be an option because a specific size needs to be selected before the item is purchased.
Variant - A product variant is one unique combination of option values for that product. If a product has Size and Color options, there would be a variant for each unique combination of size and color that are available.
To manage your store's list of product attributes and values, navigate to Prodigy -> Attributes in the WP Admin.
Create a new product attribute
In the left column of the attributes page, you will see the New Attribute form. The Name that you give to the attribute is what will be visible on the frontend of your website when customers are using the attributes filter widget or viewing a product page. The Slug is what will be used in URLs on the frontend of the site when attribute filters are being applied. The slug can only contain letters, numbers, and hyphens. The Attribute values should be entered separated by commas. When you are done, just click the Add attribute button to save the new attribute and it's values.
Edit an existing product attribute
You will see the list of all of your store's product attributes just to the right of the new attribute form. To edit an existing product attribute, just hover over the name of the attribute, and you will see several links appear. Click on the Edit link as shown below to navigate to the edit attribute page.
You will then see the Edit attribute form as shown below. These are the exact same fields from the create new attribute form. You can edit them as you see fit and then click the Update button to save your changes.
Delete a product attribute
From your product attributes list, you can delete an individual attribute by hovering over the attribute name and then clicking on the Delete link as shown below.
You will then be asked to confirm the action before the product attribute is permanently deleted from the system. It is important to understand that if that the attribute you are deleting will be removed form any products that you have assigned it to and any variants that are using that attribute will also be deleted. To proceed with the deletion just click the OK button.
Assign attributes to a product
From the Add Product or Edit Product pages, you will always see the product attributes box just below the shipping and tax section. To assign attributes to that product simply click the Add attribute button and then select the attribute and appropriate values from the dropdown fields that appear below. When you have are done adding the attributes, click the Publish button at the top right of the pages to save your changes.
We will cover assigning attributes to a product and using them to create variants in much more detail in our next article on Creating and editing products.