💲
DollarLabs Helpdesk
  • 💰Dollarback: Store Credit
    • 🚀Get started
      • Configure Order Goals
      • Set fixed amount cashback
      • Set percentage casback
    • 📘Real case studies
      • BlackPeach (+€17k in 30 days)
    • 🫴Show rewards
      • Product Page
      • Cart Page
      • Custom Slide Carts
      • Cashback Widget
      • Checkout Block (Shopify Plus)
      • Customer Account
      • Thank you
    • 💁Referral Engine
      • Referral Analytics
    • 📩Notifications
      • Klaviyo
      • Inbuilt Email
      • Shopify flow
    • ⚡Automations
      • Reward Customers with Store Credit for Reviews using Judge.me
    • 📊Analytics
    • ⚙️Settings
    • ❓FAQ
  • 💲Dollarlabs: Ultimate Discounts
    • 🚀Quickstart
    • Discount types
    • Discount Engine (v2)
      • Cart groups
      • Rules
      • Targets
      • Examples (v2)
        • Get $60 off on each item when purchased in pairs
        • Discount every item except the first item
    • Discount Engine (v1)
      • If X, then do Y
      • Line Limit Strategy
      • Global Line Limit Strategy
      • Discount Application Strategy
      • Discount combinations
      • Rule Builder Variables
      • Invert Logical Operation
      • Bulk Code Generation
      • ⚠️Limitations of Discount engine (v1)
      • Examples (v1)
        • 📦Product Discount Examples (V1)
          • Offer a discount to your VIP / Subscription customers
          • Offer a Free product and a one time discount for subscription purchase
          • Volume discount based on quantity for eligible products
          • Single discount code to apply different discount amounts for different product categories
          • Automatic discount for B2B customers
          • Discounts based on user's purchase market / region
          • Give product for free if the cart value is above $X
          • Buy X items specified to get a discount on Y items. (Buy X Get Y - Bx Gy)
        • 🛒Order Discount Examples (V1)
          • Tiered Cart Discounts: Reward Customers Based on Their Cart Value
    • 🛒Auto add gift to cart based on discount code (plus only)
    • 💼Price lists (B2B)
      • How to setup a price list ?
      • Show the discounted price on the Product page
      • Show Volume breaks on Product page
      • Show discounted prices on the collection page
    • ⚠️Function limitations by Shopify
Powered by GitBook
On this page
  1. Dollarlabs: Ultimate Discounts
  2. Discount Engine (v1)

Limitations of Discount engine (v1)

PreviousBulk Code GenerationNextExamples (v1)

Last updated 2 months ago

Order of Logic (AND/OR):

The style of logical modelling supported by the Rule builder is formally defined as CNF (Conjunctive Normal Form) notation.

  1. Limitation: The rule builder only supports OR logic horizontally within the same group and AND logic vertically between different condition groups. This means you cannot mix AND and OR logic vertically.

    1. Example of Supported Config: Rule 1 OR Rule AND Rule 3 OR Rule 4 OR Rule 5 AND Rule 6

    2. Example of Unsupported Config: Rule 1 AND Rule 2 OR Rule 3 AND Rule 4 OR Rule 5 AND Rule 6

  2. Solution: Simplify your expressions by restructuring the rules to fit the supported configuration. If you have a complex condition that mixes AND and OR logic, try to break it down into simpler, nested rule groups that align with the AND/OR structure. This might involve creating additional rules that capture intermediate conditions, or rethinking how you combine rules to achieve the desired outcome.

If you need to express logic that is not using the CNF notation, you can easily convert your logic using a online tool like to convert from any unsupported notation to the standard form (). If this does not address your problem, feel free to reach out to us with your custom need!

We have also released the ability to invert and / or logic (Invert Logical Operation) for higher flexibility when designing your programmes.


💲
⚠️
dcode.br
reference