/** * post saving hook. can finish transactions if needed or ajust related data * * @param oxBase $oShopObject shop object * @param data $aData data to save * * @return mixed data to return */ protected function _postSaveObject($oShopObject, $aData) { $sOXID = $oShopObject->getId(); $oShopObject->onChange(null, $sOXID, $sOXID); // returning ID on success return $sOXID; }