Skip to content

Commit

Permalink
CRM-3526: Shopping Items moved from Active to Deleted after creating …
Browse files Browse the repository at this point in the history
…new Cart
  • Loading branch information
mccar committed Jun 15, 2015
1 parent 6897c38 commit ffe6d9f
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 ffe6d9f

Please sign in to comment.