{"id":362358,"date":"2026-09-17T21:02:03","date_gmt":"2026-09-17T21:02:03","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/smart-discount-rules-for-woocommerce\/"},"modified":"2026-10-02T13:30:03","modified_gmt":"2026-10-02T13:30:03","slug":"mtx-smart-discount-rules-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/lin.wordpress.org\/plugins\/mtx-smart-discount-rules-for-woocommerce\/","author":23423368,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.0","stable_tag":"1.1.0","tested":"7.1.3","requires":"6.0","requires_php":"8.1","requires_plugins":null,"header_name":"Smart Discount Rules for WooCommerce","header_author":"MatrixLab","header_description":"Advanced Cart Rules & Behavioral Discounts for WooCommerce","assets_banners_color":"f5f8f6","last_updated":"2026-10-02 13:30:03","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/mtx-smart-discount-rules-for-woocommerce","header_author_uri":"https:\/\/matrixlabhq.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":277,"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":"matrixlab","date":"2026-09-20 10:13:23","revision":3704107},"1.0.1":{"tag":"1.0.1","author":"matrixlab","date":"2026-09-28 14:09:14","revision":3717336},"1.1.0":{"tag":"1.1.0","author":"matrixlab","date":"2026-10-02 13:30:03","revision":3724878}},"upgrade_notice":{"1.0.1":"<p>Declares HPOS and Cart\/Checkout blocks compatibility. Nothing about how discounts work has changed; WooCommerce simply no longer reports the plugin as uncertain under Settings, Advanced, Features.<\/p>","1.0.0":"<p>\ud83c\udf89 Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3700976,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3700976,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256},"icon.svg":{"filename":"icon.svg","revision":3717336,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3717336,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3717336,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0","1.0.1","1.1.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3725335,"resolution":"1","location":"assets","locale":"","width":1600,"height":1200},"screenshot-10.png":{"filename":"screenshot-10.png","revision":3725335,"resolution":"10","location":"assets","locale":"","width":1600,"height":1200},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3725335,"resolution":"2","location":"assets","locale":"","width":1600,"height":1200},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3725335,"resolution":"3","location":"assets","locale":"","width":1600,"height":1200},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3725335,"resolution":"4","location":"assets","locale":"","width":1600,"height":1200},"screenshot-5.png":{"filename":"screenshot-5.png","revision":3725335,"resolution":"5","location":"assets","locale":"","width":1600,"height":1200},"screenshot-6.png":{"filename":"screenshot-6.png","revision":3725335,"resolution":"6","location":"assets","locale":"","width":1600,"height":1200},"screenshot-7.png":{"filename":"screenshot-7.png","revision":3725335,"resolution":"7","location":"assets","locale":"","width":1600,"height":1200},"screenshot-8.png":{"filename":"screenshot-8.png","revision":3725335,"resolution":"8","location":"assets","locale":"","width":1600,"height":1200},"screenshot-9.png":{"filename":"screenshot-9.png","revision":3725335,"resolution":"9","location":"assets","locale":"","width":1600,"height":1200}},"screenshots":{"1":"Every rule in one place: priority order, live status, uses and total saved, with JSON export and import","2":"Conditions grouped the way you think: cart subtotal, item quantity, products, categories, customer role, and more","3":"Every kind of discount: percentage, fixed amount, and the BOGO and tiered pricing Pro adds","4":"Scheduling: start and end dates, specific weekdays, and a time-of-day window that can run overnight","5":"Usage limits: a total budget across the store and a separate per-customer cap (Pro)","6":"Dashboard: totals across every rule, with quick actions","7":"Analytics: total discount given, orders touched, and the rules earning their place","8":"AI Optimizer: ranks rules by real performance and explains what to adjust (Pro)","9":"Data Manager: move rules between sites, seed sample data, and clear logs and generated coupons (Pro)","10":"Settings: master switch, logging level, and an explicit opt-in before any data is deleted"}},"plugin_section":[],"plugin_tags":[65683,197693,6744,15963,286],"plugin_category":[45],"plugin_contributors":[206226,255023],"plugin_business_model":[],"class_list":["post-362358","plugin","type-plugin","status-publish","hentry","plugin_tags-bulk-discount","plugin_tags-discount-rules","plugin_tags-discounts","plugin_tags-dynamic-pricing","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-imtiazepu","plugin_contributors-matrixlab","plugin_committers-matrixlab"],"banners":{"banner":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/banner-772x250.png?rev=3717336","banner_2x":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/banner-1544x500.png?rev=3717336","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/icon.svg?rev=3717336","icon":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/icon.svg?rev=3717336","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-1.png?rev=3725335","caption":"Every rule in one place: priority order, live status, uses and total saved, with JSON export and import"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-2.png?rev=3725335","caption":"Conditions grouped the way you think: cart subtotal, item quantity, products, categories, customer role, and more"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-3.png?rev=3725335","caption":"Every kind of discount: percentage, fixed amount, and the BOGO and tiered pricing Pro adds"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-4.png?rev=3725335","caption":"Scheduling: start and end dates, specific weekdays, and a time-of-day window that can run overnight"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-5.png?rev=3725335","caption":"Usage limits: a total budget across the store and a separate per-customer cap (Pro)"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-6.png?rev=3725335","caption":"Dashboard: totals across every rule, with quick actions"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-7.png?rev=3725335","caption":"Analytics: total discount given, orders touched, and the rules earning their place"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-8.png?rev=3725335","caption":"AI Optimizer: ranks rules by real performance and explains what to adjust (Pro)"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-9.png?rev=3725335","caption":"Data Manager: move rules between sites, seed sample data, and clear logs and generated coupons (Pro)"},{"src":"https:\/\/ps.w.org\/mtx-smart-discount-rules-for-woocommerce\/assets\/screenshot-10.png?rev=3725335","caption":"Settings: master switch, logging level, and an explicit opt-in before any data is deleted"}],"raw_content":"<!--section=description-->\n<p><strong>Smart Discount Rules for WooCommerce<\/strong> turns your pricing strategy into rules you can actually see. Build a discount once in a visual editor, set the conditions it fires on, decide when it runs, and let the engine handle the rest. No coupon codes to hand out, no snippets to paste into functions.php.<\/p>\n\n<p>Whether you run one evergreen \"spend $100, save 10%\" offer or a calendar full of weekend flash sales, the aim is the same: make WooCommerce discounting something you configure, not something you code.<\/p>\n\n<p>\u2728 <strong><a href=\"https:\/\/sdrules.com\/features\/\">All Features<\/a><\/strong> | \ud83d\udcb0 <strong><a href=\"https:\/\/sdrules.com\/pricing\/\">Upgrade to Pro<\/a><\/strong> | \ud83d\udcd6 <strong><a href=\"https:\/\/sdrules.com\/docs\/\">Documentation<\/a><\/strong> | \ud83c\udd98 <strong><a href=\"https:\/\/wordpress.org\/support\/plugin\/mtx-smart-discount-rules-for-woocommerce\/#new-post\">Support<\/a><\/strong><\/p>\n\n<p>\ud83d\udcfa <strong>Watch the overview<\/strong>: free and Pro in three and a half minutes.<\/p>\n\n<p>https:\/\/www.youtube.com\/watch?v=D2uc9cTUM4k<\/p>\n\n\n\n<p>WooCommerce ships with coupons, and coupons are fine as long as your customer knows the code, types it correctly, and the offer never needs to depend on anything more than a cart total. The moment you want \"10% off for wholesale customers, but only on Fridays, and not on items already marked down,\" you are writing PHP.<\/p>\n\n<p>Smart Discount Rules replaces that with a rule engine. Each rule is a set of conditions and a set of actions. Conditions decide when a rule applies; actions decide what it takes off. Rules have a priority order and a stacking mode, so you control exactly what happens when two of them match the same cart.<\/p>\n\n<p>Discounts apply automatically as a negative cart fee, so there is nothing for your customer to type in at checkout.<\/p>\n\n\n\n<h3>\ud83d\ude80 Key Features<\/h3>\n\n<ul>\n<li><strong>Visual rule editor<\/strong>: build conditions and actions in the browser, no code required<\/li>\n<li><strong>Percentage and fixed-amount discounts<\/strong>: applied to the whole cart, or only to products you choose<\/li>\n<li><strong>Five cart conditions<\/strong>: cart subtotal, specific products, product categories, customer role, and total item quantity<\/li>\n<li><strong>Comparison operators<\/strong>: greater than, less than, or equal to, plus the \"or equal\" variants. Not just a single minimum<\/li>\n<li><strong>Full scheduling<\/strong>: start and end dates, specific weekdays, and a time-of-day window that can run past midnight<\/li>\n<li><strong>Skip items already on sale<\/strong>: so a shopper is never discounted twice on the same product<\/li>\n<li><strong>Priority and stacking control<\/strong>: additive, exclusive, or highest-first, set per rule<\/li>\n<li><strong>Automatic application<\/strong>: discounts land in the cart as a fee, with no coupon code for the customer to remember<\/li>\n<li><strong>Dashboard and analytics<\/strong>: total discount given, orders touched, usage count and savings for every rule<\/li>\n<li><strong>Import and export as JSON<\/strong>: back rules up, or move them from staging to production<\/li>\n<li><strong>Nothing added to your storefront<\/strong>: no scripts on your shop pages, so your page speed is untouched (Pro's storefront badges and countdown timers add their own)<\/li>\n<li><strong>Built for WooCommerce HPOS<\/strong>: fully compatible with High-Performance Order Storage<\/li>\n<li><strong>Developer-friendly<\/strong>: REST API under <code>\/wp-json\/mtxsdr\/v1\/<\/code>, plus documented action and filter hooks<\/li>\n<\/ul>\n\n\n\n<h3>\u2705 Free Version Features<\/h3>\n\n<p>The free version covers real discounting, not a demo:<\/p>\n\n<p>\u2705 <strong>Visual rule editor<\/strong> with condition and action builders\n\u2705 <strong>Percentage discounts<\/strong>, on the entire cart or on products you select\n\u2705 <strong>Fixed-amount discounts<\/strong>, capped at the value of whatever they target\n\u2705 <strong>Cart subtotal condition<\/strong> with full comparison operators\n\u2705 <strong>Specific products in cart<\/strong> condition\n\u2705 <strong>Product categories in cart<\/strong> condition\n\u2705 <strong>Customer role condition<\/strong>, including guest shoppers\n\u2705 <strong>Total cart item quantity<\/strong> condition\n\u2705 <strong>Scheduling<\/strong>: date range, recurring weekdays, and overnight time windows\n\u2705 <strong>Skip products already on sale<\/strong>\n\u2705 <strong>Priority ordering and three stacking modes<\/strong>: additive, exclusive, highest-first\n\u2705 <strong>Dashboard<\/strong>: totals across every rule, with quick actions\n\u2705 <strong>Analytics<\/strong>: total discount given, orders with a discount, and top performing rules\n\u2705 <strong>Rules list<\/strong> with filtering by all, active, or inactive\n\u2705 <strong>JSON import and export<\/strong> of every rule\n\u2705 <strong>Rule logs<\/strong> with configurable logging level\n\u2705 <strong>Up to 5 active rules<\/strong> at a time. Create as many as you like, activate five<\/p>\n\n<p>Dates are shown in your site's date format and evaluated in your site's timezone, so a rule that ends \"Sunday\" ends when your store's Sunday ends.<\/p>\n\n\n\n<h3>\ud83d\udd25 Pro Version Features<\/h3>\n\n<p><a href=\"https:\/\/sdrules.com\/pricing\/\">Smart Discount Rules Pro<\/a> is a separate plugin that installs alongside this one and unlocks the full engine:<\/p>\n\n<p>\u2705 <strong>Unlimited active rules<\/strong>\n\u2705 <strong>BOGO (Buy One Get One)<\/strong> actions\n\u2705 <strong>Tiered pricing<\/strong>: quantity-based discount tiers\n\u2705 <strong>More conditions<\/strong>: payment method, shipping method, user meta, visitor type, and behavioral triggers\n\u2705 <strong>Purchase-history conditions<\/strong>: first-time buyer, order count, and lifetime spend\n\u2705 <strong>Condition groups with OR logic<\/strong>, not just AND\n\u2705 <strong>Per-rule usage limits<\/strong>, in total across the store and per customer\n\u2705 <strong>Auto-apply coupons<\/strong> with human-readable codes like <code>SAVE15-XY9K2A<\/code>\n\u2705 <strong>Abandoned cart recovery emails<\/strong>\n\u2705 <strong>Behavioral tracking and product analytics<\/strong>\n\u2705 <strong>AI-powered rule insights<\/strong>: ranks rules by real performance and explains what to adjust\n\u2705 <strong>Storefront discount badges, pricing tables, and countdown timers<\/strong>\n\u2705 <strong>Email notifications<\/strong> with customizable templates\n\u2705 <strong>Rule testing simulator<\/strong> and an advanced data manager<\/p>\n\n<p>\ud83d\udc49 <strong><a href=\"https:\/\/sdrules.com\/pricing\/#feature-comparison\">See the full Free vs Pro comparison<\/a><\/strong><\/p>\n\n\n\n<h3>\ud83c\udfaf Perfect For<\/h3>\n\n<ul>\n<li>\ud83c\udfea <strong>Store owners<\/strong> who want promotions that run themselves instead of coupon codes to chase<\/li>\n<li>\ud83d\uded2 <strong>Stores running recurring sales<\/strong>: weekend offers, happy-hour pricing, seasonal campaigns<\/li>\n<li>\ud83d\udcbc <strong>Wholesale and member stores<\/strong> that need different pricing per customer role<\/li>\n<li>\ud83d\udce6 <strong>Stores pushing basket size<\/strong> with spend thresholds and quantity incentives<\/li>\n<li>\ud83d\udc68\u200d\ud83d\udcbb <strong>WooCommerce developers and agencies<\/strong> who want a hookable engine rather than another snippet in functions.php<\/li>\n<li>\ud83c\udf0d <strong>Multi-language stores<\/strong>: built with WordPress i18n and translation-ready throughout<\/li>\n<\/ul>\n\n\n\n<h3>\ud83d\udcc8 Why Smart Discount Rules<\/h3>\n\n<p>There is no shortage of WooCommerce discount plugins. Here is what actually separates this one:<\/p>\n\n<ul>\n<li>\u26a1 <strong>Nothing on your storefront<\/strong>: discounts are worked out on the server and applied as a cart fee. This plugin puts no scripts on your shop pages at all. It only loads anything inside your WordPress admin.<\/li>\n<li>\ud83d\udd52 <strong>Scheduling that understands your store<\/strong>: weekday recurrence and time-of-day windows, including windows that cross midnight, evaluated in your site's own timezone rather than UTC.<\/li>\n<li>\ud83c\udff7\ufe0f <strong>No double discounting<\/strong>: a switch on each discount to leave out products already on sale, so a clearance item doesn't take a second cut.<\/li>\n<li>\ud83c\udf9a\ufe0f <strong>Real stacking control<\/strong>: priority order plus additive, exclusive, and highest-first modes, so you decide up front whether two matching rules combine or one stands alone.<\/li>\n<li>\ud83d\udd0d <strong>Analytics that answer a question<\/strong>: usage count and total savings per rule, so you can see which promotion is actually earning its place.<\/li>\n<li>\ud83e\udde9 <strong>An extension API, not a wall<\/strong>: documented hooks, filters, a REST API, and a JavaScript registry. Pro is built on the same public API you can build on.<\/li>\n<li>\ud83d\udd04 <strong>HPOS compatible<\/strong>: fully tested with WooCommerce High-Performance Order Storage, the default since WooCommerce 8.0.<\/li>\n<\/ul>\n\n\n\n<h3>Developer Documentation<\/h3>\n\n<h4>Hooks &amp; Filters<\/h4>\n\n<p><strong>Actions:<\/strong>\n* <code>mtxsdr_loaded<\/code> - Fired after core components initialize (extensions boot here)\n* <code>mtxsdr_rule_evaluated<\/code> - Fired when a rule is evaluated\n* <code>mtxsdr_discount_applied<\/code> - Fired when a discount is applied to cart\n* <code>mtxsdr_evaluation_complete<\/code> - Fired when all rules have been evaluated\n* <code>mtxsdr_cart_discounts_applied<\/code> - Fired after cart discounts are applied\n* <code>mtxsdr_order_discounts_tracked<\/code> - Fired after order discount usage is tracked\n* <code>mtxsdr_rule_saved<\/code> \/ <code>mtxsdr_rule_deleted<\/code> - Rule lifecycle events<\/p>\n\n<p><strong>Filters:<\/strong>\n* <code>mtxsdr_evaluate_custom_condition<\/code> - Implement custom condition types\n* <code>mtxsdr_calculate_custom_discount<\/code> - Implement custom discount calculations\n* <code>mtxsdr_condition_types<\/code> \/ <code>mtxsdr_action_types<\/code> - Declare custom types\n* <code>mtxsdr_evaluate_condition_groups<\/code> - Combine condition groups (defaults to false, so grouped rules do not match unless an extension handles them)\n* <code>mtxsdr_rule_applies<\/code> - Veto a rule after its conditions pass\n* <code>mtxsdr_rule_data<\/code> - Add per-rule data of your own to the REST response\n* <code>mtxsdr_discount_result<\/code> - Filter the evaluation result before caching\n* <code>mtxsdr_active_rule_limit<\/code> - Change the active rule limit\n* <code>mtxsdr_settings_defaults<\/code> \/ <code>mtxsdr_sanitize_settings<\/code> - Extend plugin settings\n* <code>mtxsdr_admin_localize_data<\/code> - Extend admin app data\n* <code>mtxsdr_rule_allowed_fields<\/code> \/ <code>mtxsdr_sanitize_rule_data<\/code> - Extend rule fields<\/p>\n\n<h4>REST API Endpoints<\/h4>\n\n<ul>\n<li><code>GET\/POST \/wp-json\/mtxsdr\/v1\/rules<\/code> - List\/create rules<\/li>\n<li><code>GET\/PUT\/DELETE \/wp-json\/mtxsdr\/v1\/rules\/{id}<\/code> - Manage single rule<\/li>\n<li><code>GET\/PUT \/wp-json\/mtxsdr\/v1\/settings<\/code> - Get\/update settings<\/li>\n<li><code>GET \/wp-json\/mtxsdr\/v1\/export<\/code> \/ <code>POST \/wp-json\/mtxsdr\/v1\/import<\/code> - Rules backup<\/li>\n<\/ul>\n\n<h4>Example Rule JSON<\/h4>\n\n<pre><code>{\n  \"name\": \"10% Off for Members\",\n  \"description\": \"Give 10% discount to logged-in members\",\n  \"enabled\": true,\n  \"priority\": 10,\n  \"conditions\": [\n    {\n      \"type\": \"user_role\",\n      \"roles\": [\"customer\", \"subscriber\"]\n    }\n  ],\n  \"actions\": [\n    {\n      \"type\": \"percentage_discount\",\n      \"percentage\": 10,\n      \"apply_to\": \"cart\"\n    }\n  ],\n  \"stacking\": \"additive\"\n}&lt;h3&gt;Support&lt;\/h3&gt;\n<\/code><\/pre>\n\n<p>* \ud83c\udd98 <strong>Free support<\/strong>: the <a href=\"https:\/\/wordpress.org\/support\/plugin\/mtx-smart-discount-rules-for-woocommerce\/#new-post\">WordPress.org support forum<\/a>\n* \ud83d\udcd6 <strong>Documentation<\/strong>: <a href=\"https:\/\/sdrules.com\/docs\/\">sdrules.com\/docs<\/a>\n* \ud83d\udcb0 <strong>Pro and pricing<\/strong>: <a href=\"https:\/\/sdrules.com\/pricing\/\">sdrules.com\/pricing<\/a><\/p>\n\n<h3>Privacy Policy<\/h3>\n\n<p>Smart Discount Rules for WooCommerce does not collect or track any store\nvisitor data, and loads no scripts on your storefront.<\/p>\n\n<p>The plugin uses the <a href=\"https:\/\/freemius.com\">Freemius<\/a> SDK for optional,\n<strong>opt-in<\/strong> usage analytics (admin-side only). On first activation you are\nasked whether to share non-sensitive diagnostic data: WordPress and PHP\nversions, plugin version, site URL, and admin email. You can skip this and\nthe plugin works identically either way. You can opt out at any time from\nthe Account page. Nothing is collected without your explicit consent.<\/p>\n\n<!--section=installation-->\n<p><strong>\u2b07\ufe0f Option 1: Install from WordPress.org (Recommended)<\/strong><\/p>\n\n<ol>\n<li>\ud83d\udd11 Log into your WordPress admin<\/li>\n<li>\ud83d\udd0d Go to <strong>Plugins &gt; Add New<\/strong> and search for <strong>Smart Discount Rules<\/strong><\/li>\n<li>\ud83d\uddb1\ufe0f Click <strong>Install Now<\/strong>, then <strong>Activate<\/strong><\/li>\n<\/ol>\n\n<p><strong>\ud83d\udce6 Option 2: Manual Upload<\/strong><\/p>\n\n<ol>\n<li>\u2b07\ufe0f Download the plugin zip from WordPress.org<\/li>\n<li>\ud83d\udcc2 Go to <strong>Plugins &gt; Add New &gt; Upload Plugin<\/strong><\/li>\n<li>\ud83d\udce4 Upload the zip file and click <strong>Install Now<\/strong><\/li>\n<li>\u2705 Click <strong>Activate Plugin<\/strong><\/li>\n<\/ol>\n\n<p><strong>\ud83d\ude80 Getting Started<\/strong><\/p>\n\n<ol>\n<li>After activation, go to <strong>Discount Rules<\/strong> in your WordPress admin sidebar<\/li>\n<li>Click <strong>Create New Rule<\/strong>, give it a name, and add your first condition<\/li>\n<li>Add an action, a percentage or fixed amount, and choose what it applies to<\/li>\n<li>Set a schedule and a priority if you need them, then enable the rule<\/li>\n<li>Add a matching product to your cart and check the discount appears as a cart fee<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"%F0%9F%94%8C%20does%20this%20plugin%20require%20woocommerce%3F\"><h3>\ud83d\udd0c Does this plugin require WooCommerce?<\/h3><\/dt>\n<dd><p>Yes. WooCommerce 7.0 or higher must be installed and active. The plugin declares WooCommerce as a required plugin, so WordPress will prompt you if it is missing.<\/p><\/dd>\n<dt id=\"%F0%9F%94%A2%20how%20many%20rules%20can%20i%20create%3F\"><h3>\ud83d\udd22 How many rules can I create?<\/h3><\/dt>\n<dd><p>As many as you like. Up to 5 of them can be <strong>active<\/strong> at once; beyond that, new rules are saved but stay inactive until you disable another one.<\/p>\n\n<p>Smart Discount Rules Pro removes the limit so every rule can be active. If Pro is later deactivated, or a licence lapses, the rules over the limit are switched off automatically rather than silently ignored, then switched back on if Pro returns. Rules you disabled yourself are never touched.<\/p><\/dd>\n<dt id=\"%F0%9F%A7%B1%20can%20i%20stack%20multiple%20discount%20rules%3F\"><h3>\ud83e\uddf1 Can I stack multiple discount rules?<\/h3><\/dt>\n<dd><p>Yes. Each rule carries a stacking mode that says whether it is willing to combine with discounts already applied: <strong>additive<\/strong> always applies on top, <strong>exclusive<\/strong> applies only when nothing else has, and <strong>highest-first<\/strong> applies only when it beats every discount applied so far. Rules are evaluated in priority order, lowest number first.<\/p><\/dd>\n<dt id=\"%E2%9A%A1%20does%20it%20slow%20down%20my%20store%3F\"><h3>\u26a1 Does it slow down my store?<\/h3><\/dt>\n<dd><p>No. Cart evaluations are cached per cart signature, the queries run against purpose-built tables with indexes, and the plugin loads <strong>no JavaScript at all<\/strong> on your storefront.<\/p><\/dd>\n<dt id=\"%F0%9F%8F%B7%EF%B8%8F%20do%20my%20customers%20need%20a%20coupon%20code%3F\"><h3>\ud83c\udff7\ufe0f Do my customers need a coupon code?<\/h3><\/dt>\n<dd><p>No. Matching discounts are applied automatically as a negative cart fee, visible in the cart and at checkout. Pro adds auto-generated coupon codes for cases where you do want a code.<\/p><\/dd>\n<dt id=\"%F0%9F%9B%8D%EF%B8%8F%20what%20happens%20to%20products%20that%20are%20already%20on%20sale%3F\"><h3>\ud83d\udecd\ufe0f What happens to products that are already on sale?<\/h3><\/dt>\n<dd><p>That is up to you, per rule. Turn on \"skip products already on sale\" and items with a WooCommerce sale price are left out of the calculation, so nothing gets discounted twice.<\/p><\/dd>\n<dt id=\"%E2%8F%B0%20can%20i%20schedule%20a%20sale%20in%20advance%3F\"><h3>\u23f0 Can I schedule a sale in advance?<\/h3><\/dt>\n<dd><p>Yes. Every rule takes a start and end date, specific days of the week, and a time-of-day window, including windows that run overnight such as 10 PM to 2 AM. Dates use your site's date format and are evaluated in your site's timezone.<\/p><\/dd>\n<dt id=\"%F0%9F%94%84%20can%20i%20use%20this%20with%20other%20coupon%20plugins%3F\"><h3>\ud83d\udd04 Can I use this with other coupon plugins?<\/h3><\/dt>\n<dd><p>Yes, it can run alongside other coupon and pricing plugins, though we recommend testing your specific combination. Any two plugins adjusting cart totals can interact in ways neither one predicts.<\/p><\/dd>\n<dt id=\"%E2%9A%99%EF%B8%8F%20does%20it%20work%20with%20woocommerce%20hpos%3F\"><h3>\u2699\ufe0f Does it work with WooCommerce HPOS?<\/h3><\/dt>\n<dd><p>Yes. The plugin is fully compatible with WooCommerce High-Performance Order Storage, and order data is written correctly under both HPOS and legacy post storage.<\/p><\/dd>\n<dt id=\"%F0%9F%92%BE%20can%20i%20export%20and%20import%20my%20rules%3F\"><h3>\ud83d\udcbe Can I export and import my rules?<\/h3><\/dt>\n<dd><p>Yes. Export every rule as a JSON file and import it on another site. Useful as a backup, for moving from staging to production, or for reusing a rule set across client stores.<\/p><\/dd>\n<dt id=\"%F0%9F%97%91%EF%B8%8F%20what%20happens%20to%20my%20data%20if%20i%20uninstall%20the%20plugin%3F\"><h3>\ud83d\uddd1\ufe0f What happens to my data if I uninstall the plugin?<\/h3><\/dt>\n<dd><p>By default all your rules and logs are preserved, so reinstalling brings everything back. If you want a clean removal, enable <strong>Delete All Data on Uninstall<\/strong> in Settings &gt; Advanced Settings before you delete the plugin.<\/p><\/dd>\n<dt id=\"%F0%9F%A7%A9%20is%20there%20an%20api%20for%20developers%3F\"><h3>\ud83e\udde9 Is there an API for developers?<\/h3><\/dt>\n<dd><p>Yes. There is a REST API under <code>\/wp-json\/mtxsdr\/v1\/<\/code> for rules and settings, a set of documented action and filter hooks for custom conditions and discount types, and a JavaScript registry for adding your own admin screens. The Pro plugin is built entirely on that public API.<\/p><\/dd>\n<dt id=\"%F0%9F%8E%81%20how%20do%20i%20know%20it%20will%20work%20on%20my%20store%20before%20buying%20pro%3F\"><h3>\ud83c\udf81 How do I know it will work on my store before buying Pro?<\/h3><\/dt>\n<dd><p>Install the free plugin first. It is the same engine. Build a rule, put a matching product in your cart, and check the discount lands correctly on your own theme and checkout. Everything about how rules are evaluated and applied is identical in Pro; Pro adds more conditions, more discount types and the removal of the active-rule limit. If the free version behaves on your store, Pro will too.<\/p><\/dd>\n<dt id=\"%F0%9F%86%93%20is%20the%20free%20version%20actually%20usable%3F\"><h3>\ud83c\udd93 Is the free version actually usable?<\/h3><\/dt>\n<dd><p>Yes. Five active rules, both discount types, five conditions, full scheduling, stacking control, analytics and JSON backup are all in the free plugin, with no licence key and no time limit.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.0<\/h4>\n\n<ul>\n<li>\ud83c\udd95 Cart label per rule. Each discount now shows its own wording on the cart line instead of the plugin's name, so a shopper sees \"Member discount\" rather than a generic label. Leave it empty and the rule name is used.<\/li>\n<li>\u2705 Renamed to Smart Discount Rules for WooCommerce throughout the admin screens. Nothing you have configured changes.<\/li>\n<li>\u2705 Fixed the database upgrade routine, which could not add new columns to an existing installation.<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>\u2705 Declared compatibility with WooCommerce High-Performance Order Storage. The plugin has always been HPOS safe, reading and writing orders through the CRUD layer, but WooCommerce listed it as uncertain until the declaration was added, and on some stores that blocked HPOS from being switched on.<\/li>\n<li>\u2705 Declared compatibility with the WooCommerce Cart and Checkout blocks. Discounts are calculated on the server and applied as a cart fee, so they reach the blocks the same way they reach the classic cart.<\/li>\n<\/ul>\n\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>\ud83c\udf89 Initial release<\/li>\n<li>\ud83c\udd95 Rule engine with percentage and fixed-amount discounts, applied to the whole cart or to selected products<\/li>\n<li>\ud83c\udd95 Conditions: cart subtotal, product in cart, category in cart, user role, cart item quantity<\/li>\n<li>\ud83c\udd95 Scheduling: date ranges, recurring weekdays, and time-of-day windows including overnight<\/li>\n<li>\ud83c\udd95 Priority ordering and three stacking modes: additive, exclusive, highest-first<\/li>\n<li>\ud83c\udd95 Option to skip products already on sale, so nothing is discounted twice<\/li>\n<li>\ud83c\udd95 Modern admin interface: dashboard, rules list, visual rule editor, analytics, settings<\/li>\n<li>\ud83c\udd95 JSON export and import of rules<\/li>\n<li>\ud83c\udd95 Public extension API: hooks, filters, a REST API, and a JavaScript registry for add-ons<\/li>\n<li>\u2705 Active rules kept in line with the plan automatically, and restored if the limit is lifted again<\/li>\n<li>\u2705 HPOS (High-Performance Order Storage) compatible<\/li>\n<li>\u2705 Adds no scripts to your storefront<\/li>\n<\/ul>","raw_excerpt":"Rule-based discounts for WooCommerce. Percentage and fixed cart discounts with product, category, role, quantity and schedule conditions.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/362358","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=362358"}],"author":[{"embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/matrixlab"}],"wp:attachment":[{"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=362358"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=362358"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=362358"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=362358"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=362358"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/lin.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=362358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}