Example #1
0
 /**
  * After saving the order, collect the rates
  * @return TinyBrick_OrderEdit_Model_Order_Address 
  */
 protected function _afterSave()
 {
     parent::_afterSave();
     if (null !== $this->_items) {
         $this->getItemsCollection()->save();
     }
     if (null !== $this->_rates) {
         $this->getShippingRatesCollection()->save();
     }
     return $this;
 }