Skip to content
Magento glossary

What is Magento structured data?

Short answer Magento structured data is a machine-readable description of the page and the things on it, such as a product, an offer or an article. Schema.org supplies the vocabulary; JSON-LD, Microdata and RDFa are ways to express it. The practical work is to identify what your theme and modules already emit, keep those values consistent with the visible page, and test the requirements of the consumer you want to support. Correct markup does not guarantee a Google search feature or an AI citation.

How it works
  1. Start with the visible page 01
  2. Find the existing Magento output owner 02
  3. Build data first, then encode it safely 03
  4. Separate vocabulary checks from search checks 04
  5. Recheck the rendered page after changes 05
Each step is explained below

Watch for this Confusing a local score with approval

How it works

From visible content to a verified page description

Start with the page and its output owner. Then check syntax, meaning and the specific feature separately.

  1. 01

    Start with the visible page

    List what the reader can actually see: a product and its offer, an article and its author, or a breadcrumb trail. Choose the corresponding Schema.org types. A service page does not become a news article just because a module can emit Article. Add genuine review information only when it belongs to the marked-up entity and is available to the reader.

  2. 02

    Find the existing Magento output owner

    Inspect a representative product, category and CMS page before adding another emitter. Theme templates, extensions and custom layout blocks can each contribute markup. Record which component owns price, availability, breadcrumbs and organization identity. Extending that owner is easier to maintain than publishing two Product objects with conflicting values. Check each relevant store view as well as the default view.

  3. 03

    Build data first, then encode it safely

    For custom JSON-LD, build a PHP array from the same current data used by the page. Give shared entities stable @id URLs and reference them consistently. Encode the array with json_encode; when embedding JSON in an HTML script element, use the JSON_HEX_TAG, JSON_HEX_AMP, JSON_HEX_APOS and JSON_HEX_QUOT flags and handle encoding errors. Avoid constructing JSON through string concatenation.

  4. 04

    Separate vocabulary checks from search checks

    Use Schema.org Markup Validator to inspect extracted vocabulary and relationships. Use Google's Rich Results Test for features Google currently supports. Neither tool proves that the visible page, commercial data or policy context is correct. The checker on this site is a narrower first-pass aid: it uses fixed top-level profiles and cannot replace either service or a review of the rendered page.

  5. 05

    Recheck the rendered page after changes

    Test the actual URL after a theme, extension, catalog or store-view change. Compare displayed prices, availability, identities and dates with every emitted graph. Then use Search Console reports and URL Inspection to investigate what Google has processed. A report change needs diagnosis; it is not proof by itself that markup caused a traffic change.

When to use

When the markup has a clear purpose

Choose types that describe the actual content, rather than enabling every type an extension offers.

  • Product and offer information

    For a product page, describe the actual product and current offer. Google distinguishes product snippets from merchant listings, with different requirements. Read the relevant current feature guide and test real prices, currencies, availability and legitimate reviews. Do not invent GTINs, ratings or offer dates to remove a warning.

  • Clear entity information across the site

    Organization, person and content relationships can make the page's meaning more explicit. Keep identity references consistent and substantiated. Google says no special Schema.org markup is required for its generative AI features. Structured data is not a guarantee of an AI citation, and an llms.txt file does not replace useful visible content or ordinary crawlability.

  • A real FAQ for readers

    Keep helpful questions and answers visible and accurate. FAQPage remains a Schema.org type, but Google stopped showing FAQ rich results in May 2026. Its presence should describe an actual FAQ, rather than promise expandable Google search questions. Keep the marked-up answers synchronized with the answers readers receive.

  • Content with a specific supported feature

    Video, event and other specialized content need their own feature and content review. Start with the page's actual purpose and the consumer's current documentation. A type appearing in Schema.org or an extension setting does not prove that Google supports a corresponding search appearance.

Common mistakes

Three problems a clean syntax test can miss

Treat these as investigation points. They require looking beyond one snippet or score.

  • Confusing a local score with approval

    A checker can report clean JSON while missing a wrong price, unsupported feature or hidden content. A score measures that checker's rules. It does not certify Google eligibility, ranking, merchant acceptance or a search appearance. Read the individual findings and verify the applicable feature separately.

  • Publishing a different story in the graph

    Hard-coded ratings, stale prices and default-store answers can diverge from the visible page. Trace values back to their output owner and check the current store context. Use genuine evidence and current content; do not add a property merely because a test recommends it.

  • Duplicating or disconnecting entities

    Two modules can emit conflicting Product or Organization nodes, while an @id reference can point to an entity that is not described where expected. Inventory all graphs together and review references, not just one script in isolation. Prefer a clear output owner to a collection of overlapping fixes.

FAQ

Magento structured data, frequently asked questions

  • JSON-LD vs Microdata vs RDFa, which should I use?
    Google supports JSON-LD, Microdata and RDFa and recommends JSON-LD. JSON-LD separates the data structure from visual HTML, which often makes custom Magento output easier to maintain. Existing working Microdata or RDFa is not automatically obsolete. Choose a maintainable format, inspect what your theme already emits and avoid creating conflicting copies during a migration.
  • Is Microdata still valid? Will my existing Microdata stop working?
    Microdata remains a supported format in Google's structured-data documentation. Review your actual markup and the requirements of the feature you need before replacing it. Moving to JSON-LD can simplify maintenance, but changing syntax alone does not fix incorrect values, hidden content or an unsupported search feature.
  • Why are my Product rich snippets not showing in Google SERP?
    Check the current Product feature documentation, the rendered page and Google's Rich Results Test. Investigate critical errors, crawl or indexing restrictions, stale data and policy issues. Product snippets and merchant listings have different requirements. Correct markup does not guarantee that Google will display an enhancement, and a local checker score cannot explain every absence. Do not infer a backlink threshold or promise that adding links will unlock stars.
  • Does Magento 2.4 emit Product schema automatically?
    The output depends on the theme, installed modules and customizations. Magento's catalog templates include product-related markup, but that is not proof that a particular storefront supplies every property needed for a current Google feature. Inspect a real product URL, identify every emitter and compare its current values with the visible offer. Decide whether to extend an existing owner before adding another module. The named structured-data module page covers that package's own setup scope.
  • Can I have multiple schema blocks on one page?
    Yes. Google documents multiple items on a page, and related entities can be expressed in a graph or separate blocks. Use stable @id references where appropriate and ensure the combined description is consistent. One script is not a requirement. Review all output together so separate modules do not publish competing prices, identities or ratings.
  • How exactly does structured data help with AI Overviews?
    Google's current generative AI search guidance says no special Schema.org markup is required for those features. Keep structured data truthful as part of ordinary site quality, but do not treat it as a citation switch. Useful original content, accessible pages and clear information remain the work to do. This does not establish how another provider uses a particular field, and no AI citation is promised.
Schema audit

Want a structured-data audit on your Magento store?

Share the affected page types, current emitters and the issue you need to resolve. An implementation review can compare rendered content, graph ownership and current feature requirements, then define the corrections and acceptance checks.

Kishan Savaliya Online 10 AM to 7 PM IST Chat on WhatsApp