Live Stock Countdown

By Rashed Hossain

0+ active installationsVersion 1.0

Show a stylish "Only X left in stock" message on WooCommerce product pages when stock is low. Works for both simple and variable products.

Description

Live Stock Countdown is a lightweight plugin for WooCommerce that shows a live low-stock message on product pages. It helps create urgency and boosts conversions by showing customers how many items are left in stock.

🔥 Features:
* Show “Only X left in stock” message
* Works for both simple and variable products
* Stylish message design with emoji
* Automatically hides when stock is sufficient or unavailable
* Customize threshold easily via code (default: 5)

License

This plugin is licensed under the GPLv2 or later.

Installation

  1. Upload the plugin folder to /wp-content/plugins/ or install via WordPress Dashboard.
  2. Activate the plugin from the “Plugins” menu in WordPress.
  3. Done! The stock countdown message will appear automatically on product pages.

FAQ

Can I change the stock threshold from 5?

Yes! You can edit the $threshold variable inside the plugin file (woo-live-stock-countdown.php) and set your desired value.

Will it work with variable products?

Yes, it detects the selected variation and displays the live stock count if the quantity is low.

Can I customize the design?

Yes! You can edit the style.css file inside the plugin folder and apply your own styles.

Changelog

1.0

  • Initial release