=== Flexible Minimum Order === Contributors: wpsupporting Donate link: https://paypal.me/gdimitrovbg Tags: woocommerce, minimum order, cart, checkout, ecommerce Requires at least: 6.1 Tested up to: 6.8 Requires PHP: 7.4 Stable tag: 1.2 License: GPLv2 or later License URI: https://www.gnu.org/licenses/gpl-2.0.html Set a custom minimum order amount for WooCommerce with modern admin interface and full HPOS compatibility. == Description == Flexible Minimum Order is a powerful WordPress plugin that allows you to set custom minimum order amounts for your WooCommerce store. This plugin helps increase your average order value by preventing customers from completing orders below a specified threshold. = Key Features = * **Custom Minimum Order Amount** - Set any minimum order amount for your store * **Category-based Rules** - Set different minimum amounts for different product categories * **Modern Admin Interface** - Clean, professional admin interface with live preview * **HPOS Compatible** - Full compatibility with WooCommerce High-Performance Order Storage * **Multi-language Ready** - Fully translated to English with Bulgarian translation included * **Secure & Safe** - Built with security in mind, all inputs validated and outputs escaped * **High Performance** - Optimized for speed and performance, compatible with all caching plugins * **User Friendly** - Simple and intuitive admin interface = How It Works = 1. **Enable the plugin** and set your minimum order amount 2. **Configure category rules** (optional) for different product types 3. **Customize messages** that customers see when they haven't reached the minimum 4. **Customers see warnings** in their cart and checkout if they're below the minimum 5. **Orders are blocked** at checkout if the minimum amount isn't reached = Perfect For = * E-commerce stores wanting to increase average order value * Stores with high shipping costs that need minimum orders * Businesses selling products that require minimum quantities * Any WooCommerce store looking to optimize order values = Technical Details = * Compatible with WooCommerce 5.0+ * Requires WordPress 6.1+ * Requires PHP 7.4+ * Fully compatible with HPOS (High-Performance Order Storage) * No database changes required * Lightweight and fast == Installation == 1. Install and activate WooCommerce (if not already active) 2. Upload the plugin files to `/wp-content/plugins/flexible-minimum-order/` directory, or install the plugin through the WordPress plugins screen directly 3. Activate the plugin through the 'Plugins' screen in WordPress 4. Go to "Flexible Minimum Order" in your WordPress admin to configure 5. Set your minimum order amount and customize the settings as needed == Frequently Asked Questions == = Does it work with HPOS? = Yes! Flexible Minimum Order is fully compatible with WooCommerce High-Performance Order Storage (HPOS). = Can I set different minimum amounts for different categories? = Yes! The plugin supports category-based minimum amounts, allowing you to set different thresholds for different product types. = Will it work with my theme? = Yes! The plugin uses standard WooCommerce hooks and should work with any theme that follows WooCommerce standards. = Is it compatible with caching plugins? = Yes! The plugin is fully compatible with all major caching plugins including WP Rocket, W3 Total Cache, and WP Super Cache. = Can I customize the warning messages? = Yes! You can fully customize the messages that customers see, including using placeholders for dynamic values. = Does it work with multi-currency plugins? = Yes! The plugin works with the store's base currency and is compatible with most multi-currency plugins. = Is it safe and secure? = Yes! The plugin follows WordPress security best practices with proper nonce verification, input sanitization, and output escaping. == Screenshots == 1. Main settings page with modern admin interface 2. Category-based minimum amount configuration 3. Custom message customization with placeholders 4. Order Progress page (Coming Soon feature) 5. About page with plugin information == Changelog == = 1.0.1 = * Applied flexmior/fmo_ prefixes across entire codebase for better uniqueness * Added direct access guards (ABSPATH) to all PHP files * Implemented robust admin assets enqueue logic for proper page detection * Fixed all i18n and escaping issues with proper translator comments * Updated plugin headers with correct URIs and requirements * Added migration path for old option names to maintain backward compatibility * Deprecated old shortcode while maintaining backward compatibility * Removed all debug code and improved code quality * Enhanced security with proper nonce verification and sanitization * Updated readme.txt to WordPress.org standards = 1.0.0 = * Initial release * Basic minimum order amount functionality * Category-based minimum amounts * Custom message customization * HPOS compatibility * Modern admin interface == Upgrade Notice == = 1.0.1 = Major update with improved security, better code organization, and WordPress.org compliance. All existing settings will be automatically migrated. == Support == For support, feature requests, or bug reports, please visit our support page at https://wpsupporting.com/support/ == Privacy Policy == This plugin does not collect, store, or transmit any personal data. It only uses WordPress and WooCommerce standard functionality to enforce minimum order amounts. == Credits == Developed by wpsupporting - https://wpsupporting.com Special thanks to the WordPress and WooCommerce communities for their excellent documentation and support.