/** * Save child collections * * @return $this */ protected function _afterSave() { parent::_afterSave(); if (null !== $this->_items) { $this->getItemsCollection()->save(); } if (null !== $this->_rates) { $this->getShippingRatesCollection()->save(); } return $this; }