This repository has been archived on 2022-12-05. You can view files and clone it, but cannot push or open issues or pull requests.
gosh-commerce/framework/bigcommerce
2021-09-11 22:49:44 +00:00
..
api Initial commit 2021-09-11 22:49:44 +00:00
auth Initial commit 2021-09-11 22:49:44 +00:00
cart Initial commit 2021-09-11 22:49:44 +00:00
customer Initial commit 2021-09-11 22:49:44 +00:00
lib Initial commit 2021-09-11 22:49:44 +00:00
product Initial commit 2021-09-11 22:49:44 +00:00
scripts Initial commit 2021-09-11 22:49:44 +00:00
types Initial commit 2021-09-11 22:49:44 +00:00
wishlist Initial commit 2021-09-11 22:49:44 +00:00
.env.template Initial commit 2021-09-11 22:49:44 +00:00
commerce.config.json Initial commit 2021-09-11 22:49:44 +00:00
fetcher.ts Initial commit 2021-09-11 22:49:44 +00:00
index.tsx Initial commit 2021-09-11 22:49:44 +00:00
next.config.js Initial commit 2021-09-11 22:49:44 +00:00
provider.ts Initial commit 2021-09-11 22:49:44 +00:00
README.md Initial commit 2021-09-11 22:49:44 +00:00
schema.d.ts Initial commit 2021-09-11 22:49:44 +00:00
schema.graphql Initial commit 2021-09-11 22:49:44 +00:00

Bigcommerce Provider

Demo: https://bigcommerce.demo.vercel.store/

With the deploy button below you'll be able to have a BigCommerce account and a store that works with this starter:

Deploy with Vercel

If you already have a BigCommerce account and want to use your current store, then copy the .env.template file in this directory to .env.local in the main directory (which will be ignored by Git):

cp framework/bigcommerce/.env.template .env.local

Then, set the environment variables in .env.local to match the ones from your store.

Contribute

Our commitment to Open Source can be found here.

If you find an issue with the provider or want a new feature, feel free to open a PR or create a new issue.

Troubleshoot

I already own a BigCommerce store. What should I do?
First thing you do is: set your environment variables

.env.local
BIGCOMMERCE_STOREFRONT_API_URL=<>
BIGCOMMERCE_STOREFRONT_API_TOKEN=<>
BIGCOMMERCE_STORE_API_URL=<>
BIGCOMMERCE_STORE_API_TOKEN=<>
BIGCOMMERCE_STORE_API_CLIENT_ID=<>
BIGCOMMERCE_CHANNEL_ID=<>

If your project was started with a "Deploy with Vercel" button, you can use Vercel's CLI to retrieve these credentials.

  1. Install Vercel CLI: npm i -g vercel
  2. Link local instance with Vercel and Github accounts (creates .vercel file): vercel link
  3. Download your environment variables: vercel env pull .env.local

Next, you're free to customize the starter. More updates coming soon. Stay tuned.

BigCommerce shows a Coming Soon page and requests a Preview Code
After Email confirmation, Checkout should be manually enabled through BigCommerce platform. Look for "Review & test your store" section through BigCommerce's dashboard.

BigCommerce team has been notified and they plan to add more detailed about this subject.