Schema markup for WooCommerce in the age of AI search

Schema markup for WooCommerce in the age of AI search

Search engines and AI systems understand your store much better when it speaks their language. That language is schema.org structured data, usually as JSON-LD in the page head. WooCommerce and SEO plugins output some of it automatically, but the defaults often leave out the fields that matter most.

The schema types a store needs

  • Organization: your business name, logo, contact details and social profiles.
  • WebSite: your site name, and the search box if you have one.
  • BreadcrumbList: where each page sits in your structure.
  • Product with Offer: on every product page.
  • FAQPage: only where you have a genuine FAQ visible on the page.
The schema layers of a store
Each layer tells search engines and AI systems something different about your store.

Product fields that matter most

FieldWhy it matters
name, description, imageThe basics, used everywhere
sku, gtin, brandMatch your product to the same item elsewhere
offers.price, priceCurrencyRequired for price in results
offers.availabilityIn stock, out of stock or pre-order
shippingDetailsDelivery cost and time in results
hasMerchantReturnPolicyReturn window and cost
aggregateRating, reviewStars, only from real reviews on the page

GTINs and brand are the most commonly missing. Shipping and return policy can also be set at account level in Google Merchant Center, but adding them to your markup keeps everything consistent.

Common mistakes

  • Two Product blocks on one page, one from the theme and one from the SEO plugin, with different prices.
  • Prices without currency, or sale prices that don’t match the visible price.
  • Variable products showing only one variation’s price. Use an offer range or one offer per variation.
  • Fake or imported reviews in markup. That’s against Google’s guidelines and a risk to your rich results.

Rank Math and WooCommerce

Rank Math’s WooCommerce schema covers most Product fields. Map GTIN and brand to your product attributes or custom fields, set your organisation details in the Knowledge Graph settings, and disable any duplicate schema from your theme.

How to test

  1. Run a product URL through Google’s Rich Results Test.
  2. Check Search Console’s Merchant listings and Product snippets reports for warnings.
  3. Spot-check that the price in the markup matches the price on the page.

Good structured data helps classic rich results today and makes your store easier for AI systems to understand. It’s part of every technical SEO setup I do.

Abul Faez

More about me
Rather not do this yourself?

Get a fixed-price speed fix, done on staging first.

See the speed service

Tell me what’s slow, broken or not built yet.

Book a free 30-minute call or send a short brief. You’ll get a clear plan and a fixed quote, usually within one working day.

MD Abul Faez Full-stack developer, replies within a few hours