SwiftRules – Conditional Discounts for WooCommerce

Plugin Banner

SwiftRules – Conditional Discounts for WooCommerce

by Mati Ullah

Download
Description

Swift Rules is a conditional rule engine for WooCommerce that allows store owners to define cart-based logic for discounts, fees, and other cart adjustments.

Rules can be configured using multiple condition types and actions. The plugin integrates with WooCommerce using standard hooks and applies rule logic during cart calculation.

Features

  • Cart subtotal and total conditions
  • Product and category-based conditions
  • User role targeting
  • Billing country conditions
  • Date range scheduling
  • Match ALL (AND) or Match ANY (OR) logic
  • Percentage discounts
  • Fixed cart discounts
  • Custom cart fees
  • Automatic free gift products
  • Hide specific payment gateways
  • Priority-based rule execution
  • JSON import and export support

Swift Rules loads configured rules during cart calculation and evaluates them according to their assigned priority.

  1. Upload the swiftrules folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Ensure WooCommerce is active.
  4. Navigate to WooCommerce > Swift Rules to configure rules.
  1. Rules dashboard listing configured rules.

    Rules dashboard listing configured rules.

  2. Rule builder interface with condition and action configuration.

    Rule builder interface with condition and action configuration.

Does this plugin replace WooCommerce coupons?

No. Swift Rules works alongside the WooCommerce coupon system and provides additional conditional logic options.

Can I select multiple products in one condition?

Yes. The product condition supports selecting multiple products within a single rule.

Does it support guest users?

Yes. Rules can apply to logged-in users, specific roles, or guests.

Does it modify product prices permanently?

No. Adjustments are applied dynamically during cart calculation and do not change stored product prices.

1.0.1

  • Fixed minor bugs.

1.0.0

  • Initial release.
Back to top