add discount with ajax and fix style each check