Skip to content

When adding item to cart API makes request to https://undefined.swell.store/api/cart/items #254

Discussion options

You must be logged in to vote

Hi @KermitTheFr0g, could you check if env.NEXT_PUBLIC_SWELL_STORE_ID has a defined value when calling swell.init? That could be one of the reasons you're getting undefined there.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@KermitTheFr0g
Comment options

Answer selected by logeshswell
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
3 participants