Skip to content

Commit 387fc7e

Browse files
committed
Merge remote-tracking branch 'remotes/dev/1.7' into 1.7
2 parents 6c3de62 + e8391d6 commit 387fc7e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/OroCRM/Bundle/MagentoBundle/ImportExport/Strategy/CartStrategy.php

+3-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,9 @@ protected function beforeProcessEntity($entity)
4646
*/
4747
protected function afterProcessEntity($entity)
4848
{
49-
$this->updateRemovedCartItems($entity);
49+
if ($entity->getStatus()->getName() === CartStatus::STATUS_OPEN) {
50+
$this->updateRemovedCartItems($entity);
51+
}
5052

5153
if (!$this->hasContactInfo($entity)) {
5254
return null;

0 commit comments

Comments
 (0)