Thanks for the tutorial I didn't want to make an express server for this
@frogsngrandmothers1593
2 жыл бұрын
Thank you for this tutorial. Will you maybe consider explaining how to fetch products with translated data?
@mikeysauce393
2 жыл бұрын
Wonderful of you to do this, thank you. 🌼
@paulsalele3844
2 жыл бұрын
Great tutorial and thanks for making source code available!!
@ashitag860
2 жыл бұрын
There's some changes in Shopifys access token. What do you replace password with instead?
@ilkay4242
2 жыл бұрын
Hello, did you find it?
@alexialevesque3183
2 жыл бұрын
Yes girrrl 🔥
@DesignCodeTeam
2 жыл бұрын
Thanks so much!
@yash7630
2 жыл бұрын
Any particular reason for not using NextJs
@sithumdasantha3147
2 жыл бұрын
Great! Keep it up 🤍
@DesignCodeTeam
2 жыл бұрын
Thanks!
@wibbs88
2 жыл бұрын
I'm getting "Error in removeLineItem: TypeError: Cannot read properties of undefined (reading '0')" when trying to remove an item from the cart. My code is exactly the same as yours. : /
@DesignCodeTeam
2 жыл бұрын
Hi, I just updated the function removeLineItem on Github with a guard statement to make sure the cart isn't empty before removing the item: github.com/stephdiep/gatsby-shopify-tutorial/blob/master/src/context/StoreContext.js
@wibbs88
2 жыл бұрын
@@DesignCodeTeam Still having the same issue. For example: I add 3 items to the cart. The 3rd (last one) deletes no problem. If I then go to delete the 1st one and I get the same error as above in the console.
@wibbs88
2 жыл бұрын
Also, if I go to remove the 1st item in the cart first then I get 'Product not in cart' in the console.
@TheNootLinja
2 жыл бұрын
@@wibbs88 I am getting the exact same issue now and while I have spent some time debugging it, I haven't found what is causing the error. Did you end up figuring it out?
@williamcheshier4106
2 жыл бұрын
@@TheNootLinja Did you ever figure this out? I'm also experiencing this issue
@frogsngrandmothers1593
2 жыл бұрын
at 19:20 you're passing a second argument to "buildClient", but this function accepts only one argument... TS throws error on this line. Also, how can I fetch translations of my products?
@DesignCodeTeam
2 жыл бұрын
Hi! You're right for the second argument, I think you can omit it. I built this app following Gatsby Shopify's example (github.com/gatsbyjs/gatsby-starter-shopify/blob/main/src/context/store-context.jsx), and they're passing two arguments to the buildClient function as well. For translation, I suggest you to consult Shopify's documentation - Scroll down to Examples section, and see how to set a language when building your client: www.npmjs.com/package/shopify-buy - More info on managing app translations: shopify.dev/api/examples/i18n-app-translations Hope this helps! - Stephanie
@christoph_dietrich
2 жыл бұрын
It’s like a race. Please give the people out there a little more breath between sentences. Thank you. PS: If they are in hurry, they will speed up the video or skip parts by themself.
@DesignCodeTeam
2 жыл бұрын
Hi, thank you for your feedback! I'll try to be slower and explain more in the future. - Stephanie
@christoph_dietrich
2 жыл бұрын
@@DesignCodeTeam Thanks! Explanation was good, no need to add more.
Пікірлер: 27