Skip to content

Commit e4b46e7

Browse files
author
Dominic
committed
return-cart-id-null
1 parent 908a6bb commit e4b46e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

app/code/Magento/QuoteGraphQl/Model/Resolver/AddSimpleProductsToCart.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ public function resolve(Field $field, $context, ResolveInfo $info, array $value
8181

8282
$this->addProductsToCart->execute($cart, $cartItems);
8383
$cartData = $this->extractDataFromCart->execute($cart);
84+
$cartData["cart_id"] = $cartHash;
8485

8586
return [
8687
'cart' => $cartData,

0 commit comments

Comments
 (0)