1. Home
  2. Docs
  3. WooCommerce Product feed
  4. Add Extensive Custom Fields

Add Extensive Custom Fields

Some popular merchant sites such as Google Shopping or Facebook Dynamics has specifications for the data that you need to provide to be approved.

However, WooCommerce by default doesn’t come with fields for some of these information.

Fields such as Brand, GTIN, MPN, UPC, Age Group, Pattern, etc are not available at WooCommerce by default.

You can either manually create custom fields for them or you can use WooCommerce Product Feed Manager to automatically have these fields available.

Then you can simply input the required data for every product and generate a proper feed that will get approved.

Enable extensive custom fields (Pro)

You will need to have the Pro version of the plugin to get this feature.

Go to Dashboard > Product Feed > Settings.

WPFM Settings Page

On top, click on the tab called Controls, and it will give you some control options.

WPFM Control Options

Here you will get four options to help you optimize your product feed.

  • Fix WooCommerce’s (JSON-LD) Structured Data Bug
  • Exclude TAX From Structured Data Prices
  • Add Unique Product Identifiers (Brand,GTIN,MPN,UPC and EAN)
  • Add Detailed Product Attributes (Size, Pattern, Material, Age Group, Gender)

Click on the buttons on the right side of each of them to activate/deactivate these features (blue for active, grey for deactivated).

>>Fix WooCommerce’s (JSON-LD) Structured Data Bug

Control 1 JSON-LD

Some WooCommerce sites have JSON-LD file what is not properly structured for crawling by Google. This usually may result in the rejection of products.

Activating this will create a structured JSON-LD to avoid such rejections.

>>Exclude TAX From Structured Data Prices

Control 2 Exclude Tax

Activate this option to exclude tax from prices when generating product feed.

>>Add Unique Product Identifiers Fields

Control 3 Add Identifiers

Activate this option to add the custom fields – Brand, GTIN, MPN, UPC, and EAN – for all of your products.

Once activated it, you can go to your products an check if the fields are added.

Go to Dashboard > Products > All Products (or Add New) and edit a product.

Scroll down to the Product Data section.

For a Simple Product, these fields will be added on the General section.

Add Fields simple products

For variable products, the Brand field will be on the General section.

Add Fields variable products 1

However, the other four fields will be added within the details of each variation.

Add Fields variable products 2

>>Add Detailed Product Attributes

Control 4 Add Attributes

Activate this option to add the custom attributes – Size, Pattern, Material, Age Group, and Gender – for all of your products.

Google needs you to include these attributes on your product feed if the products fall under the category, Accessories.

Once activated it, you can go to your products check if the attributes are added.

Go to Dashboard > Products > All Products (or Add New) and edit a product.

Scroll down to the Product Data section.

For a Simple Product, these attribute fields will be added on the General section.

Add Attributes simple products

For variable products, these attribute fields will be added within the details of each variation.

Add Attributes variable products

Once you input data in these fields, you can then use them as attributes when generating product feed.

Using Custom Field Values When Generating Feed

When generating feed, as you know, you have to assign values to your attributes.

Add Value

For the custom fields generated using WooCommerce Product Feed Manager, you will need to choose the following values:

AttributeValue
Product Brandwpfm product brand
Product GTINwpfm product gtin
Product MPNwpfm product mpn
Product UPCwpfm product upc
Product EANwpfm product ean
Product Sizewpfm product size
Product Patternwpfm product pattern
Materialwpfm product material
Age Groupwpfm product age group
Genderwpfm product gender
Custom Attribute Values

For example, if you have assigned a GTIN, then you need to choose the value wpfm product gtin.

GTIN Value

Use other attribute values in the same way.

**If you use the fields UPC or EAN, then when generating feed for Google Shopping, choose the values mentioned here, but the Attribute name will remain GTIN, as shown below:

EAN and UPC Attribute

For all other attributes, they have their unique respective Fields and Attributes available.