calculate total discount includes couponcode,gift card and score

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