WooCommerce itself sends only thin markup. In practice, your SEO plugin does the real work. Install Yoast SEO with its WooCommerce SEO extension, or install Rank Math, and the plugin builds a Product block for each product page on its own. That convenience brings a trap. Your theme may also send a Product block, and when plugin and theme both speak at once, crawlers get two versions of the same product and cannot reconcile them.

Platform screens change over time. If a menu name in this guide does not match what you see, check the vendor docs linked in Sources for the current path.

What makes WooCommerce different

Hosted platforms hand you a theme that owns structured data from end to end. WooCommerce does not. The markup layer is a plugin, so you configure it rather than code it. That also means clashes stay hidden. Many popular WooCommerce themes ship with their own Product schema built in, and both Yoast and Rank Math generate schema by default. Install a plugin without looking first and a double block is the likely result.

Depth is the second difference. Simple products come out fine from a plugin. Variable products are harder. Per variant stock status and product identifiers such as GTIN and MPN need deliberate setup rather than working on their own.

Work through it in this order

Look at the source first. Open a live product page, view the page source, and search for application/ld+json. Sort out which blocks the SEO plugin sends and whether the theme sends one too. Read your theme documentation for built in schema support before you configure anything else.

Keep a single source. When theme and plugin both send Product schema, switch one off. Most themes with built in schema include a setting to disable it. Yoast and Rank Math both let you switch off their schema output per content type. One incomplete block beats two blocks that disagree on price.

Set up the plugin properly. In Yoast, open the Yoast SEO settings, fill in your Organization details under the site representation settings, then set the default schema type for products under the Products content type settings, so every product page gets a Product block. In Rank Math, open Rank Math, then Schema, and confirm the product schema template is turned on for product pages. Both plugins also offer identifier fields. Fill in GTIN, UPC, or MPN values where you hold them. Identifiers are what let a tool match your product across different sites.

Treat variant stock as its own job. This is the weak spot. Default plugin output does not always set stock status per variant. A variable product page that calls every size in stock when some sizes are gone teaches tools to distrust your markup. After setup, view the source of a specific variant address and confirm each variant stock value matches real stock. When it does not, a developer can fix it with a small custom plugin or a code snippet that corrects the value per variation.

Test the hard pages, not just the easy ones. Run a product address through Google's Rich Results Test and the Schema Markup Validator. Include a variable product with mixed stock, an out of stock product, and a product with reviews. Confirm the rating in the markup matches reviews a shopper can actually see on the page.

A shop that cleaned up its doubles

Imagine a spice shop on WooCommerce, Summit Spice Co., with about 35 products, many sold in more than one jar size. The owner checks the page source and finds the theme sending a thin block with name and price only, while Rank Math sends a fuller block with stock status and ratings. The owner switches off the theme schema output, keeps Rank Math, fills in GTIN values on the best sellers, and spot checks a jar size that is sold out to confirm the markup reports OutOfStock. One source, real identifiers, and stock values worth trusting.

Two companions worth adding

Once the markup is valid, two more pieces help AI tools use it. An llms.txt file gives tools a short plain summary of what your business sells and where the key pages sit. Open crawler permissions in robots.txt make sure AI crawlers can reach the pages carrying the markup at all. Aizii Learn covers both topics in full, in separate guides.

What this guide leaves out

This guide covers getting one valid markup source onto WooCommerce product pages. It does not cover keeping prices and stock fresh as inventory moves, which is ongoing monitoring work. It also does not cover getting AI crawlers past caching and security layers, or letting an AI tool finish a checkout, which is a separate transaction job.

Frequently Asked Questions

Where does WooCommerce product markup come from?

From your SEO plugin in practice, not from WooCommerce core. Core sends only basic markup. Yoast SEO with the WooCommerce SEO extension or Rank Math does the full job.

My theme and my plugin both send blocks. What should I do?

Switch one off. Two blocks that disagree on price are worse than one incomplete block. Check the theme settings first, then the plugin settings per content type.

Why do variable products need extra attention?

Because default output can miss per variant stock status. A page that claims every variant is in stock when some are not will cost you trust fast. Check variant addresses directly.

Are GTIN, UPC, and MPN fields worth filling in?

Yes, where you hold the values. They let tools recognize the same product on your site, on a marketplace, and on a reseller page.