Blog / Shopify & e-commerce /

How to plan structured product data QA across theme releases

The theme release looks fine. Same layout, same product photos, nice new animation. Underneath, the price in the structured data now shows the compare-at price, the availability says “InStock” for a sold-out variant, and an app is outputting a second Product object nobody asked for. You can’t see any of it, which is the whole problem.

A product data change or theme release can alter structured data across many pages without any visible design change. Testing one product isn’t enough when templates, apps or variants produce different output. Plan QA around where the markup comes from and the page states customers can reach.

Map the data sources

Find out whether product structured data comes from Shopify theme code, an app, a custom script or a mix. Record who owns it and which version is live. Check for duplicate Product objects and conflicting prices. If several systems contribute markup, decide which is authoritative before you edit anything. On a Shopify store, I’d want that decided before the first release test, not after.

Choose representative URLs: a standard product, one with several variants, a sale price, an out-of-stock item, a localised market and a product with missing optional data. Record the URL, the selected option, the test date and the expected values.

Validate rendered data

Inspect the raw response, and the rendered output where JavaScript changes the page. Compare name, price, currency, availability, image and identifiers with what’s visible. Confirm how the selected variant behaves. Test after cache clears and in the relevant market settings. A parseable result can still be wrong.

Use current official structured data guidance and testing tools, and keep syntax, eligibility, policy compliance and actual display apart. Valid markup doesn’t guarantee rich results. And don’t add made-up values just to clear a warning. I don’t trust a green tick that was earned by faking a field.

Separate test cases by change type

A theme release may change presentation without touching data generation, while a product import may change values without touching code. For a data change, verify the source of price, availability, image and identifier. For a theme change, inspect the emitted markup and look for duplicate objects. For a market change, check the locale-specific currency and availability. These catch different errors, so don’t collapse them into one green status.

Include release regression

Before a theme release, save baseline results and test output on staging. After release, repeat the same cases and look at the differences in the source. If an app update changes the markup, coordinate with its owner. Keep production and staging separate.

Keep a practical approval gate

Decide who reviews the structured output before a major release. Developers can check the implementation, product owners can confirm the facts, and SEO or content owners can judge page purpose. Don’t make one role approve everything by default.

Record expected values for representative products and compare after release. If a test fails, pause or roll back according to impact. Don’t leave a known mismatch live while you wait for search reporting.

Establish ownership at every layer

Document whether the theme, an app, product data or custom code controls each property. If ownership is unclear, the same warning will return after every update. For an app update, check the release notes and test whether its markup now conflicts with the theme. For a catalogue update, make sure empty or changed fields don’t create invalid offers. If a test fails, log the source and send it to the right owner, instead of one generic “schema” ticket.

Include fallback and error states

Structured data may vanish when a product is unavailable, an app request fails or a variant lacks a value. Test those states on purpose. Check that no stale price or availability stays in the response when the visible page has changed. If a value can’t be supplied, leave it out where the format allows rather than inventing a default.

Keep release evidence and improve the checks

Save the tested URLs, an output sample, the theme or app version and the approval. When a warning appears later, you can compare it with a known result. If the process keeps flagging an intentional value, or keeps missing the same defect, adjust the checks and keep examples of valid exceptions. Review the test set when product types, feeds or markets change.

Can your team show which system generated each data field, and prove the output still matches the exact offer a visitor sees?