From 283bad464a18d88789feb575f20283c6185800a8 Mon Sep 17 00:00:00 2001 From: Azizbek Rasulov Date: Tue, 24 May 2022 21:37:23 +0500 Subject: [PATCH] created a parameter for checking the cartItem --- src/Model/Resolver/GetCartForCustomer.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Model/Resolver/GetCartForCustomer.php b/src/Model/Resolver/GetCartForCustomer.php index 702071b..f660b2c 100644 --- a/src/Model/Resolver/GetCartForCustomer.php +++ b/src/Model/Resolver/GetCartForCustomer.php @@ -240,7 +240,8 @@ public function resolve( $this->productsData = $this->productPostProcessor->process( $products, 'items/product', - $adjustedInfo + $adjustedInfo, + ['isCartProduct'=> true] ); foreach ($items as $item) {