In that case you would probably have to code something manually. ECart has functions to check if an item is in the cart. You could loop through the coupons returned from a recordset and then set a session variable to store the discount and use the session variable in the cart discount rule.