RuleForge – Fees & Discounts
Stop leaving money on the table. RuleForge gives you complete control over fees and discounts in your WooCommerce store with powerful, condition-based rules.
Whether you need to add payment gateway surcharges, offer location-based discounts, or create complex promotional rules, RuleForge makes it simple.
Why Store Owners Love RuleForge
- Set it and forget it – Rules run automatically on every order
- No coding required – Visual rule builder with JSON power when you need it
- Lightning fast – Optimized queries that won’t slow down your checkout
- WooCommerce native – Seamlessly integrates with your existing setup
Real-World Use Cases
Payment Gateway Fees Offset credit card processing costs by adding a 2-3% surcharge for card payments while keeping cash-on-delivery free.
Location-Based Pricing Add handling fees for remote areas, or offer discounts to customers in your local region.
Minimum Order Incentives “Spend $100 and get $10 off” – Encourage larger orders with automatic discounts.
First-Time Buyer Discounts Welcome new customers with exclusive discounts on their first order.
Tiered Discounts The more they buy, the more they save. Create progressive discount tiers based on cart value.
Free Features
- Unlimited Rules – Create as many active fee and discount rules as you need
- Flexible Conditions – Cart subtotal, billing country, payment gateway, user roles, products, day of week, first order detection
- Powerful Actions – Percentage fees, fixed fees, percentage discounts with optional caps
- Priority Control – Define which rules run first
- Lightweight – No bloat, just the features you need
Pro Features
- Tiered Discounts & Fees – Reward bigger carts: buy 3+ save 10%, 6+ save 20%. Build the tier table visually and tier by cart quantity or subtotal, as a percentage or fixed amount
- Stack Mode – Create exclusive rules that stop processing when matched
- Import/Export – Backup rules or copy between sites with JSON export
- Mock Cart Preview – Test your rules before going live
- REST API – Preview endpoint for headless or custom integrations
- Priority Support – Direct help when you need it
Example Rules
2% Credit Card Surcharge (capped at $10) Condition: Payment gateway = stripe Action: Add 2% fee, max $10
Free Shipping Threshold Discount Condition: Subtotal >= $75 Action: -$5 discount labeled “Almost Free Shipping!”
UK Customer Handling Fee Condition: Country = GB Action: Add $3 fixed fee
Tiered Bulk Discount (Pro) Action: Tiered discount — buy 3+ = 10% off, 6+ = 20% off, 12+ = 30% off Build it with the visual Tiered Discount Builder, or with JSON in the Actions box: [{“type”:”tiered_discount”,”basis”:”quantity”,”mode”:”percent”,”tiers”:[{“min”:3,”value”:10},{“min”:6,”value”:20},{“min”:12,”value”:30}],”label”:”Bulk discount”}]
Built for Performance
RuleForge is designed with performance in mind:
- Efficient database queries with proper indexing
- Minimal footprint – only loads on relevant pages
- No external API calls during checkout
Developer Friendly
- Clean, well-documented codebase following WordPress coding standards
- Extensible architecture for custom conditions and actions
- Full REST API access (Pro)
External services
This plugin connects to the Freemius licensing service (https://freemius.com) when the site administrator activates the plugin, opts in to usage tracking, activates a Pro license, or checks for plugin updates. Freemius is used to deliver license activation, opt-in analytics (only when the administrator explicitly consents on the activation screen), and Pro update delivery.
What data is sent, and when:
- On activation: the site URL, plugin version, WordPress version, PHP version, and (if the administrator opts in) the administrator’s name and email address.
- During license activation and renewal checks: the license key and site URL.
- On periodic update checks: the plugin version and site URL.
No customer or order data is ever sent to Freemius.
The Freemius service is provided by Freemius, Inc. Their terms and privacy policy apply:
- Terms of Service: https://freemius.com/terms/
- Privacy Policy: https://freemius.com/privacy/
Licensing
RuleForge is open source under GPLv2 or later.
Pro features are unlocked via Freemius licensing with a 14-day money-back guarantee.
Ready to take control of your WooCommerce pricing? Get RuleForge Pro
