Working totalprice and totalitems