fixed syntax errors in product controller and coupon model