How to fix missing schema product on WooCommerce

Add Product schema markup (JSON-LD) to every product page so search engines can display rich results — including price, availability, and ratings — directly in search.

Steps for WooCommerce

  1. Install the free 'Rank Math SEO' plugin or 'Schema & Structured Data for WP & AMP' plugin from the WordPress plugin repository (Plugins → Add New, search the plugin name).
  2. For Rank Math: go to Rank Math → Titles & Meta → Products, ensure 'Schema Type' is set to 'Product'. Rank Math auto-populates all required fields from your WooCommerce product data.
  3. For manual control: add the JSON-LD snippet to your child theme's 'woocommerce/single-product.php' template inside the wp_head() hook, using PHP variables like get_the_title(), $product->get_price(), $product->get_sku().
  4. Check the output on a live product page using Google's Rich Results Test.
Official WooCommerce documentation ↗

What is missing schema product?

Product schema is a standardized block of code (called structured data) that you add to your product pages to formally tell Google and other search engines exactly what your page is about: the product's name, price, availability, images, and reviews. It uses a universal language called Schema.org, wrapped in a small JSON-LD script tag that visitors never see. Without it, search engines have to guess at your product details by reading your page like a human would — and they often get it wrong, or simply skip the enhanced display altogether.

Product schema directly unlocks Google's "rich results" — those eye-catching search listings that show star ratings, price, stock status, and product images right on the search results page, before anyone even clicks. Stores with rich results consistently earn higher click-through rates (often 20–30% more clicks) than plain blue-link listings showing the same product. Missing this markup means your products appear as generic text links while competitors with schema get the visual treatment. It also feeds Google's Shopping Graph and AI-powered answer features (like Google's AI Overviews), so without it you are invisible in an increasing share of product discovery moments.

See the complete Missing schema product guide for every platform and the full background.

Not sure if your WooCommerce store has this?

Run a free SEOLZ scan — we’ll find missing schema product and every other issue across your whole site.

Scan my site free

Fix missing schema product on another platform