96 $this->_oBasket = clone $oBasket;
99 $oBasket->deleteBasket();
112 if (!$this->_oBasket || !$this->_oBasket->getProductsCount()) {
121 if (!$oUser || !$oUser->oxuser__oxpassword->value) {
127 if ($this->_oBasket->getOrderId()) {
129 $oEmail =
oxNew(
'oxEmail');
130 $oEmail->sendStockReminder($this->_oBasket->getContents());
156 if ($this->_aLastProducts === null) {
157 $this->_aLastProducts =
false;
159 $aBasketContents = array_values($this->
getBasket()->getContents());
160 if ($oBasketItem = $aBasketContents[0]) {
161 if ($oProduct = $oBasketItem->getArticle(
false)) {
162 $this->_aLastProducts = $oProduct->getCustomerAlsoBoughtThisProducts();
177 if ($this->_dConvIndex === null) {
179 $oCur = $this->
getConfig()->getActShopCurrencyObject();
180 $this->_dConvIndex = 1 / $oCur->rate;
193 if ($this->_dIPaymentBasket === null) {
194 $this->_dIPaymentBasket = $this->
getBasket()->getPrice()->getBruttoPrice() * 100;
207 if ($this->_sIPaymentAccount === null) {
208 $this->_sIPaymentAccount =
false;
209 $this->_sIPaymentAccount = $this->
getConfig()->getConfigParam(
'iShopID_iPayment_Account');
222 if ($this->_sIPaymentUser === null) {
223 $this->_sIPaymentUser =
false;
224 $this->_sIPaymentUser = $this->
getConfig()->getConfigParam(
'iShopID_iPayment_User');
237 if ($this->_sIPaymentPassword === null) {
238 $this->_sIPaymentPassword =
false;
239 $this->_sIPaymentPassword = $this->
getConfig()->getConfigParam(
'iShopID_iPayment_Passwort');
252 if ($this->_sMailError === null) {
253 $this->_sMailError =
false;
267 if ($this->_oOrder === null) {
268 $this->_oOrder =
oxNew(
'oxorder');
270 if ($sOrderId = $this->
getBasket()->getOrderId()) {
271 $this->_oOrder->load($sOrderId);
275 return $this->_oOrder;
287 $oCountry =
oxNew(
'oxCountry');
288 $oCountry->load($oOrder->oxorder__oxbillcountryid->value);
290 return $oCountry->oxcountry__oxisoalpha3->value;
317 $aPath[
'title'] =
oxRegistry::getLang()->translateString(
'ORDER_COMPLETED', $iLang,
false);
318 $aPath[
'link'] = $this->
getLink();