Example #1
0
 protected function afterSave()
 {
     if (!empty($this->__issue_to_user)) {
         $this->issue();
     }
     parent::afterSave();
 }
Example #2
0
 protected function afterSave()
 {
     parent::afterSave();
     // cart has been updated,
     // so delete all scheduled abandoned cart notifications
     \Shop\Models\CartsAbandoned::deleteQueuedEmails($this);
     // and reset its array of email notifications
     $this->abandoned_notifications = array();
     $this->store();
 }
Example #3
0
 protected function afterSave()
 {
     parent::afterSave();
     $this->compressOrdering();
 }