Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't make it work 😅 #23

Open
essedev opened this issue Oct 28, 2022 · 6 comments
Open

Can't make it work 😅 #23

essedev opened this issue Oct 28, 2022 · 6 comments

Comments

@essedev
Copy link

essedev commented Oct 28, 2022

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.

@essedev
Copy link
Author

essedev commented Oct 28, 2022

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.

@bdauphouy
Copy link

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 ;)

@oneezy
Copy link

oneezy commented Nov 13, 2023

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 😅

@webel
Copy link

webel commented Dec 7, 2023

@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.

@journeytosilius
Copy link

looking to get this working as well, any alternatives if the project is dead ?

@oneezy
Copy link

oneezy commented Jun 11, 2024

@webel @journeytosilius sorry just seeing this. I ended up extending @joshistoast 's version.

I think if I were to do it over I would probably use Houdini to simplify the GraphQL logic

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants