calculate total discount includes couponcode,gift card and score

4 settimane tempo fa
Hello every one how can I calculate total discount that applied on an order, after the order placed?
4 settimane tempo fa
there is a column "OrderDiscount" at Order table
//Rashed
4 settimane tempo fa
And for the discount applied on products, you can check the DiscountAmountInclTax and DiscountAmountExclTax