Plugin info

Total downloads: 85
Active installs: 0
Total reviews: 0
Average rating: 0
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 12/7/2025 (72 days ago)
Added to WordPress: 12/3/2025 (0 years old)
Minimum WordPress version: 5.0
Tested up to WordPress version: 6.9
Minimum PHP version: 7.2

Maintenance & Compatibility

Maintenance score

Actively maintained • Last updated 72 days ago

59/100

Is Out of Stock Affiliate Redirect abandoned?

Likely maintained (last update 72 days ago).

Compatibility

Requires WordPress: 5.0
Tested up to: 6.9
Requires PHP: 7.2

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

Broken Link Checker
Rating 3.8/5 (585 reviews)Active installs 600,000
Page Links To
Rating 4.9/5 (155 reviews)Active installs 200,000
Pz-LinkCard
Rating 5.0/5 (9 reviews)Active installs 20,000
Simple Blog Card
Rating 5.0/5 (3 reviews)Active installs 3,000
Simple Link Directory
Rating 4.8/5 (120 reviews)Active installs 2,000

Description

Don’t let “Out of Stock” be a dead end for your customers.

When you run out of inventory, you usually lose the customer. With Out of Stock Affiliate Redirect, you can save that sale by sending the customer to an external source (like Amazon, eBay, or a partner site) where they can still buy the item—and you can earn an affiliate commission.

This lightweight plugin adds a simple field to your WooCommerce “Inventory” tab. If the product stock reaches 0, the “Add to Cart” button disappears (standard WooCommerce behavior), and our plugin inserts a call-to-action button linking to your backup source.

Features

  • Simple Setup: Adds a URL field directly to the WooCommerce Product Data “Inventory” tab.
  • Automatic Trigger: The button only appears when the product status is “Out of Stock.”
  • Custom Button Text: Change “Buy on Amazon” to “Buy on eBay,” “Check Partner Stock,” or anything else per product.
  • Affiliate Friendly: Great for Amazon Associates or other affiliate programs to monetize out-of-stock traffic.
  • Theme Compatible: Uses standard WooCommerce hooks (woocommerce_single_product_summary) to display correctly on most themes.

How it Works

  1. Edit a Product in WooCommerce.
  2. Click the Inventory tab.
  3. Enter a URL in the Alternative Buying URL field.
  4. (Optional) Enter custom text for the button (Default is “Buy on Amazon”).
  5. When your stock hits 0, the button appears automatically!

Installation

  1. Upload the plugin files to the /wp-content/plugins/out-of-stock-affiliate-redirect directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to any WooCommerce product, click the Inventory tab, and add your affiliate link.

Frequently Asked Questions

Where do I find the settings?

You can find the instructions and upgrade options by clicking “Out of Stock Redirect” in your main WordPress admin sidebar. To use the plugin, go to Products > Edit Product, click the Inventory tab, and enter your URL in the “Alternative Buying URL” field.

Does this work for Variable Products?

Currently, this plugin is optimized for Simple Products. While the fields may appear on Variable products, the logic is designed to check the main product’s stock status.

Can I style the button?

Yes! The button has the CSS class .oos-affiliate-btn. You can target this class in your theme’s “Additional CSS” section to change colors, fonts, or padding.

What happens if I restock the item?

If you add stock (so the product is “In Stock” again), the Affiliate button automatically disappears, and the standard WooCommerce “Add to Cart” button returns. You do not need to delete the URL.

Review feed

No reviews available

Screenshots

  1. Quick guide showing how to set up the Out of Stock Affiliate Redirect plugin.

    Quick guide showing how to set up the Out of Stock Affiliate Redirect plugin.

  2. Add your Alternative Buying URL directly in the WooCommerce product settings.

    Add your Alternative Buying URL directly in the WooCommerce product settings.

  3. When a product is out of stock, the redirect button appears automatically.

    When a product is out of stock, the redirect button appears automatically.

  4. Example of a standard out-of-stock product before enabling a redirect.

    Example of a standard out-of-stock product before enabling a redirect.

Changelog

1.1.0

  • Initial repository release.
  • Added admin sidebar menu.
  • Added support for custom button text.
  • Added sanitization and escaping for better security.

1.0.0

  • Beta release.