{"id":381793,"date":"2026-10-11T11:20:18","date_gmt":"2026-10-11T11:20:18","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/sanestly-cart-restrictions-for-woocommerce\/"},"modified":"2026-10-11T11:19:50","modified_gmt":"2026-10-11T11:19:50","slug":"sanestly-cart-restrictions-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/sanestly-cart-restrictions-for-woocommerce\/","author":23575181,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.1.3","requires":"6.7","requires_php":"7.4","requires_plugins":null,"header_name":"Sanestly Cart Restrictions for WooCommerce","header_author":"Sanestly","header_description":"Create min\/max cart amount and quantity rules scoped to the whole cart, products, or categories. Enforced on classic and Blocks checkout.","assets_banners_color":"013d44","last_updated":"2026-10-11 11:19:50","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"","rating":0,"author_block_rating":0,"active_installs":0,"downloads":61,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"sanestly","date":"2026-10-11 11:19:50","revision":3739404}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3739403,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3739403,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3739403,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3739403,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3739403,"resolution":"1","location":"assets","locale":"","width":1440,"height":980},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3739403,"resolution":"2","location":"assets","locale":"","width":1440,"height":980},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3739403,"resolution":"3","location":"assets","locale":"","width":1440,"height":980},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3739403,"resolution":"4","location":"assets","locale":"","width":1440,"height":980},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3739403,"resolution":"5","location":"assets","locale":"","width":1440,"height":980}},"screenshots":{"1":"Rules list - manage cart restriction rules.","2":"Add or edit rule - choose the scope, metric, operator, and threshold.","3":"Help - see how the plugin calculates amounts and quantities.","4":"Cart - show a restriction message to the customer.","5":"Checkout - block an order until the cart meets the rule."}},"plugin_section":[],"plugin_tags":[285787,232945,51164,56067,286],"plugin_category":[45],"plugin_contributors":[283754],"plugin_business_model":[],"class_list":["post-381793","plugin","type-plugin","status-publish","hentry","plugin_tags-cart-restrictions","plugin_tags-checkout-blocks","plugin_tags-maximum-quantity","plugin_tags-minimum-order","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-sanestly","plugin_committers-sanestly"],"banners":{"banner":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/banner-772x250.png?rev=3739403","banner_2x":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/banner-1544x500.png?rev=3739403","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/icon-128x128.png?rev=3739403","icon_2x":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/icon-256x256.png?rev=3739403","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/screenshot-1.png?rev=3739403","caption":"Rules list - manage cart restriction rules."},{"src":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/screenshot-2.png?rev=3739403","caption":"Add or edit rule - choose the scope, metric, operator, and threshold."},{"src":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/screenshot-3.png?rev=3739403","caption":"Help - see how the plugin calculates amounts and quantities."},{"src":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/screenshot-4.png?rev=3739403","caption":"Cart - show a restriction message to the customer."},{"src":"https:\/\/ps.w.org\/sanestly-cart-restrictions-for-woocommerce\/assets\/screenshot-5.png?rev=3739403","caption":"Checkout - block an order until the cart meets the rule."}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p>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.<\/p>\n\n<h4>Features<\/h4>\n\n<ul>\n<li>Set minimum and maximum rules for order amount and item quantity.<\/li>\n<li>Apply rules to the whole cart, selected products, or selected categories.<\/li>\n<li>Calculate cart amount from discounted line totals, without tax or shipping.<\/li>\n<li>Use inclusive thresholds. A cart that equals the minimum or maximum passes the rule.<\/li>\n<li>Combine several products or categories in one rule.<\/li>\n<li>Validate classic cart and checkout pages, Store API requests, and Cart and Checkout Blocks.<\/li>\n<li>Show a product page hint when a product has a maximum quantity rule.<\/li>\n<li>Works with WooCommerce HPOS.<\/li>\n<li>Includes a Help page that explains amounts, quantities, and rule behaviour.<\/li>\n<li>Keep plugin data on uninstall by default, or remove it from Restrictions settings.<\/li>\n<\/ul>\n\n<h4>Privacy<\/h4>\n\n<p>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.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>sanestly-cart-restrictions-for-woocommerce<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install the ZIP from Plugins - Add New.<\/li>\n<li>Activate the plugin (WooCommerce must be active).<\/li>\n<li>Open WooCommerce - Restrictions to create rules.<\/li>\n<li>Open WooCommerce - Restrictions Help to see how amounts and quantities are calculated.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"how%20does%20the%20plugin%20calculate%20cart%20amount%3F\"><h3>How does the plugin calculate cart amount?<\/h3><\/dt>\n<dd><p>Sum of matching lines' <code>line_total<\/code> after product\/coupon discounts, without tax or shipping. Fees, gift cards, and shipping are excluded.<\/p><\/dd>\n<dt id=\"what%20happens%20when%20a%20product%20or%20category%20rule%20has%20no%20matching%20items%3F\"><h3>What happens when a product or category rule has no matching items?<\/h3><\/dt>\n<dd><p>The rule does not fire until matching items are in the cart.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20work%20with%20cart%20and%20checkout%20blocks%3F\"><h3>Does the plugin work with Cart and Checkout Blocks?<\/h3><\/dt>\n<dd><p>Yes. Validation uses Store API hooks so Blocks and classic checkout share the same evaluator.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20support%20multicurrency%20stores%3F\"><h3>Does the plugin support multicurrency stores?<\/h3><\/dt>\n<dd><p>The plugin does not automatically convert thresholds between currencies. Set thresholds that suit each currency before using it with a multicurrency extension.<\/p><\/dd>\n<dt id=\"what%20is%20removed%20on%20uninstall%3F\"><h3>What is removed on uninstall?<\/h3><\/dt>\n<dd><p>By default, nothing. Enable \"Delete all plugin data on uninstall\" in Restrictions settings first.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>First release with rule management, cart evaluation, classic cart and checkout support, Store API support, Help, and HPOS compatibility.<\/li>\n<\/ul>","raw_excerpt":"Set minimum and maximum cart amount or quantity rules for WooCommerce carts, products, and categories. Works with classic checkout and Blocks.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/381793","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=381793"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/sanestly"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=381793"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=381793"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=381793"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=381793"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=381793"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=381793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}