From dc54680dc31ee6d959fafc67d8bca3c786df43dd Mon Sep 17 00:00:00 2001 From: J Bruni Date: Wed, 7 Aug 2024 10:24:24 -0300 Subject: [PATCH] Update Quote.php Fixes exception thrown by missing returned result from addProduct call. --- src/Model/Quote/Quote.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Quote/Quote.php b/src/Model/Quote/Quote.php index 86beb56..6a15941 100644 --- a/src/Model/Quote/Quote.php +++ b/src/Model/Quote/Quote.php @@ -63,6 +63,6 @@ public function addProduct( $productId = $product->getId(); $product = clone $this->productRepository->getById($productId, false, $this->getStore()->getId()); - parent::addProduct($product, $request, $processMode); + return parent::addProduct($product, $request, $processMode); } }