[WordPress] 外掛分享: MTX Smart Discount Rules for WooCommerce – Cart Discount Rules, Dynamic Pricing & Scheduled Sales

首頁外掛目錄 › MTX Smart Discount Rules for WooCommerce – Cart Discount Rules, Dynamic Pricing & Scheduled Sales
WordPress 外掛 MTX Smart Discount Rules for WooCommerce – Cart Discount Rules, Dynamic Pricing & Scheduled Sales 的封面圖片
全新外掛
安裝啟用
尚無評分
剛更新
最後更新
問題解決
WordPress 6.0+ PHP 8.1+ v1.0.0 上架:2026-09-16

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「MTX Smart Discount Rules for WooCommerce – Cart Discount Rules, Dynamic Pricing & Scheduled Sales」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

MTX 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
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.
MTX 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 — nothing for your customer to type in at checkout.
🚀 Key Features

Visual rule editor: build conditions and actions in the browser, no code required
Percentage and fixed-amount discounts: applied to the whole cart, or only to products you choose
Five cart conditions: cart subtotal, specific products, product categories, customer role, and total item quantity
Comparison operators: greater than, less than, or equal to (and the “or equal” variants) — not just a single minimum
Full scheduling: start and end dates, specific weekdays, and a time-of-day window that can run past midnight
Skip items already on sale: so a shopper is never discounted twice on the same product
Priority and stacking control: additive, exclusive, or highest-first, set per rule
Automatic application: discounts land in the cart as a fee, with no coupon code for the customer to remember
Dashboard and analytics: total discount given, orders touched, usage count and savings for every rule
Import and export as JSON: back rules up, or move them from staging to production
Nothing added to your storefront: no scripts on your shop pages, so your page speed is untouched (Pro’s storefront badges and countdown timers add their own)
Built for WooCommerce HPOS: fully compatible with High-Performance Order Storage
Developer-friendly: REST API under /wp-json/mtxsdr/v1/, plus documented action and filter hooks

✅ Free Version Features
The free version covers real discounting, not a demo:
✅ Visual rule editor with condition and action builders
✅ Percentage discounts, on the entire cart or on products you select
✅ Fixed-amount discounts, capped at the value of whatever they target
✅ Cart subtotal condition with full comparison operators
✅ Specific products in cart condition
✅ Product categories in cart condition
✅ Customer role condition, including guest shoppers
✅ Total cart item quantity condition
✅ Scheduling: date range, recurring weekdays, and overnight time windows
✅ Skip products already on sale
✅ Priority ordering and three stacking modes: additive, exclusive, highest-first
✅ Dashboard: totals across every rule, with quick actions
✅ Analytics: total discount given, orders with a discount, and top performing rules
✅ Rules list with filtering by all, active, or inactive
✅ JSON import and export of every rule
✅ Rule logs with configurable logging level
✅ Up to 5 active rules at a time — create as many as you like, activate five
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.
🔥 Pro Version Features
MTX Smart Discount Rules Pro is a separate plugin that installs alongside this one and unlocks the full engine:
✅ Unlimited active rules
✅ BOGO (Buy One Get One) actions
✅ Tiered pricing: quantity-based discount tiers
✅ More conditions: payment method, shipping method, user meta, visitor type, and behavioral triggers
✅ Purchase-history conditions: first-time buyer, order count, and lifetime spend
✅ Condition groups with OR logic, not just AND
✅ Per-rule usage limits, in total across the store and per customer
✅ Auto-apply coupons with human-readable codes like SAVE15-XY9K2A
✅ Abandoned cart recovery emails
✅ Behavioral tracking and product analytics
✅ AI-powered rule insights: ranks rules by real performance and explains what to adjust
✅ Storefront discount badges, pricing tables, and countdown timers
✅ Email notifications with customizable templates
✅ Rule testing simulator and an advanced data manager
👉 See the full Free vs Pro comparison
🎯 Perfect For

🏪 Store owners who want promotions that run themselves instead of coupon codes to chase
🛒 Stores running recurring sales: weekend offers, happy-hour pricing, seasonal campaigns
💼 Wholesale and member stores that need different pricing per customer role
📦 Stores pushing basket size with spend thresholds and quantity incentives
👨‍💻 WooCommerce developers and agencies who want a hookable engine rather than another snippet in functions.php
🌍 Multi-language stores: built with WordPress i18n and translation-ready throughout

📈 Why MTX Smart Discount Rules
There is no shortage of WooCommerce discount plugins. Here is what actually separates this one:

⚡ Nothing on your storefront: 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.
🕒 Scheduling that understands your store: weekday recurrence and time-of-day windows, including windows that cross midnight, evaluated in your site’s own timezone rather than UTC.
🏷️ No double discounting: a switch on each discount to leave out products already on sale, so a clearance item doesn’t take a second cut.
🎚️ Real stacking control: priority order plus additive, exclusive, and highest-first modes, so you decide up front whether two matching rules combine or one stands alone.
🔍 Analytics that answer a question: usage count and total savings per rule, so you can see which promotion is actually earning its place.
🧩 An extension API, not a wall: documented hooks, filters, a REST API, and a JavaScript registry. Pro is built on the same public API you can build on.
🔄 HPOS compatible: fully tested with WooCommerce High-Performance Order Storage, the default since WooCommerce 8.0.

Developer Documentation
Hooks & Filters
Actions:
* mtxsdr_loaded – Fired after core components initialize (extensions boot here)
* mtxsdr_rule_evaluated – Fired when a rule is evaluated
* mtxsdr_discount_applied – Fired when a discount is applied to cart
* mtxsdr_evaluation_complete – Fired when all rules have been evaluated
* mtxsdr_cart_discounts_applied – Fired after cart discounts are applied
* mtxsdr_order_discounts_tracked – Fired after order discount usage is tracked
* mtxsdr_rule_saved / mtxsdr_rule_deleted – Rule lifecycle events
Filters:
* mtxsdr_evaluate_custom_condition – Implement custom condition types
* mtxsdr_calculate_custom_discount – Implement custom discount calculations
* mtxsdr_condition_types / mtxsdr_action_types – Declare custom types
* mtxsdr_evaluate_condition_groups – Combine condition groups (defaults to false, so grouped rules do not match unless an extension handles them)
* mtxsdr_rule_applies – Veto a rule after its conditions pass
* mtxsdr_rule_data – Add per-rule data of your own to the REST response
* mtxsdr_discount_result – Filter the evaluation result before caching
* mtxsdr_active_rule_limit – Change the active rule limit
* mtxsdr_settings_defaults / mtxsdr_sanitize_settings – Extend plugin settings
* mtxsdr_admin_localize_data – Extend admin app data
* mtxsdr_rule_allowed_fields / mtxsdr_sanitize_rule_data – Extend rule fields
REST API Endpoints

GET/POST /wp-json/mtxsdr/v1/rules – List/create rules
GET/PUT/DELETE /wp-json/mtxsdr/v1/rules/{id} – Manage single rule
GET/PUT /wp-json/mtxsdr/v1/settings – Get/update settings
GET /wp-json/mtxsdr/v1/export / POST /wp-json/mtxsdr/v1/import – Rules backup

Example Rule JSON
{
"name": "10% Off for Members",
"description": "Give 10% discount to logged-in members",
"enabled": true,
"priority": 10,
"conditions": [
{
"type": "user_role",
"roles": ["customer", "subscriber"]
}
],
"actions": [
{
"type": "percentage_discount",
"percentage": 10,
"apply_to": "cart"
}
],
"stacking": "additive"
}

Support

* 🆘 Free support: the WordPress.org support forum
* 📖 Documentation: sdrules.com/docs
* 💰 Pro and pricing: sdrules.com/pricing
Privacy Policy
MTX Smart Discount Rules for WooCommerce does not collect or track any store
visitor data, and loads no scripts on your storefront.
The plugin uses the Freemius SDK for optional,
opt-in usage analytics (admin-side only). On first activation you are
asked whether to share non-sensitive diagnostic data: WordPress and PHP
versions, plugin version, site URL, and admin email. You can skip this —
the plugin works identically either way — and opt out at any time from the
Account page. Nothing is collected without your explicit consent.

延伸相關外掛

文章
Filter
Mastodon