Core details

Price & availability

Ratings & reviews optional

FAQ schema optional

Breadcrumb schema optional

Schema readiness

0 of 6 required fields ready

Export code

Magento doesn't support a single copy-paste snippet the way Shopify/WooCommerce do — it needs a small module (a block class, a template, and layout XML, plus the registration files Magento requires to recognize any module). This generates all five, pre-filled, as a ready-to-install zip.

    Fill in the required fields to enable download.

    Install: unzip into app/code/CommerceAI/ProductSchema/ in your Magento root, then run:
    bin/magento module:enable CommerceAI_ProductSchema && bin/magento setup:upgrade && bin/magento cache:clean

    Fill in the required fields to enable copy.

    Test this page on Google Rich Results ↗

    Field mapping reference

    Which API field feeds which schema property, so you can wire up your own data fetch.

    Schema fieldShopify Storefront APIWooCommerce (WPGraphQL)Magento GraphQL
    nameproduct.titleproduct.nameproducts.items[].name
    urlproduct.onlineStoreUrlproduct.uriproducts.items[].url_key
    imageproduct.featuredImage.urlproduct.image.sourceUrlproducts.items[].image.url
    priceproduct.priceRange.minVariantPrice.amountproduct.priceproducts.items[].price_range.minimum_price.final_price.value
    currency...priceRange.minVariantPrice.currencyCodesite default (no per-product field)...final_price.currency
    availabilityproduct.availableForSaleproduct.stockStatusproducts.items[].stock_status
    skuproduct.variants.edges[0].node.skuproduct.skuproducts.items[].sku

    What is Product Schema?

    Structured data that tells search engines and AI shopping agents exactly what you're selling.

    Google Rich Results

    Valid Product schema makes your listing eligible for price, availability, and rating snippets directly in Google Search results.

    AI Shopping Agents

    AI agents increasingly read structured data instead of rendered pages to understand what a store sells and at what price.

    Platform-agnostic

    The output is standard JSON-LD — it works on Shopify, WooCommerce, Magento, or a fully custom / headless storefront.

    Frequently Asked Questions

    Everything you need to know about Product schema and this tool.

    Product schema is machine-readable structured data, written in JSON-LD, that describes a product's name, price, availability, and other details in a format search engines and AI shopping agents can parse directly from your page.
    Without it, Google and AI agents have to guess at your product details from visible page text. Valid Product schema makes you eligible for rich results like price and availability snippets in search, and it's increasingly how AI shopping agents read store catalogs.
    Yes, completely free, no signup required. Fill in your product details and copy the generated code directly into your site.
    Paste the generated script tag anywhere in the <head> or <body> of your product page's HTML. Placement varies by platform — Shopify uses a Liquid snippet, WooCommerce uses a PHP hook, and Magento requires a template override.
    Yes. The generated JSON-LD is platform-agnostic, so for a headless storefront (Next.js, Nuxt, or a custom build) you inject the same schema object server-side at the point your product page already renders.