If discount is applited through shopping cart rule, then you can get discount amount by this: $_item->getDiscountAmount();. But if you have ...
magento/magento2/blob/43e3fd79/app/code/Magento/Sales/Model/Order/Item. php#L970-L978. /**; * Returns discount_amount; *; * @return float ...
As you are loading the order model you can use the getDiscountAmount method. $discount = $myOrder->getDiscountAmount();. You can get ...
2 Answers. 2. order by. active, oldest, votes. Up vote 12 ...
1 Answer · You need to walk-though order items to collect all applied rule ids to items: · Then load rules collection, to retrieve rule information and ...
Get Order discount value from the order by Order increment id Magento 2. Get Final discount amount by order id. Retrieve discount amount ...
Set Apply to Buy X get Y free (discount amount is Y) . Set Discount
Special Promotions for Magento 2 improves cart price rules to assist e-commerce ... orders, for each $30 spent, get a $1 discount for two cheapest items in cart.
2. In the backoffice the discounted amount/percentage is shown in the order per order item [backend]. 3. In the table `sales_order_item` the ...
... fields give you the discount amount on each item of your cart/order.