Hi,
It seems like adding products with variants to the cart actually does not take the proper variant / sku into consideration in the we-retail implementation.
Steps to reproduce:
browse to the "Pipeline Board Shorts" product under "Men" section (/content/we-retail/us/en/products/men/shorts/pipeline-board-shorts.html)
select orange as a color and L as a size and click add to cart
still on the product page, select blue as a color and XXL as a size and add to cart as well.
Observed behavior:
Mini cart looks like the main product has been added twice to the cart (qty 2)
CommercePersistence cookie is also understanding the same product has been added twice (parent product): ORDER:=orderId=22774042-7fb4-4b83-b1b2-5cd6ef10f0db|CART:=quantity0=2,entryCount=1,promotionCount=0,product0=/content/we-retail/us/en/products/men/shorts/pipeline-board-shorts/jcr:content/root/product,voucherCount=0|
The ContextHubPersistence local storage element also understands there is 1 entry in the cart with qty 2 in store.cart.entries.
Expected Behavior:
Mini cart should differentiate product variants and we should see 2 distinct products with their own thumbnail, path, price and so forth
CommercePersistence and ContextHubPersistence should both have 2 distinct products with their own path, price and so forth
I am attaching a screenshot of the observed issue as well as a screenshot of the geometrixx-outdoors mini cart displaying the difference between variants for reference.
Hi, It seems like adding products with variants to the cart actually does not take the proper variant / sku into consideration in the we-retail implementation.
Steps to reproduce:
Observed behavior:
ORDER:=orderId=22774042-7fb4-4b83-b1b2-5cd6ef10f0db|CART:=quantity0=2,entryCount=1,promotionCount=0,product0=/content/we-retail/us/en/products/men/shorts/pipeline-board-shorts/jcr:content/root/product,voucherCount=0|
store.cart.entries
.Expected Behavior:
I am attaching a screenshot of the observed issue as well as a screenshot of the geometrixx-outdoors mini cart displaying the difference between variants for reference.
Thanks, G