ProductGroup for Product Variant Schema markup supported by JSON-LD for SEO
Google recently announced a new way of adding structured data for product variants.
Today I am happy to share that JSON-LD for SEO now supports the new ProductGroup structured data.
The new ProductGroup markup will be rolled out to JSON-LD for SEO customers in the next few weeks or months. All new installs as of April 1, 2024, will automatically have ProductGroup markup.
UPDATE: As of June, 2024, all JSON-LD for SEO have ProductGroup markup.
What is ProductGroup markup?
Those concerned with Merchant Center will see the biggest impact with ProductGroup markup.
The challenge was that we could not easily show when a variant had a parent product in the structured data. How would Google know that a cell phone case came in different colors yet all from the same main product?
Before this update, Google never addressed how they expected variants to be shown in the product's structured data. That meant it was a free-for-all and folks just had to test to see what worked. Heck, that's what we did! After years of discussion (since at least 2017), we finally have our answer.
The ProductGroup markup now allows us to show a connection between the main product, and its variants.
This is especially beneficial for merchants who continue to have price mismatching issues.
There are two different ways to incorporate the ProductGroup structured data.
- Single page, where all variants are selectable on a single page.
- Multi page, where variants of the same product are accessible on different pages.
Single page markup is supported out of the box since that's how Shopify builds variants by default. That means all variants on the page have a single canonical URL for the main product.
Multi page markup is supported with the use of metafields for those who break out variants onto individual product pages.
What changes will I see in my product structured data?
The change you'll probably notice the most is that each variant will have its own Product definition. This is especially visible when looking at a Rich Results test under Merchant Listings.
As you can see in the screenshot below, this product has two variants, each with their own set of product markup.
When you expand one of the variants, you'll now see a field for inProductGroupWithId
. This is your Shopify product ID which allows us to connect your parent product with its variants.
Are there any concerns with using ProductGroup structured data?
The biggest concern with ProductGroup markup is that it's new. As such, we don't know yet how it will impact stores that want to show price ranges in Rich Results.
That's why we've decided to roll the new structured data out in phases. It allows us to monitor your results before rolling the change out to all customers.
If you have any questions or concerns about ProductGroup, let me know. Contact me using the help icon on the bottom right of this page or via email.
JSON-LD for SEO
Get more organic search traffic from Google without having to fight for better rankings by utilizing search enhancements called Rich Results.