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

Saleor provider for Next.js Commerce #277

Closed
wants to merge 8 commits into from

Conversation

patrys
Copy link
Contributor

@patrys patrys commented Apr 14, 2021

⚠️ This is not a working implementation. I'm opening a draft PR to give us a place to review and discuss the necessary changes.

Status

  • CommerceProvider
  • Schema & TS types
  • API Operations - Get all collections
  • API Operations - Get all pages
  • API Operations - Get all products
  • API Operations - Get page
  • API Operations - Get product
  • API Operations - Get Shop Info
  • Hook - Add Item
  • Hook - Remove Item
  • Hook - Update Item
  • Hook - Get Cart (missing tax & shipping)
  • Auth and customer information
  • Product attributes - Size, Colours
  • Custom checkout
  • Typing
  • Tests

Instructions

To get it to run you will need to copy framework/saleor/.env.template to .env.local and fill in the URL and the channel slug.

You will also need to disable all features in the global commerce.config.json (Next.js Commerce currently ignores the feature flags declared by individual providers).

@vercel
Copy link

vercel bot commented Apr 14, 2021

@patrys is attempting to deploy a commit to the Vercel Solutions Team on Vercel.

A member of the Team first needs to authorize it.

@vercel
Copy link

vercel bot commented Apr 14, 2021

This pull request is being automatically deployed with Vercel (learn more).
To see the status of your deployments, click below or on the icon next to each commit.

commerce-bigcommerce – ./

🔍 Inspect: https://vercel.com/vercel-solutions-vtest314/commerce-bigcommerce/DPcWNP5vwVeUt4TzjkYKNDfXT8jq
✅ Preview: Failed

[Deployment for f13d033 failed]

commerce-local – ./

🔍 Inspect: https://vercel.com/vercel-solutions-vtest314/commerce-local/BCf4mxPD5v4fzB3DoD1xat11kzWk
✅ Preview: Failed

[Deployment for 58a121f failed]

@zaiste
Copy link
Contributor

zaiste commented Jul 7, 2021

This can be closed cc @okbel @patrys

@patrys patrys closed this Jul 7, 2021
@patrys patrys deleted the saleor-provider branch July 7, 2021 13:21
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.

None yet

2 participants