=== Live Stock Countdown === Contributors: wprashed Tags: woocommerce, stock countdown, live stock, product stock, low stock message Requires at least: 5.0 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.0 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html 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) == 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. == Frequently Asked Questions == = 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. == Screenshots == 1. Example stock countdown message on product page 2. Stock message for variable product == Changelog == = 1.0 = * Initial release == Upgrade Notice == = 1.0 = First release – add urgency messaging to your WooCommerce store today! == License == This plugin is licensed under the GPLv2 or later.