0

How to display discount in invoice pdf, magento. which is define in rules like Shopping cart price rules or catalog price rules?

1

For me this code worked

if($item->getDiscountAmount())
{
    $lines[0][] = array(
        'text'  => $order->formatPriceTxt($item->getDiscountAmount()),
        'feed'  => 400
    );
}
| improve this answer | |
  • please specify in which file you have added this. – Rizwan Khan Nov 6 '18 at 5:47

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.