Please do not apply the above code changes. Coupon processing (and adding cc_id to the session) currently takes place when the update button is pressed.
The "add product" button does not currently process all order total lines (ot_coupon is one of these). As a temporary workaround, after adding a product one should click the "update" button to update the order totals.
Bookmarks