説明
ShopBoost – WooCommerce Toolkit is a powerful WordPress plugin that provides essential tools to boost your WooCommerce store’s performance. Set custom minimum order amounts, create category-based rules, automatically add products to cart, and generate direct checkout links. This comprehensive toolkit helps increase your average order value by preventing customers from completing orders below a specified threshold and providing advanced cart management features.
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
- Enable the plugin and set your minimum order amount
- Configure category rules (optional) for different product types
- Customize messages that customers see when they haven’t reached the minimum
- Customers see warnings in their cart and checkout if they’re below the minimum
- 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
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.
インストール
- Install and activate WooCommerce (if not already active)
- Upload the plugin files to
/wp-content/plugins/flexible-minimum-order/directory, or install the plugin through the WordPress plugins screen directly - Activate the plugin through the ‘Plugins’ screen in WordPress
- Go to “Flexible Minimum Order” in your WordPress admin to configure
- Set your minimum order amount and customize the settings as needed
FAQ
-
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.
評価
このプラグインにはレビューがありません。
貢献者と開発者
“ShopBoost – WooCommerce Toolkit” をあなたの言語に翻訳しましょう。
開発に興味がありますか ?
変更履歴
1.7.0
- New Feature – BGN EUR Dual Currency: Shows the secondary currency equivalent next to every price across the store (product listings, variable product ranges, cart item prices and subtotals, cart grand total, mini-cart, order pages, My Account, and transactional emails). Works in both directions — BGN stores show EUR (÷ 1.95583); EUR stores show лв. (BGN) (× 1.95583). Uses the fixed ECB conversion rate (1 EUR = 1.95583 BGN). Configurable display format (brackets or slash), position (after or before), and independent per-location toggles. Settings page adapts automatically to the active store currency.
- Performance – Feature hooks: Every feature toggle now truly disables its code path. All Auto Add Product hooks (six in total) are now gated behind the feature toggle — zero callbacks registered when the feature is off.
- Performance – Admin asset loading: Replaced 19 redundant page-detection
ifblocks inadmin_scripts()with a singlestrpos()check on the screen ID. Covers all current and future plugin pages automatically. Product Links admin bundle now loads only when the Product Links feature is enabled. - Performance – Color CSS variables: Notice colour overrides moved from a raw
wp_headecho towp_add_inline_style(), removing a separate render-blocking<style>tag. - Performance – BGN/EUR frontend CSS:
.fmo-eur-pricerule moved permanently intofrontend.css(already loaded only on WooCommerce pages), removing one inline style block per page load. - Redirect – URL matching fixed: Removed an impossible fourth SQL variation (raw
REQUEST_URIwith query string — source URLs are stored without query strings so it could never match). Query now uses three clean, documented variations. - Redirect – DB error logging: All four AJAX operations (create, update, delete, toggle) now log
$wpdb->last_erroron failure for easier debugging. - Price Variation – Two-column layout: Settings page rebuilt with side-by-side layout matching the rest of the plugin UI.
- Price Variation – Checkbox template fixed: “Checkbox – Square” template now renders correctly; previously fell back silently to the Table template.
- Price Variation – Checkbox Settings card: Dedicated settings card (size and four colors) appears automatically when the Checkbox template is selected.
- Price Variation – Highlight Selected: Toggle now correctly emits or suppresses
.selectedCSS rules for all five templates. - Price Variation – UI consistency: Toggle switches, color fields, number inputs, and save button now use the standard plugin design system.
- Size Chart editor rewrite: Fully data-driven. PHP parses saved chart HTML into a JSON model via DOMDocument; JavaScript renders from that model. Removed ~270 lines of legacy DOM-scraping code and all production
console.log()leaks. - Size Chart – Display Settings UX: Two always-visible multi-select boxes replaced with a segmented “Show on” toggle (All Products / By Category / Specific Products).
- Safer toggling: Admin UI, settings link, and shortcodes remain always-on so settings are always accessible regardless of feature state.
1.6.4
- Cleanup: Removed leftover
console.log()debug statements from the Checkout Field Editor and URL Transliteration screens. Onlyconsole.error()calls for genuine failures (missing jQuery UI, AJAX errors) remain.
1.6.3
- Fix: Bulk Edit Products page threw
SyntaxError: Expected property name or '}' in JSONwhen a category name contained an apostrophe, ampersand, or other character mangled byesc_js(). The categories list is now injected withwp_json_encode()directly (noJSON.parse()/esc_js()), which produces a valid JavaScript array literal regardless of the contents.
1.6.2
- Fix: Drag-and-drop reordering on the Checkout Field Editor now works for both default WooCommerce fields and custom fields. The default fields container was switched from CSS grid to flexbox (jQuery UI sortable cannot compute positions inside a grid container), a dedicated
.fmo-drag-handleelement is now the sortable handle so Edit/Hide/Required buttons stay clickable, and the custom fields table helper now preserves column widths during drag.
1.6.1
- View layer extracted: Every admin page HTML template has been moved out of
class-settings-page.phpinto its own file underincludes/views/. The class shrinks from 5,914 to 556 lines and now contains only routing, menu registration, settings sanitizers, and thin delegators to the view files. No behaviour changes. - Maintainability: Each screen is now reviewable on its own (
view-redirect.php,view-bulk-edit.php,view-checkout-field-editor.php, etc.).
1.6.0
- Architecture refactor: The monolithic settings class has been split into dedicated AJAX handlers (Redirects, Checkout Fields, URL Transliteration, Product Generator, Bulk Edit) and a reusable URL transliterator service. No user-facing behaviour changes; AJAX endpoints and nonces are preserved.
- Security by default: New
Flexmior_Ajax_Handlerbase class enforcescheck_ajax_referer()+current_user_can()on every AJAX endpoint — it is no longer possible to add a handler that forgets the check. - Smaller core file:
class-settings-page.phpreduced from 7,918 5,914 lines (-25%). Feature code lives in focused files underincludes/ajax/. - Dead code removed:
upload_image_from_url()(unused).
1.5.3
- HPOS fix: Custom checkout fields now use the Order CRUD API (
$order->update_meta_data/$order->get_meta) instead of legacy post meta — required for stores running High-Performance Order Storage. - Security hardening: Added explicit
phpcs:ignoreannotations with justifications to direct database queries against plugin tables; strict comparison (true) added to allin_array()calls. - Code quality: Replaced
gmdate()withwp_date()for analytics date grouping so results respect the site timezone. - JS cleanup: Debug console output is now gated behind a debug flag (enabled automatically when
WP_DEBUGis true). Production console stays quiet; real errors still log viaconsole.error. - Cleanup: Removed dead code blocks, debug HTML comments, and stale
// ПРЕМАХНАТОmarkers. - Activation: Explicit defaults when reading options in the activation hook.
1.5.2
- New: Conditional Free Shipping now supports custom checkout text for uncalculated shipping labels (editable from settings)
- Bug fixes: Fixed minor bugs and improved overall stability
1.5.1
- Bulk Edit: Added product image column in table
- Bulk Edit: Products per page filter (10, 20, 50, 100)
- Admin bar: ShopBoost menu for quick access to Settings and Bulk Edit
- Bulk Edit: Mass discount with save & restore – original prices saved automatically, restore action to undo
- Bulk Edit: Full variation support – backup/restore and all bulk actions apply to variable product variations
- Bulk Edit: Variable products show min–max price ranges; Variations badge in table
- File cleanup for WordPress.org compliance – removed development-only docs
- Updated README.md with accurate plugin description
1.5.0
- New: Size Chart feature (Beta) – display size guide tables in product tabs, via shortcode, or as popup
- New: Bulk Edit Products – edit prices, stock, and apply bulk promotions in a table view with search and filters
- Performance: Frontend CSS loads only on cart, checkout, shop, and product pages (not on blog/archive)
- Performance: Color CSS variables injection limited to WooCommerce pages only
- Performance: Auto Add Product product list limited to 500 items for faster loading
- Performance: Added lightweight frontend.css (~3 KB) with only notice styles
- Size Chart marked as Beta in admin interface
- Plugin optimized for speed and compatibility with latest WordPress
1.4.1
- Minimum order now uses cart contents only (products) – shipping, taxes and fees are excluded from the minimum order check
- Fixed redirect logic on login/registration pages (replaced undefined is_login/is_registration with proper WordPress/WooCommerce checks)
1.4
- Improved Checkout Field Editor with simplified modal design and better user experience
- Enhanced Redirect page with compact layout and improved modal interface
- Fixed drag and drop functionality for reordering checkout fields
- Fixed show/hide functionality for default WooCommerce checkout fields
- Enhanced security with improved SQL injection protection and data sanitization
- Reorganized General Functions page – active features first, then Coming Soon features
- Improved overall admin interface consistency and usability
1.3.3
- Redesigned General Functions page with modern card-based layout
- Added feature toggle system for enabling/disabling individual features
- Added 6 new “Coming Soon” features: Advent Calendar, Free Shipping Bar, Price Tracking, Abandoned Cart, Price Variation, and Checkout Field Editor
- Improved admin interface with full-width responsive grid layout
- Updated plugin icons (Shopboostar.png and Icondash.ico) for better visual identity
- Removed deprecated icon-128×128.png
- Enhanced product links page with improved product name and price formatting
- Optimized icon sizes for better performance (20x20px for menu icons)
- Improved code organization and preparation for future feature releases
1.3.2
- Added Woodmart theme integration with full AJAX cart support
- Added mini cart widget message for Woodmart theme
- Added protection against duplicate plugin loading using FLEXIBLE_MINIMUM_ORDER_LOADED constant
- Improved theme detection for Woodmart, Divi, and default themes
- Added dark mode support for Woodmart theme
- Enhanced responsive styles for all integrations
1.3.1
- Fixed Gutenberg/Blocks integration – HTML tags now display correctly as HTML instead of plain text
- Fixed syntax error in JavaScript code for Blocks integration
- Fixed output escaping issues in all integration files
- Updated “Tested up to” WordPress version to 6.9
- Removed all debug messages (console.log and error_log) for production release
- Improved HTML rendering in Gutenberg Blocks minimum order messages
- Enhanced security with proper output escaping and sanitization
1.3.0
- Added Auto Add Product feature – Automatically add products to cart when customers reach specified amounts
- Added support for multiple auto-add products with individual configuration per product
- Added discount options for auto-added products (Percentage, Fixed Amount, Set Price)
- Added option to automatically remove products from cart when total falls below threshold
- Added option to hide auto-added products from shop pages (only visible when automatically added)
- Moved “Enable direct checkout links” option to Product Links page for better organization
- Improved admin interface with full-width product configuration table
- Enhanced security with proper input sanitization and validation
- Fixed all security warnings and linter errors
- Improved JavaScript functionality for dynamic product row management
1.2.1
- Fixed issue where “Enable Minimum Order” checkbox could not be properly disabled
- Improved form submission handling to correctly save checkbox states when unchecked
- Enhanced settings save logic to properly detect Basic Settings form submission
1.2
- Added Product Links feature – Generate direct checkout links for products
- Added variation selection popup for variable products when copying checkout links
- Added “Copy Checkout Link” action in product list for quick link generation
- Improved admin interface with new “Product Links” submenu page
- Enhanced security with proper input sanitization and validation
- Fixed all linter warnings and security recommendations
- Added phpcs.xml configuration file for code quality
- Improved JavaScript error handling and user feedback
- Added modal popup for variation selection with AJAX support
- Updated menu naming to “Flexible Minimum Order” (restored original name)
- Enhanced copy-to-clipboard functionality with visual feedback
- Added support for variable products in direct checkout links
- Improved code documentation and comments
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