title: Magento - Get Discount Type in Cart
body: <p>I need to be able to get the discount type applied in the cart.</p>
  
  <p>I can get the discount amount like so:</p>
  
  <pre><code>$cart = Mage::getModel('checkout/cart')-&gt;getQuote();
  $totals =  $cart-&gt;getTotals(); 
  $discount = $totals["discount"]-&gt;getValue();
  </code></pre>
  
  <p>How can i check what type of discount it is - whether it is a percentage or fixed amount off?</p>