change the method from live to on

changes in view_product