vercel / sveltekit-commerce

SvelteKit Commerce

Home Page:https://sveltekit-commerce.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can't make it work πŸ˜…

novakoder opened this issue Β· comments

Okay so, I deployed the project to Vercel. All running. But now that I want to connect my Shopify store, I have troubles finding the API variables that works. I created an App in my store, set the storefront api for VITE_SHOPIFY_STOREFRONT_API_TOKEN and my admin api for VITE_SHOPIFY_API_ENDPOINT. Still, I receive an error when I load the page (err 500). I have a test product in my store. What else I'm missing? Thanks in advance.

Ok now I tried changing the admin api key to the link that gets to graphql.json. I can successfully do a post request on postman but the app gives me again err 500.

Hi @doppiaesse, I'm currently in the same situation as you, and I wanted to know if you remember how you dealt with it and if you finally succeeded. Thanks ;)

yo any luck on this guys?? @bdauphouy @novakoder

was planning to use vercel/sveltekit-commerce as a starting point, but it doesn't seem to be maintained any longer. and even w/ the suggestions added from #26 and #30 i can't get it working.

I found another joshistoast/svelte-storefront which is a Shopify + Sveltekit barebones (kinda) solution with a ton of functionality built in, but it's somewhat confusing.

Lastly, I found itswadesh/svelte-commerce and I haven't tested it yet. States that there's WIP for MedusaJS, Woocommerce, Bigcommerce and Shopify.


I really need to get one of these working πŸ˜…

@oneezy what did you end up doing? I like this start point but haven't checked out the alternatives yet. Recently used hydrogen, but daaamn going back to react was painful lol.