Skip to content

Commit 67c52ad

Browse files
author
Shikha Mishra
authored
Unable to add configurable product to cart on any non-default store view
1 parent 1e846a4 commit 67c52ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/code/Magento/QuoteGraphQl/Model/Cart/AddSimpleProductToCart.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public function execute(Quote $cart, array $cartItemData): void
6363

6464
try {
6565
$result = $cart->addProduct($product, $this->buyRequestBuilder->build($cartItemData));
66-
} catch (Exception $e) {
66+
} catch (Exception $e) {die($e);
6767
throw new GraphQlInputException(
6868
__(
6969
'Could not add the product with SKU %sku to the shopping cart: %message',

0 commit comments

Comments
 (0)