Table of Contents

Examples of Discount Logic with "Skip Discounted Products / Order Lines"

These examples demonstrate how the "Skip Discounted Products / Order Lines" setting, together with priority and product/order rewards, influences how discounts are applied.

Example 1

Three products:

  • Product A: 200 DKK (Full price)
  • Product B: 150 DKK (Full price)
  • Product C: 100 DKK (Discounted to 80 DKK)

One discount:

  1. Discount 1: Percentage (order) reward:
    • Reward: 10% off total order
    • “Skip Discounted Products / Order Lines” setting: Enabled

Execution Order & Calculations - Example 1

  1. Product C is excluded from the discount calculation due to the “Skip Discounted Products / Order Lines” setting.
  2. Eligible Products:
    • Product A: 200 DKK → 10% off → 200 - 20 = 180 DKK
    • Product B: 150 DKK → 10% off → 150 - 15 = 135 DKK
    • Product C: 80 DKK (No discount applied, already discounted)
  3. Final price: 180 DKK + 135 DKK + 80 DKK = 395 DKK

Example 2

One Product:

  • Product A: 100 DKK (Full price)

Two discounts:

  1. Discount 1: Percentage (product) reward:
    • Reward: 5% off Product A
    • Priority: 1 (Lowest priority)
  2. Discount 2: Percentage (product) reward:
    • Reward: 10% off Product A
    • Priority: 0 (Highest priority)
    • “Skip Discounted Products / Order Lines” setting: Enabled

Execution Order & Calculations - Example 2

  1. Discount 2 is applied first because it has a higher priority
    • Product 1: 100 DKK → 10% off → 100 - 10 = 90 DKK
  2. Discount 1 is applied next:
    • Product 1: 90 DKK → 5% off → 90 - 4.5 = 85.5 DKK

Key insight: Discount 2 applies even though it has "Skip Discounted Products / Order Lines" enabled — because it is applied before any other discounts. At the time of application, the product is not yet discounted.

Example 3

One Product:

  • Product A: 100 DKK

Two discounts:

  1. Discount 1: Percentage (order) reward:
    • Reward: 10% off total order
    • Priority: 0 (highest)
    • "Skip Discounted Products / Order Lines" setting: Enabled
  2. Discount 2: Percentage (product) reward:
    • Reward 5% off Product A
    • Priority: 1 (lowest)

Execution Order & Calculations - Example 3

  1. Discount 2 is applied first even though it has a lower priority since product rewards are always applied before order rewards.
    • Product A: 100 DKK → 5% off → 100 - 5 = 90 DKK
  2. Discount 1 is not applied since it has "Skip Discounted Products / Order Lines" enabled.
To top