updated line item removal functionality for new cart format