Sanestly Cart Restrictions for WooCommerce

Description

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

  • Set minimum and maximum rules for order amount and item quantity.
  • Apply rules to the whole cart, selected products, or selected categories.
  • Calculate cart amount from discounted line totals, without tax or shipping.
  • Use inclusive thresholds. A cart that equals the minimum or maximum passes the rule.
  • Combine several products or categories in one rule.
  • Validate classic cart and checkout pages, Store API requests, and Cart and Checkout Blocks.
  • Show a product page hint when a product has a maximum quantity rule.
  • Works with WooCommerce HPOS.
  • Includes a Help page that explains amounts, quantities, and rule behaviour.
  • Keep plugin data on uninstall by default, or remove it from Restrictions settings.

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.

Screenshots

Installation

  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.

FAQ

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.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“Sanestly Cart Restrictions for WooCommerce” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • First release with rule management, cart evaluation, classic cart and checkout support, Store API support, Help, and HPOS compatibility.