title: Magento get products matching the applied coupon criteria
body: <p>Can anyone help me find the products in current shopping cart matching the applied coupon criteria?</p>
  
  <p>Actually I need to set the custom discount (50% on highest one) amount on any one matching products, By default Magento applied the 50% discount in all the matching products buy I need to apply discount on only one item.</p>
  
  <p>I have make some Google and get some links on <a href="https://stackoverflow.com/questions/9546410/magento-how-do-i-find-out-if-a-sales-rule-coupon-exists-for-a-product-item">https://stackoverflow.com/</a> and <a href="http://www.magentocommerce.com/boards/viewthread/201516/#t303924" rel="nofollow noreferrer">http://www.magentocommerce.com/</a>, but not able to get any solution or suggestion.</p>
  
  <p>Any help will be appreciated.</p>
  
  <p><strong>[EDIT]</strong></p>
  
  <p>e.g. I have four items in the cart in those two items matching the coupon criteria (Whatever we have set in condition), So by default Magento apply 50% discount (set in coupon) on these two items, but I want to give the discount only on one(highest price) out of these 2.</p>