changes to ui and added verification for qty=0