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?
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?
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
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
is working on a reply...