fixed error where total was not reset after emptying cart