How to add Brand, Manufacturer, and Color attributes to your products
The WooCommerce SEO plugin can add Product Brand, Product Manufacturer, and Product Color Schema data to your product pages. To allow it to do that, you need to add the attributes to WooCommerce, then configure them on the product page.
How to create attributes in WooCommerce and configure them on the product page
Before the attributes can be used by WooCommerce SEO, they need to be created in WooCommerce first. Follow the steps below to create the attributes and add them to your WooCommerce product.
Note: in this example, we add the Brand attribute. But, you can follow the same steps to add the Manufacturer and Color attributes as well.
- Go to the Products menu item, then select Attributes.
The attributes screen opens.
- Add the new attribute.
Add the Name and the Slug of the attribute in the designated fields (In this case – Brand). Then click Add Attribute and you will see the attribute in the list on the right.
- Click the Configure terms link.
A new screen will open. You can add the terms of the attribute there. More precisely, you can add the names of the brands you feature on your site.
- Add the terms to the attribute.
Add the Name, Slug, and Description to the Brand attribute. Then click Add new Brand.
- Go to the WooCommerce SEO settings.
After you’ve added the Brand attribute, you can select it in the WooCommerce SEO plugin settings by going to SEO > WooCommerce SEO. The WooCommerce SEO settings screen will open.
- Add the Product Brand attribute
Click on the Dropdown menu next to Brand, to select the Product Brand Attribute. Then, click Save Changes.
- Open the Attributes tab in the Product edit page.
Go to the Products menu item in the Admin menu, and select the desired Product from the overview (not shown in the image below). Once you open the Product edit page, scroll down to the WooCommerce product data box, and select the Attributes tab.
- Add the Brand Attribute to the product.
Click on the dropdown box that says Custom Product attribute and select Brand. Then, click Add. The Brand will be added and some additional options will appear.
- Select the Brand value.
To select the value, click on the empty box below Values. The Brand values you have added will appear. Select the one you want (in this case: Dunkin’ Donuts). Click Save Attributes. That will add the Brand attribute to the product page.
The Yoast WooCommerce SEO plugin will add the ‘Brand’ attribute as an OpenGraph “product:brand” tag in the source code of the product page and the product:brand tag for use with Pinterest.