Get Started
How to add product details to your Google Shopping feed - AdTribes
  1. Home
  2. Knowledge Base
  3. Fields & Mapping
  4. How to add product details to your Google Shopping feed

How to add product details to your Google Shopping feed

Want Google Shopping to show extra specs like material, dimensions, or warranty? Google takes these through its product_detail attribute, made for details that don’t fit a standard field.

Product Feed Pro (also available in Product Feed Elite) maps product_detail through a dedicated panel on the Field Mapping tab. This guide covers adding the detail in WooCommerce first, then mapping it to your feed.

Google sets rules for each product detail. Each one is a section name, an attribute name, and a value, up to 150 characters. Don’t put price, sale price, sale dates, shipping, delivery dates, or your company name in a product detail. Google disapproves products that break these rules. See Google’s product detail specification for the full list.

Prerequisites

RequirementDetails
Plugin versionProduct Feed Pro 13.5.8 or later. The Field Mapping tab’s sub-attribute panel (used below) isn’t available on older versions.
Feed channelA feed with the Google Shopping channel selected on its General tab.
WooCommerce dataAt least one custom or predefined WooCommerce attribute already set on the products you want to describe, for example Material or Size.

Add product details in WooCommerce

  1. Go to Products, select a product, then click Edit.
  2. Scroll to the Product data section and open the Attributes tab.
  3. Add your custom or predefined attribute (for example “Material” or “Size”) and enter its value.
  4. Click Save attributes, then Update the product.
The WooCommerce product Attributes tab with a custom Material attribute added

Map product details to your feed

  1. In your WordPress admin menu, go to Product Feed, then open the feed that uses the Google Shopping channel.
  2. Click the Field Mapping tab.
The Field Mapping tab's column headers (Feed attribute, Affix, Source from WooCommerce) and the Add field mapping button

The tab lists the attributes of the feed’s own channel. The channel name shows next to Checking against: at the top.

  1. Type “product detail” into the Search fields box to find the Product detail row.
  2. Click the expand arrow next to Product detail.
  3. Click Configure sub-attributes. Three rows appear underneath: g:section_name, g:attribute_name, and g:attribute_value.
  4. In the g:section_name row, type the label you want Google to group this detail under, for example Material.
  5. Set the g:attribute_name source to Static value and type the attribute’s display name, for example Material.
  6. Set the g:attribute_value source to the WooCommerce attribute you added in the previous section.
  7. Click Save Changes.

Product detail sits in the Shopping Actions group and has no Required badge, because Google treats it as optional. The g:section_name row is set to Static value already. Google also marks the section name as optional, but recommends it.

The Product detail row expanded, showing the g:section_name, g:attribute_name, and g:attribute_value rows with Material mapped

To add a second detail, for example Size next to Material, click Add group underneath the three rows. Each group adds its own set of three rows. In an XML feed, each group becomes its own g:product_detail entry. In a CSV, TSV, or TXT feed, all groups go into one cell, separated by ||.

The steps are the same for XML, CSV, TSV, and TXT feeds. You don’t need to type the section_name:attribute_name:attribute_value string yourself. In CSV, TSV, and TXT feeds, the plugin builds it from the three rows.

Preview your feed

After you save your mapping, check the result before you send the feed to Google.

  1. Check the Output preview panel next to the table. It shows your mapping for one real product, so you can check <g:product_detail> before you refresh the whole feed.
  2. Go to Manage feeds.
  3. Click the Refresh Feed icon for this feed.
  4. Open the feed’s URL and confirm the g:product_detail entries appear for your products.

Troubleshooting

My WooCommerce attribute doesn’t appear in the Source dropdown
Click Clear custom attributes cache, then reload the Field Mapping tab. Why removed custom attributes still appear in your feed shows where the button is. The plugin keeps a cached list of your custom attributes and refreshes it on its own every 24 hours.

Need more help?

If you’re a Product Feed Elite user, open a support ticket to get faster support.

If you’re a Product Feed Pro user, please create a new topic on the WordPress.org forum.

Was this article helpful?

Related Articles

Complete Your Purchase
AdTribes WooCommerce Product Feed

The best WooCommerce product feed plugin

  • AdTribes Pty Ltd
    ABN: 40 675 636 816
Product
Resources & Info
Partner Sites
Rymera