=== StockMate === Contributors: Bassir, SajjadTheDeveloper Tags: woocommerce, back in stock, stock alert, waitlist, email notification Requires at least: 5.0 Tested up to: 6.9 Stable tag: 3.0.1 Requires PHP: 7.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Never lose a sale again! StockMate automatically notifies customers when out-of-stock products are back in stock. == Description == StockMate is a powerful WooCommerce plugin that lets customers subscribe to out-of-stock products and automatically notifies them when items are back in stock. = Key Features = * ⚡ **AJAX Subscription Form** – No page reload, smooth user experience * 👥 **Smart Waiting Count** – Shows how many people are waiting for each product * 📧 **Automatic Email Notifications** – Instant alerts when products are back in stock * 📊 **Complete Admin Dashboard** – Track all subscribers and identify in-demand products * 🔌 **Built-in SMTP Support** – Configure email directly, no extra plugins needed * 🎯 **Product List Column** – See waiting counts directly in WooCommerce products list * 📦 **Product Metabox** – View waiting subscribers on the product edit page * 🔒 **Secure & Lightweight** – Nonce protection, sanitized inputs, minimal code * 🌍 **Translation Ready** – Fully internationalized = Pro Version = Upgrade to StockMate Pro to unlock additional features: * 📊 **CSV Export** – Export all subscribers to Excel format * 🎨 **10 Beautiful Form Templates** – Professional designs to match your brand * 💬 **WhatsApp Notifications** – Send alerts directly to WhatsApp * 📱 **Telegram Notifications** – Reach customers on Telegram * 📈 **Advanced Analytics** – Detailed reports and insights * 🚀 **Priority Support** – Fast and dedicated assistance * 🔒 **Lifetime Updates** – Always stay up to date == Installation == 1. Upload the `stockmate` folder to `/wp-content/plugins/` 2. Activate the plugin through the 'Plugins' menu in WordPress 3. Go to **StockMate → SMTP Settings** to configure email 4. Done! The form automatically appears on out-of-stock products == Frequently Asked Questions == = Does StockMate work with any WordPress theme? = Yes! StockMate works with any WordPress theme that is WooCommerce compatible. = How do I configure email delivery? = Go to **StockMate → SMTP Settings** and enter your SMTP details. For Gmail, use an App Password. = Is there a refund policy? = Yes! We offer a 30-day money-back guarantee on all Pro purchases. = How do I customize the form design? = With StockMate Pro, you can choose from 10 beautiful form templates. = Does StockMate support translations? = Yes! StockMate is fully translation ready and includes text domain for easy localization. = Are there any limitations in the free version? = No! The free version is fully functional with unlimited subscribers and unlimited email notifications. Pro version adds extra features like CSV export and WhatsApp notifications. == Screenshots == 1. AJAX subscription form on product page 2. Admin dashboard with statistics 3. SMTP settings for email delivery 4. Pro version upgrade page 5. Form templates with 10 designs (Pro) == Changelog == = 3.0.1 = * Security improvement: Added sanitization for SMTP password with sanitize_text_field() and wp_unslash() * Security improvement: Added sanitization for nonce verification in AJAX handler * Code quality: Removed remaining inline style tag (moved to admin.css) * Compliance: Full compatibility with WordPress.org security guidelines = 3.0.0 = * Complete rewrite: Removed all limitations and license checks * Free version now fully functional with unlimited subscribers and emails * Improved code quality and security * Separated CSS files for better performance * Optimized database queries * Removed all trialware code to comply with WordPress.org guidelines = 2.1.0 = * Added 10 beautiful form templates for Pro version * Added CSV export for subscribers (Pro) * Added floating label form design * Improved license activation system * Added translation support (i18n) = 2.0.0 = * Complete rewrite with Pro version support * Added SMTP configuration * Added admin dashboard * Added waiting count display * AJAX subscription form = 1.0.0 = * Initial release * Basic back in stock notifications * Simple admin interface == Upgrade Notice == = 3.0.1 = Important security update! Please update to version 3.0.1 for improved data sanitization and nonce handling. = 3.0.0 = Version 3.0.0 removes all limitations and license checks. The free version is now fully functional! Update now for unlimited subscribers and emails.