%IF NOT $Data.customer_type THEN $first_custtype=0 IF $opt_cart_show_person THEN $first_custtype="PERSON" ELSIF $opt_cart_show_company THEN $first_custtype="COMPANY" ELSIF $opt_cart_show_government THEN $first_custtype="GOVERNMENT" ENDIF ENDIF IF NOT $Data.ccode THEN $Data.ccode = $Customer.ccode ENDIF %>