1

How can I get the discount amount for each item in an order? using its order id/item id.

I am not able to retrieve the discount amount from its order id/item id.

2

use getDiscountAmount() method

$orderid=1001;
$order = $objectManager->create('Magento\Sales\Model\Order')->load($orderid);
$order->getDiscountAmount(); /* amount */
$order->getDiscountDescription(); /* get description */
$order->getDiscountTaxCompensationAmount(); 

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.