BOGO, Tiered, Bundle and Gift Promotions for Your Store
Flexible Discount Rules adds a promotion engine to nopCommerce for offers the built-in discount system cannot express. Choose one of 11 discount rule types, such as Buy X Get Y Free, Tiered Spend Discount or Fixed Price Bundle, map it to products, categories or manufacturers, restrict it with nested AND/OR requirements, and the discount is calculated automatically in the cart and at checkout.
What It Does
- 11 discount rule types — each rule sets only the parameters its type uses: buy quantity, get quantity, percentage, fixed amount, bundle price, minimum spend or gift product.
- Product, category and manufacturer mapping — target a rule at products chosen in a picker popup, with optional attribute selection for exact-variant matching.
- Nested AND/OR requirements — combine conditions on Billing Address, Shipping Address, Checkout Attributes, Order Totals, Specification Attributes, Customer Attributes, Product and Customer role.
- Operators and wildcards — ==, !=, in, not in, >, <, contain, starts with and regexp match, plus trailing * and ? wildcards in values.
- "For all cart" flag — make a condition hold for every cart item instead of any single item.
- Geographic restrictions — limit a rule by country, state/province and a ZIP/postal code range.
- Date and time scheduling — start/end date-time, selectable days of week and a daily time window for happy-hour or weekend sales.
- Coupon code Apply and Skip lists — require a coupon for the rule, or decline the rule when a specific coupon is present.
- Usage limits — total and per-customer caps, plus "Max applications per order": set to 2, Buy 2 Get 1 Free gives at most 2 free items.
- Customer role and store limitation — restrict each rule by ACL and to selected stores in a multi-store installation.
- Stacking control — the single best non-cumulative rule plus all cumulative rules; DiscountIdsApply and DiscountIdsSkip govern interaction with existing discounts.
- Per product or per group matching — count the same product only, or any qualifying product; ignore attributes or require an exact attribute match.
- Order subtotal range — apply a rule only when the subtotal falls between OrderSubTotalFrom and OrderSubTotalTo.
- Debug log and diagnostics — showDebugInfo writes rule evaluation to a downloadable log file; the configuration page reports order-total service conflicts with other plugins.
Discount Rule Types
Each of the 11 rule types is preconfigured with its own parameter set, so a promotion is created by choosing a type and entering its values.
Discount rule types
- Buy X Get Y Free (e.g., Buy 2 Get 1 Free)
- Buy X Get Y with Discount (e.g., Buy 2 Get 1 at 50% off)
- Tiered Quantity Discount (e.g., Buy 5+ get 10% off, Buy 10+ get 20% off)
- Tiered Spend Discount (e.g., Spend $100 get 10% off, Spend $200 get 15% off)
- Bundle Discount (e.g., Buy A + B + C together, get X% off)
- Fixed Price Bundle (e.g., Any 3 items for $99)
- Cheapest Free (e.g., Buy 3, cheapest is free)
- Most Expensive Free (e.g., Buy 3, most expensive is free)
- Spend X Get Gift (e.g., Spend $100, get free gift)
- Fixed Amount Off per X Items (e.g., $5 off for every 3 items)
- Percentage Off per X Items (e.g., 10% off for every 5 items)
How It Works
- Install the plugin, switch it on in the configuration page and open the rule list under the FoxNetSoft admin menu.
- Create a rule, pick its type and fill in the parameters; validation checks only the fields that type uses.
- Map products, categories or manufacturers, then add requirements, coupon codes, geography, schedule and limits as needed.
- Shoppers see the result as an order subtotal discount named "Flexible Rule Discount" in cart, checkout and order totals.
- When an order is placed, applied rules are written to usage history; deleting the order removes those entries.
Specs & Requirements
- nopCommerce — 5.00, 4.90, 4.80, 4.70, 4.60, 4.50, 4.40
- Plugin type — Misc plugin that overrides the order total calculation service; registered at startup order 2002 so other plugins can still wrap it
- Discount scope — order subtotal only; shipping, order total and per-product discounts are not affected
- Permission — "Manage discount rules", granted to Administrators on install
- Language — English (en-US) resource file
- Discount Rule Types — 11 rule types