Stockline

Replace WooCommerce's plain "In stock" and "Out of stock" lines with your own messages, icons and colours for every stock state.

Fewer than 10 active installs
v1.0.3Updated Oct 19, 2026
Pro v1.3.0What's new
  • WooCommerce 8.2 – 11.2
  • WordPress 6.5 – 7.1
  • PHP 7.4+

Stockline Pro

How many sites?
  • Updates in your WordPress dashboard
  • Support from the team that builds it
Secure checkout by Lemon SqueezyCompare plans
Download free

Pro is an add-on to the free plugin.

Stockline banner

WooCommerce tells shoppers "Out of stock" and leaves it there. Stockline lets you say something useful instead: "Only 2 left, order soon", "Made to order, ships in 2–3 weeks", "Sold out, ask us about restocking".

Your own message for every stock state

  • In stock: e.g. "In stock, ships today". Also shown for products that don't track stock, where WooCommerce shows nothing.
  • Low stock: e.g. "Only {qty} left, order soon", using WooCommerce's own low stock threshold (store-wide or per product).
  • On backorder: e.g. "Ships in 2–3 weeks".
  • Out of stock: e.g. "Sold out, back soon".

Leave any message empty to keep WooCommerce's text, with your icon and colour. Other plugins can add states of their own, such as a "Pre-order" state, and they get a message, icon and colour on the same screen.

Looks right in your theme

  • Icons (check mark, warning, clock, cross, delivery truck, dot) and a colour per state.
  • Plain text or a soft coloured badge.
  • A live preview of each state on the settings screen as you type, before you save.
  • Keeps WooCommerce's own CSS classes, so your theme's styling still applies.

Works everywhere WooCommerce shows stock

Classic themes, block themes (the Add to Cart form block) and variable products, where the message updates as shoppers pick options. Stockline hooks the final stock HTML that WooCommerce itself builds, so there are no template overrides to go stale after WooCommerce updates.

Placeholders and light HTML

Use {qty} for the units left and {product} for the product name. Bold text and links are allowed, e.g. Sold out, <a href="/contact">ask us about restocking</a>.

For developers

  • stockline_stock_html filters the final markup ($html, $product, $state).
  • stockline_states, stockline_state and stockline_placeholders let other plugins add a state with its own message, icon and colour, and placeholders for it. Preorderline uses them for a "Pre-order" state with {date}.
  • stockline_product_settings lets a plugin give a product or variation its own message, icon or colour, and stockline_page_colors adds the colours it uses to the page's stylesheet.
  • stockline_enqueue_styles loads the small stylesheet beyond product pages, e.g. for a Single Product block on a landing page.
  • stockline_loaded fires once Stockline has loaded, for add-ons.

Stockline Pro

Stockline's messages are store-wide. If some products need their own ("Back mid-November", or "Size S is back in December" for one variation), the separate Stockline Pro add-on adds a message, icon and colour per product and per variation, a preview dialog on the product screen, and columns for them in the Gridline bulk editor. Everything described above works without it. See extendiment.com/plugins/stockline. Stockline Pro is sold under our Terms and Privacy Policy.

Free vs Pro

Free and Pro compared
FeatureFree$0Stockline Profrom $14/year
Your own message for every stock stateIncludedIncluded
Looks right in your themeIncludedIncluded
Works everywhere WooCommerce shows stockIncludedIncluded
Placeholders and light HTMLIncludedIncluded
For developersIncludedIncluded
Per product and per variationNot includedIncluded
The preview dialogNot includedIncluded
Bulk editing with GridlineNot includedIncluded

Pricing

Free$0
  • The plugin from WordPress.org
  • Support on the WordPress.org forum
Download free
Pro · 1 site$14/year
  • For a single site
  • Updates in your WordPress dashboard
  • Support from the team that builds it
Buy Pro for 1 site
Most popularPro · 5 sites$29/year
  • $5.80 per site · save 59%
  • Updates in your WordPress dashboard
  • Support from the team that builds it
Buy Pro for 5 sites
Pro · 25 sites$59/year
  • $2.36 per site · save 83%
  • Updates in your WordPress dashboard
  • Support from the team that builds it
Buy Pro for 25 sites
Or get all 11 paid plugins with All Access, from $199/year

Pro is an add-on to the free plugin. Renews yearly. Staging and local sites don’t count (up to three per key).

Secure checkout, tax and invoices by Lemon Squeezy

Screenshots

  • Out of stock: your own store-wide message, here with a link, in the badge style with the default icon and colour.1 / 6
  • Low stock: your own wording with the quantity left, from the store’s low stock threshold.2 / 6
  • On backorder: tell shoppers when it ships instead of “Available on backorder”.3 / 6
  • Variations get their own stock line as shoppers pick options.4 / 6
  • Settings: message, icon and colour for each stock state, with a live preview as you type.5 / 6
  • Pick the plain text style and the previews follow before you save: the same messages and icons in the state’s colour,...6 / 6

Freev1.0.3

View all
  1. Version 1.0.3

    Latest
    • changeda stock state added by another plugin (such as Pre-order) now lists its extra placeholders on the settings screen, and says that its message replaces the text each product shows for that state.
  2. Version 1.0.2

    • fixedon a multisite network, deleting the plugin now removes a site's data only if that site chose to; deactivating it on one site no longer decides for the others.
  3. Version 1.0.1

    • changedTested with WooCommerce 11.2.

Prov1.3.0

View all
  1. Version 1.3.0

    Latest
    • addedIn stock and Low stock message fields on the product's Inventory tab and each variation's panel, next to Out of stock and Backorder, so every state's message can be typed without opening the preview dialog.
  2. Version 1.2.1

    • fixedOn a multisite network, deleting the plugin now removes a site's data only if that site chose to; deactivating it on one site no longer decides for the others.
  3. Version 1.2.0

    • addedImportant notices from Extendiment, such as a security update, show in the dashboard.
    • changedStaging and local sites no longer use up one of your license's sites.

You might also like