fixed the bug when same coupon code not applied on multiple items in the cart

@chrisndodge Kindly review the changes for Bug that we found in the shoppingcart workflow.

Thanks