diff --git a/.env.template b/.env.template
index 9d2f8f1bf..9e42e2f31 100644
--- a/.env.template
+++ b/.env.template
@@ -1,3 +1,6 @@
+# Available providers: bigcommerce, shopify
+COMMERCE_PROVIDER=bigcommerce
+
BIGCOMMERCE_STOREFRONT_API_URL=
BIGCOMMERCE_STOREFRONT_API_TOKEN=
BIGCOMMERCE_STORE_API_URL=
diff --git a/README.md b/README.md
index 885c95e85..cd4351911 100644
--- a/README.md
+++ b/README.md
@@ -71,25 +71,7 @@ Next.js Commerce provides a set of utilities and functions to create new provide
### How to change providers
-First, update the provider selected in `commerce.config.json`:
-
-```json
-{
- "provider": "bigcommerce",
- "features": {
- "wishlist": true
- }
-}
-```
-
-Then, change the paths defined in `tsconfig.json` and update the `@framework` paths to point to the right folder provider:
-
-```json
-"@framework": ["framework/bigcommerce"],
-"@framework/*": ["framework/bigcommerce/*"]
-```
-
-Make sure to add the environment variables required by the new provider.
+Open `.env.local` and change the value of `COMMERCE_PROVIDER` to the provider you would like to use, then set the environment variables for that provider (use `.env.template` as the base).
### Features
@@ -103,7 +85,6 @@ Every provider defines the features that it supports under `framework/{provider}
- You'll see a config file like this:
```json
{
- "provider": "bigcommerce",
"features": {
"wishlist": false
}
diff --git a/commerce.config.json b/commerce.config.json
index bef7db222..08ea78814 100644
--- a/commerce.config.json
+++ b/commerce.config.json
@@ -1,5 +1,4 @@
{
- "provider": "bigcommerce",
"features": {
"wishlist": true,
"customCheckout": false
diff --git a/components/cart/CartItem/CartItem.tsx b/components/cart/CartItem/CartItem.tsx
index cb7f8600e..e6820d32c 100644
--- a/components/cart/CartItem/CartItem.tsx
+++ b/components/cart/CartItem/CartItem.tsx
@@ -92,15 +92,18 @@ const CartItem = ({
})}
{...rest}
>
-