We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2fa8844 commit 8e1d450Copy full SHA for 8e1d450
src/containers/cart/withCart.js
@@ -161,7 +161,7 @@ export default function withCart(Component) {
161
const { anonymousCartId, anonymousCartToken } = cartStore;
162
163
// Add items to an existing anonymous cart
164
- input.token = anonymousCartToken;
+ input.cartToken = anonymousCartToken;
165
input.cartId = anonymousCartId;
166
} else if (!isCreating && authStore.isAuthenticated && cartStore.hasAccountCart) {
167
// With an account and an account cart, set the accountCartId on the input object
0 commit comments