Linux 软件免费装
Banner图

Smart Discount Rules for WooCommerce – Cart Discount Rules, Dynamic Pricing & Scheduled Sales

开发者 matrixlab
imtiazepu
更新时间 2026年10月3日 03:04
PHP版本: 8.1 及以上
WordPress版本: 7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce discounts dynamic pricing bulk discount discount rules

下载

1.0.0 1.0.1 1.1.0

详情介绍:

Smart Discount Rules for WooCommerce 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. 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. ✨ All Features | 💰 Upgrade to Pro | 📖 Documentation | 🆘 Support 📺 Watch the overview: free and Pro in three and a half minutes. https://www.youtube.com/watch?v=D2uc9cTUM4k 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. 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. Discounts apply automatically as a negative cart fee, so there is nothing for your customer to type in at checkout.

安装:

⬇️ Option 1: Install from WordPress.org (Recommended)
  1. 🔑 Log into your WordPress admin
  2. 🔍 Go to Plugins > Add New and search for Smart Discount Rules
  3. 🖱️ Click Install Now, then Activate
📦 Option 2: Manual Upload
  1. ⬇️ Download the plugin zip from WordPress.org
  2. 📂 Go to Plugins > Add New > Upload Plugin
  3. 📤 Upload the zip file and click Install Now
  4. ✅ Click Activate Plugin
🚀 Getting Started
  1. After activation, go to Discount Rules in your WordPress admin sidebar
  2. Click Create New Rule, give it a name, and add your first condition
  3. Add an action, a percentage or fixed amount, and choose what it applies to
  4. Set a schedule and a priority if you need them, then enable the rule
  5. Add a matching product to your cart and check the discount appears as a cart fee

屏幕截图:

  • Conditions grouped the way you think: cart subtotal, item quantity, products, categories, customer role, and more
  • Every kind of discount: percentage, fixed amount, and the BOGO and tiered pricing Pro adds
  • Scheduling: start and end dates, specific weekdays, and a time-of-day window that can run overnight
  • Usage limits: a total budget across the store and a separate per-customer cap (Pro)
  • Dashboard: totals across every rule, with quick actions
  • Analytics: total discount given, orders touched, and the rules earning their place
  • AI Optimizer: ranks rules by real performance and explains what to adjust (Pro)
  • Data Manager: move rules between sites, seed sample data, and clear logs and generated coupons (Pro)
  • Settings: master switch, logging level, and an explicit opt-in before any data is deleted

升级注意事项:

1.0.1 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. 1.0.0 🎉 Initial release.

常见问题:

🔌 Does this plugin require WooCommerce?

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.

🔢 How many rules can I create?

As many as you like. Up to 5 of them can be active at once; beyond that, new rules are saved but stay inactive until you disable another one. 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.

🧱 Can I stack multiple discount rules?

Yes. Each rule carries a stacking mode that says whether it is willing to combine with discounts already applied: additive always applies on top, exclusive applies only when nothing else has, and highest-first applies only when it beats every discount applied so far. Rules are evaluated in priority order, lowest number first.

⚡ Does it slow down my store?

No. Cart evaluations are cached per cart signature, the queries run against purpose-built tables with indexes, and the plugin loads no JavaScript at all on your storefront.

🏷️ Do my customers need a coupon code?

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.

🛍️ What happens to products that are already on sale?

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.

⏰ Can I schedule a sale in advance?

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.

🔄 Can I use this with other coupon plugins?

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.

⚙️ Does it work with WooCommerce HPOS?

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.

💾 Can I export and import my rules?

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.

🗑️ What happens to my data if I uninstall the plugin?

By default all your rules and logs are preserved, so reinstalling brings everything back. If you want a clean removal, enable Delete All Data on Uninstall in Settings > Advanced Settings before you delete the plugin.

🧩 Is there an API for developers?

Yes. There is a REST API under /wp-json/mtxsdr/v1/ 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.

🎁 How do I know it will work on my store before buying Pro?

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.

🆓 Is the free version actually usable?

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.

更新日志:

1.1.0 1.0.1 1.0.0