You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
configurable product with more than one options, after add to cart, AddProductsToCartSnackbar can not get product name
Maybe the following logic is wrong.
If there are multiple options, selectedOptions removes only the last matching option.
Describe the Bug
configurable product with more than one options, after add to cart, AddProductsToCartSnackbar can not get product name
Maybe the following logic is wrong.
If there are multiple options, selectedOptions removes only the last matching option.
@graphcommerce/magento-product/components/AddProductsToCart/findAddedItems.ts
Expected Behavior
show product name + has been added to your shopping cart!
To Reproduce
Step 1: Create a GraphCommerce app
git clone -b main --depth 1 https://github.com/graphcommerce-org/graphcommerce.git
mkdir my-project
cp -R graphcommerce/examples/magento-graphcms/. my-project && rm -rf graphcommerce && cd my-project
yarn
yarn codegen
yarn dev
open address: (product with to options)
http://localhost:3000/p/matriarch-s-edges-size-4-6y-gc-469-sock-6y
The text was updated successfully, but these errors were encountered: