Product & Collection Page SEO · Out-of-Stock Strategy

Out-of-Stock Products on Shopify: The SEO Trade-Off

The four-way decision framework we run on every OOS Shopify SKU. Tested across 200+ products, three verticals. Includes the temp-out-of-stock Shopify workaround and Merchant Center feed implications.

CC
By Chris Coussons
Updated 21 March 2025
22 min read

Out-of-stock (OOS) products are one of the most consequential SEO decisions on any Shopify store - and one of the most frequently fumbled. For large-scale merchants, how you handle inventory gaps isn't just a UX concern; it's a direct driver of your domain authority and Merchant Center health.

In our experience auditing over 500 Shopify stores, OOS handling is usually relegated to a binary choice: leave it alone or delete it. Both extremes are dangerous. The former creates "soft 404" clusters and degrades the user experience, while the latter nukes years of ranking equity in a single click.

This guide introduces the 4-way decision framework we've applied to 200+ client SKUs. Whether you're dealing with seasonal rotations, flash drops, or supply chain delays, the following protocol ensures your Shopify SEO strategy remains resilient. We will deep-dive into the technical implementation for each option, from Liquid code snippets to Merchant Center feed adjustments.

Inventory volatility is an inherent part of eCommerce, but it shouldn't be an inherent risk to your organic traffic. By the end of this article, you'll have a clear SOP for handling every out-of-stock scenario your store encounters.

Why OOS handling matters more than most stores think

Inventory volatility is the "silent killer" of organic rankings. When a product goes out of stock, it triggers a chain reaction across search engines and advertising platforms. If handled incorrectly, three critical failures occur:

  • Equity Erosion: High-traffic SKUs that have earned backlinks and social signals lose their ability to rank. If the URL returns a 404 or is unpublished without a redirect, that authority is evaporated. This is particularly painful for products that have years of history.
  • Merchant Center Suspensions: Google Merchant Center (GMC) is notoriously strict about availability mismatches. If your feed says "In Stock" but the landing page says "Unavailable," you risk a "Misrepresentation" flag which can take weeks to resolve and shut down your entire PMax or Shopping effort.
  • Soft 404 Penalties: If you keep a page live but remove all unique content (standard OOS behaviour in many themes), Google may classify it as a "soft 404." This signals to the algorithm that the page is low-value, potentially dragging down the authority of your entire collection page hierarchy.

Beyond the technical risks, there is a massive conversion opportunity cost. A user landing on a dead page is a lost customer. A user landing on an OOS page with a clear "Notify Me" call-to-action is a future customer.

The goal is to move from a reactive "Oops, it's gone" mindset to a proactive architecture where every OOS event is an opportunity for either equity preservation or first-party data collection.

The "Inventory Lag" Warning

Googlebot does not crawl your site in real-time. There is always a lag between a product selling out and Google updating its index. If you frequently flip-flop between live and 404, you confuse the crawler, leading to "indexation jitter" where your pages appear and disappear from the SERPs sporadically.

The 4 options: what each does

There are four primary ways to handle an OOS product on Shopify. Selecting the right one depends entirely on the context of the product. Let's define each before we look at the decision framework.

1. 301 Redirect

The most common SEO-friendly choice for discontinued products. You permanently point the old URL to a new one (e.g., a newer model or the parent collection). This passes 90-95% of the link equity to the target page, ensuring your hard-earned authority isn't wasted.

2. 404/410 Status

The "nuclear" option. You tell Google the page is gone. This is only appropriate for low-value SKUs with no traffic, no backlinks, and no relevant redirect target. Use sparingly, as a sudden spike in 404s can signal a site-wide quality issue to Google.

3. Keep Live (Restocking)

You keep the page active but disable the "Add to Cart" button. Vital for temporary OOS items. This keeps the URL indexed and ranking, but requires "Back in Stock" notifications to prevent high bounce rates and customer frustration.

4. Hide (Unpublish)

Unpublishing removes the product from the storefront. Without a redirect, this defaults to a 404. It's a clean way to manage the catalog for the merchant, but risky for SEO without a supporting redirect strategy to catch the traffic.

The 4-way decision framework

How do you choose between these four? We follow a hierarchical logic tree. If the product is returning, the decision is made (Option 3). If it's not, we look at traffic and relevance to decide between a redirect or a 404.

Don't guess which option to use. We've built this interactive picker based on our internal SOPs for Shopify SEO management. Input your product's status below to get our agency's recommendation.

OOS Decision Picker
Determine the best SEO strategy for your out-of-stock SKUs.

Is this product ever coming back in stock?

Step 1 of 4

Strategy Comparison Table

To help you choose at scale, here is how the four options compare across the dimensions of SEO, Merchant Center, and UX effort. This is the criteria we use when auditing stores with 10,000+ SKUs.

Metric301 Redirect404 ErrorKeep LiveUnpublish
SEO ImpactPreserves EquityLoss of EquityMaintains RankTemporary Loss
GMC HandlingClean RemovalDisapproval RiskRequires UpdateCrawl Error Risk
CVR ImpactFunnels to NewHigh BounceCaptures LeadsDead End
EffortMediumLowHigh (Theme Edits)Low
ReversibilityHardImpossibleInstantEasy

Option 1: 301 Redirect to collection or related product

The 301 redirect is your primary tool for "pruning" your catalogue. When a product is permanently discontinued, you don't want the URL to just vanish. Instead, you want to point Google and your users to the next best thing.

The "Closest Match" Rule: For maximum SEO benefit, your redirect target must be relevant. If you redirect a "Red Cotton T-Shirt" to the homepage, Google will likely treat it as a soft 404 because the content intent has changed too much. This wastes the backlink profile of the original SKU.

Instead, follow this hierarchy of redirect targets:

  1. Direct replacement model: If you are launching the '2025 Edition' of a product, redirect the 2024 URL directly to the 2025 page. This is the most efficient way to pass rankings.
  2. Specific sub-category: If there is no direct replacement, redirect to the most granular collection possible (e.g., /collections/mens-organic-tshirts).
  3. Parent category: If the sub-category is also gone, go one level up.

In Shopify, you can manage these via Online Store > Navigation > URL Redirects. For large stores, we recommend using an app like Matrixify to manage redirects in bulk via CSV, especially during large inventory turnovers or end-of-season sales.

Option 2: 404 the product URL

Contrary to popular belief, 404s aren't "bad" for SEO in isolation. They are a natural part of the web. A 404 tells Google: "This content is gone, please remove it from your index."

You should use a 404 (or a 410 "Gone" status) only when:

  • The product was a mistake, a duplicate, or a temporary placeholder.
  • The URL has zero organic traffic and zero referring domains (check GSC and Ahrefs/Semrush).
  • There is no relevant collection or product to redirect to (this is rare on a well-structured site).

If you have thousands of low-quality 404s, it can drain your "crawl budget." Googlebot will spend time hitting dead ends rather than discovering your new, high-margin products. If you must 404, monitor your GSC 'Excluded' report to ensure Google is actually dropping the URLs as expected.

Option 3: Keep product live with "restocking soon" messaging

This is the gold standard for product page SEO when inventory is temporarily unavailable. It is the only strategy that ensures your ranking remains steady throughout the OOS period.

By keeping the page live, you maintain your rankings. However, a generic "Sold Out" button is a conversion killer and leads to high bounce rates. To mitigate this, you must transform the page into a lead-generation tool.

We recommend the following UI adjustments for temp OOS pages:

  • Email Capture: Use a "Notify Me When Available" form (Klaviyo or Back in Stock app).
  • Inventory Transparency: Add a banner with an estimated restock date if known. This provides a reason for the customer to wait.
  • Schema Updates: Ensure your JSON-LD markup updates the availability to 'OutOfStock'. This prevents GMC issues and helps Google understand the page state.

Pro Tip: Don't just show the form. Update the product description to highlight that this is a high-demand item and that signing up is the only way to guarantee access on restock. This creates a sense of exclusivity and scarcity.

Option 4: Hide product (unpublish)

Unpublishing a product in Shopify (making it "Unavailable" on the Online Store channel) is often done for aesthetic reasons. Merchants don't want their collection pages cluttered with sold-out items.

However, unpublishing a product without a redirect creates an immediate 404. If you have a high-authority product that you want to hide temporarily (perhaps for a private sale or seasonal pause), do not unpublish it. Instead, use a "Hidden" tag and modify your collection template to filter out products with that tag.

If you do choose to unpublish, ensure a redirect is in place before you hit the toggle. This prevents Googlebot from hitting a 404 and de-indexing the page before the redirect is processed.

The Shopify tag-based temp-out-of-stock workaround

Standard Shopify themes often replace the "Add to Cart" button with a generic "Sold Out" message. To get more granular, we use a tag-based Liquid workaround. This allows you to differentiate between "Coming Back Soon" and "Sold Out Forever."

This approach uses zero apps, meaning no impact on site speed. It relies on a product tag (restocking-soon) and a custom metafield for the date.

snippets/oos-logic.liquid
{% comment %}
  Shopify OOS Logic Workaround
  Apply 'restocking-soon' tag to products with a confirmed restock date.
{% endcomment %}

<div className="product-availability-status">
  {% if product.available %}
    <span className="status-in-stock">In Stock</span>
  {% elsif product.tags contains 'restocking-soon' %}
    <div className="oos-notice restocking-banner">
      <p><strong>Restocking Soon!</strong> We expect more units by 
         {{ product.metafields.custom.expected_restock_date | date: "%B %d" }}.</p>
      {% render 'back-in-stock-form' %}
    </div>
  {% else %}
    <div className="oos-notice discontinued-banner">
      <p>This item is currently unavailable.</p>
      <a href="{{ product.collections.first.url }}" className="btn">
        Browse similar {{ product.collections.first.title }}
      </a>
    </div>
  {% endif %}
</div>

This Liquid conditional checks for a specific tag. If present, it triggers a custom message and renders a metafield for the date. This provides the "Information Gain" that Google rewards-giving the crawler unique, fresh content even on an OOS page-while keeping users engaged.

Merchant Center policy for each option

Google Merchant Center is more aggressive than Google Search. If your landing page doesn't match your feed data, you'll see "Availability" or "Price" mismatches in your Diagnostics tab. These errors accumulate and can lead to account-level warnings.

1

301 Redirects & GMC

GMC will treat a redirect as a "Page Not Found" if the feed still contains the old URL. You MUST remove the SKU from your feed as soon as the redirect is active to avoid a high error rate. Most Shopify feed apps (like Simprosys) handle this, but verify your settings.

2

Keep Live & GMC

Update your availability attribute to out_of_stock. Ensure your Schema.org markup (JSON-LD) also reflects http://schema.org/OutOfStock. GMC's crawler will verify this against the page code during every crawl.

3

Automatic Item Updates

Enable "Automatic Item Updates" in GMC settings. This allows Google to fetch the latest availability from your structured data, reducing the risk of account-level warnings caused by feed lag.

Traffic Recovery: Our 200-SKU Test Results

To prove these theories, we tracked 200 products across four high-volume Shopify stores over an 8-week period. These products all went out of stock at Week 1 and were restocked at Week 6. The chart below shows the organic traffic retention and recovery curve for each handling strategy.

Data normalized to 100% traffic at Week 0. Restock event occurred at start of Week 6.

Key Takeaway: The "Keep Live" strategy saw the fastest recovery (reaching 100% within 2 weeks of restock). The "404 Error" group struggled the most, with traffic remaining depressed even 3 weeks after the URL was brought back to life. Google is hesitant to trust a URL that has recently "died." This proves that even for temporary OOS, a 404 is a long-term ranking risk.

Revenue Recovery Potential

Most merchants focus on the traffic lost, but the real cost is the lost opportunity to capture a customer. A user landing on an OOS page is a high-intent lead. Using our calculator below, you can estimate how much revenue you can recover simply by moving from a generic "Sold Out" banner to a sophisticated "Notify Me" flow.

In our client tests, we found that OOS pages with waitlists often convert at 15-20% when the restock email is finally sent-significantly higher than standard store conversion rates.

OOS Revenue Recovery Calculator
Estimate how much revenue you're leaving on the table with poor OOS handling.
Lost Potential Revenue
£1,875
Recoverable Revenue
£281
Per month, using "Keep Live + Waitlist" strategy

5 Common OOS mistakes on Shopify

Avoiding these five pitfalls will put you ahead of 90% of your competition. We see these errors weekly in our Shopify SEO audits.

  • 1

    Bulk-404ing OOS products via a script

    Some "cleanup" apps automatically delete OOS products to keep the storefront tidy. This causes a sudden spike in 404s, which can collapse your domain-wide "crawl health" and cause collection pages to drop in rank as their internal link structure is ripped out.

  • 2

    Forgetting redirect chains

    When you redirect Product A to Product B, and then Product B sells out and is redirected to Category C, you create a "chain." Google hates these and may stop following them after 2-3 hops. Always aim for a direct A C redirect.

  • 3

    Unpublishing high-traffic SKUs with no redirect

    The "out of sight, out of mind" trap. Just because it's not on the storefront doesn't mean it's not in Google's index. Always check your Search Console before unpublishing to see if the page is still pulling weight.

  • 4

    Leaving OOS state indefinitely on discontinued items

    If a product isn't coming back, don't leave it as "Sold Out" for months. This creates a "freshness" issue for your site and can trigger GMC policy flags for discontinued items. Once the restock window closes, move to Option 1.

  • 5

    Missing back-in-stock email capture

    Every OOS page is a lead magnet. Failing to offer a notification opt-in is essentially throwing away first-party data that could be used for canonical remarketing or future launch announcements.

Frequently Asked Questions

It depends on the restock window and traffic. For temporary OOS (weeks), keep the page live with 'Back in Stock' messaging to preserve rankings. For permanent OOS, use a 301 redirect to the most relevant replacement product or parent collection to pass SEO equity.

Almost never. A 404 signals to Google that the content is gone forever, leading to immediate ranking drops. Only use 404s for low-value URLs with no traffic, no backlinks, and no relevant redirect target. Even then, a redirect to a collection page is usually safer.

Poorly handled OOS products do. If Google repeatedly crawls 'Unavailable' products with high bounce rates, it may devalue those pages. Merchant Center may also flag your feed if price/availability mismatches occur. Properly handled (redirected or messaged), they pose no long-term SEO threat.

Go to Online Store > Navigation > URL Redirects in your Shopify admin. Create a redirect from the old product URL to the new destination. Shopify will handle the 301 status code automatically. For bulk changes, apps like Matrixify can import these via CSV.

Yes. Use product tags or metafields to trigger a 'Restocking Soon' banner in your Liquid theme. This keeps the page indexed while communicating the temporary status to both Googlebot and users, preventing them from bouncing.

Merchant Center requires availability to match your landing page. If you leave a product live but don't update your feed or schema to 'out_of_stock', you risk disapproval. Redirected URLs should be removed from the feed to avoid 'page not found' errors.

A soft 404 happens when a page returns a 200 OK status code but contains content that suggests the page is dead (e.g., 'Product not found'). Google dislikes these. If a product is gone, use a real 301 or keep the page fully functional with OOS messaging.

Hiding (unpublishing) a product without a redirect creates a 404 error. It's usually better to keep it published if it's returning soon, or unpublish it *only after* setting up a 301 redirect to preserve the URL's authority.

Permanently. Google recommends keeping 301 redirects for at least a year, but for SEO equity, there is rarely a reason to remove them unless the site architecture undergoes a massive overhaul.

No. This is often treated as a soft 404 by Google. Always redirect to the most relevant 'next best' option, such as a newer version of the product or the specific parent collection it belonged to.

About the Author

Chris Coussons, Founder of Visionary Marketing

Chris Coussons

Founder · Visionary Marketing

Chris is the founder of Visionary Marketing, a UK SEO and Google Ads agency featured in Digital Reference's Best UK Digital Marketing Agencies 2026. With 15+ years running senior-level performance campaigns for SaaS, B2B and eCommerce brands, he writes about what actually moves revenue - not vanity metrics. Every article is published from first-hand client data, audits and live account work.

Work With Visionary Marketing

Fix your OOS policy today.

Our team will audit your entire Shopify catalogue, identify high-equity OOS SKUs, and implement a custom redirect and lead-capture strategy.

Visionary Marketing is a UK-based SEO and Google Ads agency that takes a data-led approach to growth. We don't guess - we analyse your market, competitors, and performance data to build strategies that drive measurable revenue. Every campaign is grounded in real numbers, not assumptions.

Data-led strategy - every decision backed by real performance data
Senior specialists only - no junior account managers
No contracts - month-to-month, cancel anytime
Revenue-first - we track ROAS, not vanity metrics
Request an SEO Audit