**/ class oxorder_blatm extends oxorder_blatm_parent { protected function _setUser ($oUser) { parent::_setUser($oUser); $cfg = oxRegistry::getConfig(); $oxSession = oxRegistry::getSession(); $aRefs = $oxSession->getVariable('bla_refs'); $this->assign(['oxorder__blahttpref' => $aRefs['http']]); if ($oxSession->getVariable('shopgateorder')) { $this->assign(['oxorder__blaref' => $cfg->getConfigParam("bla_tm_shopgateref")]); $oxSession->deleteVariable('shopgateorder'); } else $this->assign(['oxorder__blaref' => ($aRefs['ref'] ? $aRefs['ref'] : $cfg->getConfigParam('bla_tm_defaultref'))]); $this->assign(['oxorder__blasubref' => $aRefs['subref']]); } }