Adobe Commerce owners almost always need to add product schema themselves. The default Luma and Blank themes send structured data in the older microdata format, meaning itemscope and itemprop attributes scattered through the HTML, rather than JSON-LD. That default output typically leaves out stock status, which is the field AI tools lean on most when answering a buying question. You hold full code control on this platform, but strict rules govern where code goes. Adobe documentation says never to edit Luma or Blank directly, because upgrades overwrite those changes. Hand customization belongs in a child theme.

Platform screens change over time. If a menu name in this guide does not match what you see, check the vendor docs linked in Sources for the current path.

What makes Adobe Commerce different

Access is not the problem here. Choosing the right mechanism is. Three legitimate routes exist: a structured data extension from the Adobe Commerce Marketplace installed via Composer, a JSON-LD block added through layout XML in a custom theme, or, on headless builds, markup sent by the frontend itself. Tag manager injection does not work for this job. Google may process JavaScript injected schema eventually, but AI crawlers read the first HTML response, and a block that only shows up after scripts run stays invisible to them.

Configurable products add a second Adobe wrinkle. A configurable parent with per variant prices and stock needs variant level offers in the markup, not a single parent price.

Work through it in this order

Look at the source first. Open a live product page, view the page source, and search for application/ld+json and for itemscope. A fresh Luma build shows microdata and sends no JSON-LD. Also check which extensions already send blocks. Some SEO and reviews extensions add their own, and those are your duplicate candidates.

Pick one route and stick with it. For the fastest path with a standard catalog, install a structured data extension from the Adobe Commerce Marketplace via Composer and configure it in the admin. These extensions build JSON-LD from the product database and are made to pass both Google's Rich Results Test and the Schema Markup Validator. When you hold developer resources and want full control, ask the developer to add a JSON-LD block to the product page layout in your child theme, rendered on the server with the product own data.

Respect the child theme rule. Anything added by hand goes into a custom theme that inherits from Blank or Luma, never into the default theme files themselves. Adobe frontend documentation is plain on this point: edits to default files get overwritten during upgrades.

Fix stock status and variants on purpose. Whether you use an extension or hand built markup, confirm the offers block carries a real stock value per product and per variant, and that configurable products show variant level prices rather than only the parent price. Missing stock status, or parent only stock status, is the classic Adobe Commerce failure.

Clear the conflicts. When old microdata still sits in templates beside your new JSON-LD, or an extension sends a second Product block, reconcile everything to a single source of truth. Microdata plus JSON-LD saying the same thing is tolerable. Two blocks saying different things is not.

Test the hard pages. Run a product address through Google's Rich Results Test and the Schema Markup Validator. Test a configurable product with mixed variant stock, a simple out of stock product, and a product with reviews, and confirm the rating markup matches reviews visible on the page.

A shop that let an extension do the heavy lifting

Imagine a lighting shop on Adobe Commerce, Marble and Main, selling fixtures in several finishes with different prices and stock levels. The owner checks the page source and finds only microdata, no JSON-LD, and no stock status anywhere. The developer installs a structured data extension via Composer, configures it in the admin, and the team validates a finish variant that is sold out to confirm the markup reports OutOfStock while another finish reports InStock. One extension, one source of truth, variants handled at the data level rather than guessed from the page.

Two companions worth adding

Once the markup is valid, two more pieces help AI tools use it. An llms.txt file gives tools a short plain summary of what your business sells and where the key pages sit. Open crawler permissions in robots.txt make sure AI crawlers can reach the pages carrying the markup at all. Aizii Learn covers both topics in full, in separate guides.

What this guide leaves out

This guide covers getting valid JSON-LD markup onto Adobe Commerce product pages. It does not cover keeping prices and stock fresh as inventory moves, which is ongoing monitoring work. It also does not cover getting AI crawlers past your WAF and bot management, or letting an AI tool finish a checkout, which is a separate transaction job.

Frequently Asked Questions

Do Luma and Blank send JSON-LD by default?

No. They send structured data in the older microdata format, and that default output typically leaves out stock status, which AI tools lean on most.

Can I edit the Luma theme files directly?

No. Adobe documentation says never to edit Luma or Blank directly, because upgrades overwrite your changes. Hand customization belongs in a child theme.

Can I inject markup through a tag manager?

That will not work for AI crawlers. They read the first HTML response, and a block that only shows up after scripts run stays invisible to them.

My configurable product shows one parent price. Is that enough?

No. A configurable parent with per variant prices and stock needs variant level offers in the markup, not a single parent price.

Verified Sources & Technical Documentation

links marked specific point to the page that supports the claim in this guide. Links marked general docs point to the vendor's general docs section for that topic, not to a page that proves every step. Check the vendor docs for the current path before relying on a menu name or click path in this guide.