Minimum Order Amount for WooCommerce
Minimum Order Amount for WooCommerce
Description
Minimum Order Amount for WooCommerce allows you to set easily and fast a minimum amount for the WooCommerce orders. Moreover, it is possible to set the notification message in the case in which the minimum amount is not reached.
The check runs on the cart and at the checkout, on both the classic shortcode pages and the new Cart and Checkout blocks, so customers cannot place an order below the amount you configured.
Features
- Minimum order amount enforced on the cart and at the checkout.
- Fully customizable notice message, with the
[minimum]and[current]placeholders. - Amounts formatted according to your WooCommerce currency, decimal, thousand separator and number of decimals settings.
- Optional notice on the shop pages.
- Currency shown as a symbol (€) or as a currency code (EUR).
Compatibility
- WooCommerce High-Performance Order Storage (HPOS).
- WooCommerce Cart and Checkout blocks.
- Polylang and Polylang Pro.
- WooCommerce Price Based on Country.
Available Languages
- English
- Italiano
- Polski
- Français
It is based on the WordPress Plugin Boilerplate.
If you like the plugin, please give it a rating.
If you have a feature request, let me know, they’re always welcome!
Installation
- Unzip the downloaded zip file.
- Upload the
minimum-order-amount-for-woocommercefolder to the/wp-content/plugins/directory. - Activate the plugin through the ‘Plugins’ menu in WordPress.
- Go to WooCommerce > Minimum Order to change the default options.
Faq
Yes. Since version 1.6.0 the validation also runs through the WooCommerce Store API, so the notice is displayed by the block based Cart and Checkout too.
The cart subtotal is used, so before taxes and shipping charges.
Yes, use the dc_moafw_minimum_order_amount filter:
add_filter( 'dc_moafw_minimum_order_amount', function ( $minimum ) {
return 100;
} );
If you want to contribute to the project please contact me (curasi.d87@gmail.com).
This is the GitHub Repository dc-moafw.
Reviews
Он работает.
By votm on August 12, 2020
Works as intended, but it would be nice if you can have it apply condionally
By roadpaperweight on December 14, 2018
Simple Perfect. 3 Steps and you have Minimum Order Amount and custom messages
By freelancemarketer on October 6, 2018
It's perfect!
By Jorge Rodriguez (catupiryisjustcreamcheese) on January 3, 2018
great plugin
By oblaum on December 4, 2017
Doesnt seem to work
By freddred on November 29, 2017
Perfect
By pettedemon on November 28, 2017
Perfect and simple
By Amade Lang (tarzan007) on November 11, 2017
Cool!
By Almazka on September 21, 2017
Great
By moonsystems on September 14, 2017
Changelog
1.6.0
- New – Compatibility with the WooCommerce Cart and Checkout blocks (Store API).
- New – Declared compatibility with WooCommerce High-Performance Order Storage (HPOS).
- New – Added the
dc_moafw_minimum_order_amountfilter. - New – Added a “Settings” link on the plugins list page.
- New – Support for the current WooCommerce Price Based on Country API.
- Fix – The options were not deleted on uninstall because of an inverted condition; they are now removed on single sites and across a multisite network.
- Fix – Settings are no longer lost when a message contains a percent sign.
- Fix – The “Current Total Text” can now be left empty.
- Dev – All settings are now registered with a sanitize callback, and every admin output is escaped.
- Dev – The admin stylesheet is only loaded on the plugin settings page.
- Dev – Translations are loaded on
init, as required since WordPress 6.7. - Dev – The settings page now requires the
manage_woocommercecapability. - Dev – Requires WordPress 5.6+, PHP 7.2+ and WooCommerce 4.0+.
1.5.0 – 02/11/18
- New – Added compatibility with Polylang Pro, thanks to King Lui
- New – Added French translation, thanks to Steven Ray
- Fix – Fixed Polish translation, thanks to Steven Ray
1.4.0 – 04/03/18
- Fix – Now if the cart is empty, the minimum order notification is not shown
- New – Now the decimal and thousands separators are displayed as woocommerce settings
- New – Now the number of decimals in the price is the same as the woocommerce settings
- New – Now the currency position in the price is set as in the woocommerce settings
1.3.1 – 03/01/18
- Fix – Fix the fatal error on the cart page (if WCPBC_Customer class does not exist)
1.3.0 – 02/01/18
- New – Added the ability to choose how to display the currency
- Fix – Now the options are deleted when the plugin is uninstalled and not when the plugin is deactivate
- Fix – The cart total and the minimum order were formatted with two decimal places
- Dev – The function for set the minimum order has been restructured
- Dev – Update translations
1.2.0 – 12/03/17
- New – Added compatibility with WooCommerce Price Based on Country
- New – Added option for display notice message in the shop pages
- Dev – Removed the inclusion of css and js files not needed
- Fix – Fix the name and the group of strings registered in Polylang
- Dev – Update translations
1.1.1 – 21/01/17
- New – Added Polish translation, thanks to Jerzy Afanasjew
1.1.0 – 07/01/17
- New – Added compatibility with Polylang
- New – Added Italian translation
- Dev – Edit submit button of the admin panel for translations
- Fix – Fix Current Total Text
- Dev – Added donation link
1.0
- Initial public version
