How to fix seo product missing stock status on Adobe Commerce (Magento)

Add a visible stock availability label and an `availability` property to your Product structured data so Google can display rich results and shoppers know immediately whether a product is in stock.

Steps for Adobe Commerce (Magento)

  1. Adobe Commerce outputs Product structured data via the `Magento_Catalog` module. The availability field is included by default, but verify it is present by checking `app/code/Magento/Catalog/view/frontend/templates/product/view/structured_data.phtml` (or the equivalent in your theme's override path under `app/design/frontend/<Vendor>/<Theme>/Magento_Catalog/templates/`).
  2. Ensure each product has stock management enabled: Admin → Catalog → Products → Edit Product → Sources (MSI) or the legacy Stock section — set 'Manage Stock' to Yes and update quantity so the system can output `InStock`/`OutOfStock` correctly.
  3. To add or fix the `availability` output in the template, locate the `<script type='application/ld+json'>` block and ensure it contains: `"availability": "<?php echo $block->getAvailability(); ?>"` — or use a plugin/preference on `Magento\Catalog\Block\Product\View` to expose a `getAvailability()` method.
  4. For the visible label, the default Magento theme outputs stock availability text near the price area via `app/design/frontend/.../Magento_Catalog/templates/product/view/form.phtml` — verify the `<div class='stock'>` block is present and not hidden by your theme's CSS.
  5. Clear cache (bin/magento cache:flush), then validate in the Rich Results Test.
Official Adobe Commerce (Magento) documentation ↗

What is seo product missing stock status?

Every product page should tell both shoppers and search engines whether the item is currently in stock, out of stock, or on pre-order. There are two places this needs to happen: (1) a visible on-page label like "In Stock" or "Out of Stock" that any visitor can read, and (2) a machine-readable `availability` value inside the Product structured data (schema.org JSON-LD) that Google reads to power rich results in Search and Shopping. When either piece is missing, the page has "no clear stock availability."

Google's guidelines for Product rich results explicitly require the `availability` field — without it, your product page is ineligible for the enhanced Shopping appearance in Google Search (star ratings, price, availability badge), meaning you lose prominent, high-click-rate real estate to competitors who have it. From a conversion standpoint, shoppers who cannot tell at a glance whether a product is available are more likely to bounce or abandon — especially on mobile. If you sell through Google Merchant Center, mismatched or absent availability data can also trigger feed disapprovals, further suppressing your paid and free listing visibility.

See the complete Seo product missing stock status guide for every platform and the full background.

Not sure if your Adobe Commerce (Magento) store has this?

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

Scan my site free

Fix seo product missing stock status on another platform