From 59e1eaa9e65139066b6981a762be3e00ce2fa9b6 Mon Sep 17 00:00:00 2001 From: okbel Date: Wed, 26 May 2021 16:57:51 -0300 Subject: [PATCH] Adding new provider --- framework/commerce/config.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/framework/commerce/config.js b/framework/commerce/config.js index 2dd3284bc..dc20b518e 100644 --- a/framework/commerce/config.js +++ b/framework/commerce/config.js @@ -7,7 +7,7 @@ const fs = require('fs') const merge = require('deepmerge') const prettier = require('prettier') -const PROVIDERS = ['bigcommerce', 'shopify'] +const PROVIDERS = ['bigcommerce', 'shopify', 'swell'] function getProviderName() { return ( @@ -16,6 +16,8 @@ function getProviderName() { ? 'bigcommerce' : process.env.NEXT_PUBLIC_SHOPIFY_STORE_DOMAIN ? 'shopify' + : process.env.NEXT_PUBLIC_SWELL_STORE_ID + ? 'swell' : null) ) }