23 if ($soxId !=
"-1" && isset($soxId)) {
25 $oOrder =
oxNew(
"oxorder");
26 $oOrder->load($soxId);
28 $this->_aViewData[
"edit"] = $oOrder;
31 $oCountryList =
oxNew(
"oxCountryList");
34 $this->_aViewData[
"countrylist"] = $oCountryList;
36 return "order_address.tpl";
57 foreach ($aData as $sName => $sValue) {
60 if (strpos($sName, $sTypeToProcess) !==
false) {
66 if (!in_array($sName, $aIgnore) && $sValue) {
77 foreach ($aFields as $sName) {
97 $aParams[
'oxorder__oxshopid'] = $sShopID;
99 $oOrder =
oxNew(
"oxorder");
100 if ($soxId !=
"-1") {
101 $oOrder->load($soxId);
103 $aParams[
'oxorder__oxid'] = null;
106 $aParams = $this->
_processAddress($aParams,
"oxorder__oxdel", array(
"oxorder__oxdelsal"));
107 $oOrder->assign($aParams);