Copied to clipboard

Flag this post as spam?

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


  • Poornima Nayar 106 posts 276 karma points MVP 6x c-trib
    Aug 10, 2021 @ 21:45
    Poornima Nayar
    0

    Order Discounts always shows 0 as the count

    Hi,

    We have a custom reward set up on a particular product. We use the presence of this discount and reward to do some further processing. We have noticed that order.Discount always returns 0. Any idea how/ why it could happen?

    Poornima

  • Matt Brailsford 4125 posts 22223 karma points MVP 9x c-trib
    Aug 11, 2021 @ 08:18
    Matt Brailsford
    0

    Hi Poornima,

    The order.Discounts property only lists discounts that are actually fulfilled by the order so it could be that the discount isn't matching the rule and so isn't being fulfilled.

    Can you share your discounts configuration and any custom code for and rule / reward providers you are using?

    Matt

Please Sign in or register to post replies

Write your reply to:

Draft