Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • SC 12 posts 112 karma points
    Feb 24, 2022 @ 16:30
    SC
    0

    Vendr - order of discounts applied

    Hi,

    We have 2 discounts configured, but they are applied in the wrong order. Is there any way to set the order of the discounts in which they are applied?

    For example:

    Discount1: Order line quantity > 1 = 10EUR discount on unit price

    Discount2: 10% discount on full order

    Wrong behavior:

    Unit price: 199EUR

    Quantity 2

    Total price: 398EUR

    First discount1 -> 10% discount = 39,80EUR

    398EUR - 39,80EUR = 358,20EUR

    Second discount2 -> 10EUR x 2 = 20EUR

    = 358,20EUR - 20EUR = 338,20EUR

    Correct behavior:

    Unit price: 199EUR

    Quantity 2

    Total price: 398EUR

    First discount2 -> 10EUR x 2 = 20EUR

    398EUR - 20EUR = 378EUR

    Second discount1 -> 10% discount = 37,80EUR

    = 378EUR - 37,80EUR = 340,20EUR

    Is there any way to configure that discount2 needs to be applied before discount 1?

    Thanks

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 24, 2022 @ 16:47
    Matt Brailsford
    100

    Hey SC,

    Discounts are applied top to bottom. You can control the order by right clicking on the discounts node in the tree and sorting the discounts in the order required. You can also access this from the Actions menu in the top right of the discounts list view.

    Hope this helps

    Matt

  • SC 12 posts 112 karma points
    Feb 25, 2022 @ 06:58
    SC
    0

    Thanks Matt. That's what happens after a full day of Umbraco development... Not able to see the easy things :-).

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Feb 25, 2022 @ 09:39
    Matt Brailsford
    0

    There have been quite a few support questions recently so I'm happy to answer a few easy ones every now and then 😁

    Glad I could help

Please Sign in or register to post replies

Write your reply to:

Draft