Skip to content

Commit

Permalink
delete product #1945 for magento 2.3.6-p1
Browse files Browse the repository at this point in the history
  • Loading branch information
gonzaloebiz committed Apr 8, 2024
1 parent 1d25685 commit 67e6503
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Model/Api/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -271,6 +271,11 @@ protected function processDeletedProducts($magentoStoreId, $mailchimpStoreId)
$data['operation_id'] = $this->_batchId . '_' . $productId;
$data['body'] = $body;
$deletedData [] = $data;
$data['method'] = "DELETE";
$data['path'] = "/ecommerce/stores/$mailchimpStoreId/products/$productId";
$data['operation_id'] = $this->_batchId . '_' . $productId;
$data['body'] = $body;
$deletedData [] = $data;
$this->_updateProduct($mailchimpStoreId, $productId);
}
}
Expand Down

0 comments on commit 67e6503

Please sign in to comment.