Structured Data for SuiteCommerce: What to Mark Up and How to Check It
Structured data is how a product page tells Google its price, stock status and rating in a form a machine can read. Without it, your listing in search is a blue link and a snippet. With it, the listing can show the price, "In stock" and review stars, while a competitor's page shows nothing.
When we took over DiscTech's store, it ran a 2015 release with no structured data at all. Adding it was part of their upgrade to 2024.2. It's also one of the checks that costs stores the most points in our scan of 286 SuiteCommerce sites.
First, see what you already output
Before adding anything, look at what the store already sends. Open a product page with ?seodebug=T on the end of the URL and search the HTML for application/ld+json and itemprop.
That matters because SuiteCommerce releases differ. Older SCA templates include schema.org microdata (itemscope, itemprop) inside the HTML. Newer releases and many extensions output JSON-LD. Some stores end up with both, or with two Product blocks that disagree on price. Google's Rich Results Test shows exactly what it parsed from a URL.
Pick one format and one source. We use JSON-LD, because it sits apart from the template markup and is easy to test.
Product pages
This is the page that earns rich results. A good Product block includes:
name,description,imageandurlsku, andgtinormpnwhen you have thembrand- An
offersblock withprice,priceCurrency,availabilityandurl aggregateRatingandreview, but only when the page shows real reviewsshippingDetailsandhasMerchantReturnPolicyif you want shipping and returns to appear in results
A minimal example:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Stainless Steel Hex Bolt, 1/2 in x 3 in",
"sku": "HB-1203",
"image": "https://www.example.com/images/HB-1203.jpg",
"brand": { "@type": "Brand", "name": "Acme Fasteners" },
"offers": {
"@type": "Offer",
"url": "https://www.example.com/hex-bolt-1-2-x-3",
"price": "4.20",
"priceCurrency": "USD",
"availability": "https://schema.org/InStock"
}
}
Build it from the same item data the page displays. The price in the markup has to match the price on the page, and the stock status has to come from real inventory. Never hard-code InStock in a template. Google compares the markup to the visible page, and mismatches can cost you the rich result.
B2B pricing
If prices depend on who's logged in, the crawler sees the anonymous price. Mark up that price. If anonymous visitors see no price at all, leave the offers block out rather than inventing one.
Matrix items
A shirt in four sizes and three colors is one parent item with twelve children. Google supports this with ProductGroup: the parent lists variesBy (for example size and color), and each child is a Product inside hasVariant with its own SKU, price and availability. See Google's product variant documentation.
If you don't want to model every variant, mark up the parent with the price range and the default selection. Don't output twelve separate top-level Product blocks on one page.
Category pages
Add a BreadcrumbList that matches the visible breadcrumb. It's simple, and Google uses it to show the path in place of the raw URL.
You can also add an ItemList of the products on the page. Keep it to the products actually listed, with each product's URL.
Home page
Add Organization with your name, logo, URL, contact details and sameAs links to your social profiles. Add WebSite with the site name. This is the data Google uses for your brand's knowledge panel and site name in results.
Make sure crawlers receive it
SuiteCommerce renders a version of each page for crawlers on the server. Google can also run JavaScript, but structured data that exists in the server-rendered page is the safe option. If an extension builds the JSON-LD only after the page loads in a browser, check the seodebug=T output to confirm it's there.
If the JSON-LD is missing there, look for JavaScript errors in the same response. One failing extension can break the server render, and then the markup can disappear along with the content.
Check and monitor
After each release:
- Run three or four representative URLs through the Rich Results Test: a simple item, a matrix item, an out-of-stock item and a category.
- Check the Product snippets and Merchant listings reports in Search Console for new errors.
- Spot-check that the price and stock in the markup match the page.
Rich results aren't guaranteed even with perfect markup. Google decides when to show them. But without the markup, they aren't possible at all.
We sell a schema extension for SuiteCommerce that adds Product, Offer, AggregateRating, BreadcrumbList and Organization markup. Whether you use it or build your own, the rules above are the same.