diff --git a/packages/peregrine/lib/store/actions/cart/asyncActions.js b/packages/peregrine/lib/store/actions/cart/asyncActions.js index 88abe5c5fa..4915e902d0 100644 --- a/packages/peregrine/lib/store/actions/cart/asyncActions.js +++ b/packages/peregrine/lib/store/actions/cart/asyncActions.js @@ -347,10 +347,11 @@ export const getCartDetails = payload => { try { const { data } = await fetchCartDetails({ variables: { cartId }, - fetchPolicy: 'network-only' + fetchPolicy: 'no-cache', + errorPolicy: 'all' }); const { cart: details } = data; - + details.items = details.items.filter(function (e) {return e != null;}); dispatch(actions.getDetails.receive({ details })); } catch (error) { dispatch(actions.getDetails.receive(error));