2

I have applied a coupon code and placed an order.I need that coupon code amount that has been applied from the order collection.

Thanks in advance.

I got the coupon with this piece of line

$order->getCouponPrice()
3

I have found the column(base_discount_amount) in the sales_order table

So I have used the below line to get the discount amount.

$order->getBaseDiscountAmount()

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.