From 030776680f68ef02f42c7d02b4c43fad4503075d Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 18 Jun 2024 16:13:13 -0700 Subject: [PATCH] docs(platform-addtocart): snap variants must be enabled for full addtocart functionality --- packages/snap-platforms/bigcommerce/README.md | 2 +- packages/snap-platforms/magento2/README.md | 2 +- packages/snap-platforms/shopify/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/snap-platforms/bigcommerce/README.md b/packages/snap-platforms/bigcommerce/README.md index 9d16a5d57..baceec3c5 100644 --- a/packages/snap-platforms/bigcommerce/README.md +++ b/packages/snap-platforms/bigcommerce/README.md @@ -21,7 +21,7 @@ export const AddToCart = (props) => { ``` ## AddToCart -The `addToCart` function will automatically add products to the cart and then redirect to the cart page (`/cart.php`). The function is async, and takes an array of products (Result Store References) to add, and an optional config. The optional config can take two optional properties, `redirect` and `idFieldName`. +The `addToCart` function will automatically add products to the cart and then redirect to the cart page (`/cart.php`). The function is async, and takes an array of products (Result Store References) to add, and an optional config. The optional config can take two optional properties, `redirect` and `idFieldName`. Snap variants must be enabled for full functionality. The `redirect` property can be set to `false` or supplied with an alternate redirect URL instead of the default (`/cart.php`). diff --git a/packages/snap-platforms/magento2/README.md b/packages/snap-platforms/magento2/README.md index 1668444da..0e8016ce9 100644 --- a/packages/snap-platforms/magento2/README.md +++ b/packages/snap-platforms/magento2/README.md @@ -21,7 +21,7 @@ export const AddToCart = (props) => { ``` ## AddToCart -The `addToCart` function will automatically add products to the cart and then redirect to the cart page (`/checkout/cart/`). The function is async, and takes an array of products (Result Store References) to add, and an optional config. The optional config can take several optional properties, `redirect`, `idFieldName`, `formKey`, and `uenc`. +The `addToCart` function will automatically add products to the cart and then redirect to the cart page (`/checkout/cart/`). The function is async, and takes an array of products (Result Store References) to add, and an optional config. The optional config can take several optional properties, `redirect`, `idFieldName`, `formKey`, and `uenc`. Snap variants must be enabled for full functionality. The `redirect` property can be set to `false` or supplied with an alternate redirect URL instead of the default (`/checkout/cart/`). diff --git a/packages/snap-platforms/shopify/README.md b/packages/snap-platforms/shopify/README.md index c96512957..89491272e 100644 --- a/packages/snap-platforms/shopify/README.md +++ b/packages/snap-platforms/shopify/README.md @@ -21,7 +21,7 @@ export const AddToCart = (props) => { ``` ## AddToCart -The `addToCart` function will automatically add products to the cart and then redirect to the cart page (`/cart`). The function is async, and takes an array of products (Result Store References) to add, and an optional config. The optional config can take two optional properties, `redirect` and `idFieldName`. +The `addToCart` function will automatically add products to the cart and then redirect to the cart page (`/cart`). The function is async, and takes an array of products (Result Store References) to add, and an optional config. The optional config can take two optional properties, `redirect` and `idFieldName`. Snap variants must be enabled for full functionality. The `redirect` property can be set to `false` or supplied with an alternate redirect URL instead of the default (`/cart`).