Linux 软件免费装
Banner图

Sanestly Cart Restrictions for WooCommerce

开发者 sanestly
更新时间 2026年10月11日 19:19
PHP版本: 7.4 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce minimum order maximum quantity checkout blocks cart restrictions

下载

1.0.0

详情介绍:

Sanestly Cart Restrictions for WooCommerce lets you set minimum and maximum order rules for your WooCommerce store. Apply a rule to the whole cart, selected products, or selected categories. Check cart amount or item quantity. Customers see a clear message when a rule applies. WooCommerce blocks checkout until the cart meets the rule. The plugin works with classic WooCommerce cart and checkout pages and with Cart and Checkout Blocks. Features Privacy This plugin does not send data to external servers, set cookies, or load CDN assets. It stores rules and settings in WordPress options on your site.

安装:

  1. Upload the sanestly-cart-restrictions-for-woocommerce folder to /wp-content/plugins/, or install the ZIP from Plugins - Add New.
  2. Activate the plugin (WooCommerce must be active).
  3. Open WooCommerce - Restrictions to create rules.
  4. Open WooCommerce - Restrictions Help to see how amounts and quantities are calculated.

屏幕截图:

  • Add or edit rule - choose the scope, metric, operator, and threshold.
  • Help - see how the plugin calculates amounts and quantities.
  • Cart - show a restriction message to the customer.
  • Checkout - block an order until the cart meets the rule.

升级注意事项:

1.0.0 Initial release.

常见问题:

How does the plugin calculate cart amount?

Sum of matching lines' line_total after product/coupon discounts, without tax or shipping. Fees, gift cards, and shipping are excluded.

What happens when a product or category rule has no matching items?

The rule does not fire until matching items are in the cart.

Does the plugin work with Cart and Checkout Blocks?

Yes. Validation uses Store API hooks so Blocks and classic checkout share the same evaluator.

Does the plugin support multicurrency stores?

The plugin does not automatically convert thresholds between currencies. Set thresholds that suit each currency before using it with a multicurrency extension.

What is removed on uninstall?

By default, nothing. Enable "Delete all plugin data on uninstall" in Restrictions settings first.

更新日志:

1.0.0