Magento 1.8 – Display Total Discount Amount on Shopping Cart

discountgrand-totalmagento-1.8totals

How can I display the total discount amount on my shopping cart?

I can get the subtotal and grandtotal from the code below, but what about the total discount?

$quote = Mage::getSingleton('checkout/cart')->getQuote();
$grandTotal = $quote->getGrandTotal();
$subTotal =  $quote->getSubtotal();
var_dump($subTotal);

What I need,

Subtotal           €220
Discount           €20
TOTAL AMOUNT       €200

What from Magento,

Subtotal           €200 // should be €220
Discount           
TOTAL AMOUNT       €200

I'm using Magento 1.8

Best Answer

you had a common problem, some time we not get discount amount by default in magento, please go to this link i hope you will definitely got solution

http://www.magentocommerce.com/boards/viewthread/269154/

you may also check this type of problem

http://magento.ikantam.com/qa/how-add-discount-total-magento

Related Topic