From 84b3a131f55a1dd12d8aed4db3db60ddf2a39dfd Mon Sep 17 00:00:00 2001 From: goncy Date: Fri, 24 Sep 2021 10:58:25 -0300 Subject: [PATCH] Don't use checkout for saleor --- framework/saleor/commerce.config.json | 3 +-- next.config.js | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/framework/saleor/commerce.config.json b/framework/saleor/commerce.config.json index d5a1ac35d..eddd3066c 100644 --- a/framework/saleor/commerce.config.json +++ b/framework/saleor/commerce.config.json @@ -1,7 +1,6 @@ { "provider": "saleor", "features": { - "wishlist": false, - "customCheckout": true + "wishlist": false } } diff --git a/next.config.js b/next.config.js index 515b2ae7c..4349ba05a 100644 --- a/next.config.js +++ b/next.config.js @@ -19,7 +19,7 @@ module.exports = withCommerceConfig({ }, rewrites() { return [ - (isBC || isShopify || isSwell || isVendure) && { + (isBC || isShopify || isSwell || isVendure || isSaleor) && { source: '/checkout', destination: '/api/checkout', },