From e8b9dc7402855d271f9b614d76697c93182ea8da Mon Sep 17 00:00:00 2001 From: Maxime Leclercq Date: Tue, 16 May 2023 16:18:27 +0200 Subject: [PATCH] fix: use the correct id to flager it as delete --- app/code/community/Ebizmarts/MailChimp/Model/Api/Carts.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/code/community/Ebizmarts/MailChimp/Model/Api/Carts.php b/app/code/community/Ebizmarts/MailChimp/Model/Api/Carts.php index 298f23d4..f3e5c40a 100755 --- a/app/code/community/Ebizmarts/MailChimp/Model/Api/Carts.php +++ b/app/code/community/Ebizmarts/MailChimp/Model/Api/Carts.php @@ -173,7 +173,7 @@ public function _getModifiedQuotes() $allCarts[$counter]['operation_id'] = $batchId . '_' . $alreadySentCartId; $allCarts[$counter]['body'] = ''; - $this->markSyncDataAsDeleted($cartId); + $this->markSyncDataAsDeleted($alreadySentCartId); $this->setCounter($counter + 1); } }