87 $this->_oBasket = clone $oBasket;
90 $oBasket->deleteBasket();
103 if ( !$this->_oBasket || !$this->_oBasket->getProductsCount() ) {
112 if ( !$oUser || !$oUser->oxuser__oxpassword->value) {
118 if ( $this->_oBasket->getOrderId() ) {
120 $oEmail =
oxNew(
'oxemail' );
121 $oEmail->sendStockReminder( $this->_oBasket->getContents() );
159 if ( $this->_aLastProducts === null ) {
160 $this->_aLastProducts =
false;
162 $aBasketContents = array_values($this->
getBasket()->getContents());
163 if ( $oBasketItem = $aBasketContents[0] ) {
164 if ( $oProduct = $oBasketItem->getArticle(
false) ) {
165 $this->_aLastProducts = $oProduct->getCustomerAlsoBoughtThisProducts();
179 if ( $this->_dConvIndex === null ) {
181 $oCur = $this->
getConfig()->getActShopCurrencyObject();
182 $this->_dConvIndex = 1 / $oCur->rate;
194 if ( $this->_dIPaymentBasket === null ) {
195 $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' );
221 if ( $this->_sIPaymentUser === null ) {
222 $this->_sIPaymentUser =
false;
223 $this->_sIPaymentUser = $this->
getConfig()->getConfigParam(
'iShopID_iPayment_User' );
235 if ( $this->_sIPaymentPassword === null ) {
236 $this->_sIPaymentPassword =
false;
237 $this->_sIPaymentPassword = $this->
getConfig()->getConfigParam(
'iShopID_iPayment_Passwort' );
249 if ( $this->_sMailError === null ) {
250 $this->_sMailError =
false;
263 if ( $this->_oOrder === null ) {
264 $this->_oOrder =
oxNew(
'oxorder' );
266 if ( $sOrderId = $this->
getBasket()->getOrderId() ) {
267 $this->_oOrder->load( $sOrderId );
270 return $this->_oOrder;
282 $oCountry =
oxNew(
'oxcountry' );
283 $oCountry->load( $oOrder->oxorder__oxbillcountryid->value );
284 return $oCountry->oxcountry__oxisoalpha3->value;
311 $aPath[
'link'] = $this->
getLink();