Skip to content

Commit

Permalink
Merge pull request #1833 from laboro/fix/CRM-3526_1.7
Browse files Browse the repository at this point in the history
CRM-3526 1.7: Shopping Items moved from Active to Deleted after creating …
  • Loading branch information
krlove committed Jun 15, 2015
2 parents 6897c38 + ffe6d9f commit e8391d6
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,9 @@ protected function beforeProcessEntity($entity)
*/
protected function afterProcessEntity($entity)
{
$this->updateRemovedCartItems($entity);
if ($entity->getStatus()->getName() === CartStatus::STATUS_OPEN) {
$this->updateRemovedCartItems($entity);
}

if (!$this->hasContactInfo($entity)) {
return null;
Expand Down

0 comments on commit e8391d6

Please sign in to comment.