Sold Out Badge for WooCommerce

Description

Display a “Sold Out!” badge on out-of-stock products.
When a WooCommerce product becomes out of stock, this plugin will show a badge on thumbnail with the text you will have defined.

This plugin was initially created to help people and companies selling unique products or services, like artists, artisans, real estate professionals, etc. It is often beneficial for them to keep showing sold out (out of stock) products on their websites, while displaying a message indicating that the product can’t be sold anymore.

However, this plugin can be used by anyone wanting to display any text in a badge when a product is out of stock.

It is also possible to display a badge on backorder products.

Usage & Documentation

You can customize options in Settings > Sold Out Badge for WooCommerce

What can I customize in this plugin ?

  • Badge text (you can replace “Sold Out” with any text you want, like “Out of stock” or “Coming Soon“)
  • Badge background color
  • Badge text color
  • Badge font size
  • Badge width
  • Badge height
  • An option to hide “Sale” badge if you get an overlap (checked by default)

Resources

Screenshots

  • Single product page
  • Store and categories pages
  • Admin settings

Installation

  1. Install this plugin either via the WordPress.org plugin directory, or by uploading the files to your server.
  2. Activate the plugin.
  3. That’s it. You’re ready to go! Please, refer to the Usage & Documentation section for examples and how-to information.

FAQ

Is this plugin completely free?

Yes.

Can I use this plugin for commercial purposes?

Sure, go ahead! It is completely open source.

Can I change the badge text?

Yes. Go to Settings > Sold Out Badge for WooCommerce, you’ll find the setting you want.

Reviews

Mee 28, 2022
Easy to add, easy to customize with all of the obvious initial options thought through and presented clearly.
Maarec 9, 2022
i tried it a few times but every time i activate it , for some reason it randomly shows a few products as SOLD OUT, but they are not and we have in stock. can anyone provide a solution please?
Maarec 8, 2022
Didn't work for my theme at first but was solved thanks to the creator! Easy to use and great.
Maarec 4, 2022
Works great, gives plenty of customization - how this isn't part of woocommerce is beyond me. Simply a good plugin. Thank you for your work.
Read all 15 reviews

Contributors & Developers

“Sold Out Badge for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

“Sold Out Badge for WooCommerce” has been translated into 5 locales. Thank you to the translators for their contributions.

Translate “Sold Out Badge for WooCommerce” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

4.3.1

  • Adds compat with Elementor Archive posts widget

4.3.0

  • Allows displaying badge on backorder products instead of/in addition to out of stock products

4.2.0

  • Adds WPML compatibility

4.1.0

  • Fixes Text Domain Path
  • Fixes single product position settings being ignored

4.0.0

  • Major code refactor (nothing is supposed to change unless you made custom dev using this plugin hooks or classes )
  • Added compatibility with Lay Theme

3.2.2

  • Minor fixes

3.2.1

  • Fixes and improves alternative method
  • Improves compatibility with Divi Builder on single product pages

3.2.0

  • Adds an alternative method (pure CSS). Useful for some themes like Divi.

3.1.0

  • Adds badge in search results
  • Ability to turn off the badge on a per-product basis

3.0.1

  • Fix missing “position: absolute” CSS rule

3.0.0

  • Potential breaking change (in other words, do a backup before upgrading) : Adds settings options to control appearance (width, height, border-radius, etc.)

2.2.0

  • Move to Singleton pattern to let other developpers unhook actions and filters.
    If you want to unhook something, use it like this, for example: remove_filter( 'woocommerce_get_stock_html', [ WCSOB::get_instance(), 'replace_out_of_stock_text' ], 10, 2 );