title: Apply discount directly to subtotal in Magento
body: <p>Thanks in advance.</p>
  
  <p>how can i deduct some discount price from subtotal in view cart page by code, actually i want to give discount on fly to the customer who is logged in and has purchased some product. </p>
  
  <p>-Jitendra..</p>