title: Magento Apply Coupon programmatically But Its Printing Values
body: <p>I am using</p>
  
  <pre><code>Mage::getSingleton('checkout/cart')-&gt;getQuote()-&gt;getShippingAddress()
      -&gt;setCollectShippingRates(true);
  Mage::getSingleton('checkout/cart')-&gt;getQuote()
      -&gt;setCouponCode($xfCouponCode)-&gt;collectTotals()-&gt;save();
  </code></pre>
  
  <p>i can apply coupon perfectly but when </p>
  
  <pre><code>Mage::getSingleton('checkout/cart')-&gt;getQuote()
      -&gt;setCouponCode($xfCouponCode)-&gt;collectTotals()-&gt;save();
  </code></pre>
  
  <p>this line run then echo coupon in template. i don't know why echo coupon in template..</p>