Set column value in another table after typing a coupon code — what's the simplest approach?