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

Work in progress for shopify ui #667

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from
Draft

Conversation

Sfayson1
Copy link

Started on the Shopify util file. Still needs the access token and store domain.

@Sfayson1 Sfayson1 self-assigned this Dec 18, 2024
Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
vets-who-code-app ❌ Failed (Inspect) Dec 20, 2024 5:58pm

@Sfayson1 Sfayson1 linked an issue Dec 20, 2024 that may be closed by this pull request
3 tasks
@Sfayson1
Copy link
Author

Sfayson1 commented Dec 28, 2024

Changes:

  • Added SHOPIFY_STOREFRONT_ACCESS_TOKEN and SHOPIFY_STORE_DOMAIN to .env.local.
  • Created ProductCard component and imported it into pages/shop/index.js.
  • Implemented data fetching in getStaticProps using getAllProducts.
  • Updated shop nav link

Current Issue:
I'm encountering an error: "Failed to fetch products from Shopify."

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

Successfully merging this pull request may close these issues.

Implement Shopify UI and shop into Next.js page.
1 participant