93         if ($this->
getConfig()->getConfigParam(
'blPsBasketReservationEnabled')) {
 
   94             $this->
getSession()->getBasketReservations()->renewExpiration();
 
  109         if ($this->_oBasketArticles === null) {
 
  110             $this->_oBasketArticles = 
false;
 
  113             if ($oBasket = $this->
getSession()->getBasket()) {
 
  114                 $this->_oBasketArticles = $oBasket->getBasketArticles();
 
  128         if ($this->_oFirstBasketProduct === null) {
 
  129             $this->_oFirstBasketProduct = 
false;
 
  132             if (is_array($aBasketArticles) && $oProduct = reset($aBasketArticles)) {
 
  133                 $this->_oFirstBasketProduct = $oProduct;
 
  147         if ($this->_oSimilarList === null) {
 
  148             $this->_oSimilarList = 
false;
 
  152                 $this->_oSimilarList = $oProduct->getSimilarProducts();
 
  166         if ($this->_aSimilarRecommListIds === null) {
 
  167             $this->_aSimilarRecommListIds = 
false;
 
  170                 $this->_aSimilarRecommListIds = array($oProduct->getId());
 
  184         $iNewBasketItemMessage = $this->
getConfig()->getConfigParam(
'iNewBasketItemMessage');
 
  187         return ($iNewBasketItemMessage == 3 && $sBackToShop);
 
  229         if ($this->
getConfig()->getConfigParam(
'iNewBasketItemMessage') == 3) {
 
  231             if ($sBackLink = $oSession->getVariable(
'_backtoshop')) {
 
  232                 $oSession->deleteVariable(
'_backtoshop');
 
  260         if ($this->_iWrapCnt === null) {
 
  261             $this->_iWrapCnt = 0;
 
  263             $oWrap = 
oxNew(
'oxwrapping');
 
  264             $this->_iWrapCnt += $oWrap->getWrappingCount(
'WRAP');
 
  265             $this->_iWrapCnt += $oWrap->getWrappingCount(
'CARD');
 
  268         return (
bool) $this->_iWrapCnt;
 
  278         if ($this->_oWrappings === null) {
 
  279             $this->_oWrappings = 
new oxlist();
 
  283                 $this->_oWrappings = 
oxNew(
'oxwrapping')->getWrappingList(
'WRAP');
 
  297         if ($this->_oCards === null) {
 
  298             $this->_oCards = 
new oxlist();
 
  302                 $this->_oCards = 
oxNew(
'oxwrapping')->getWrappingList(
'CARD');
 
  324             $this->
_setWrappingInfo($oBasket, $oConfig->getRequestParameter(
'wrapping'));
 
  326             $oBasket->setCardMessage($oConfig->getRequestParameter(
'giftmessage'));
 
  327             $oBasket->setCardId($oConfig->getRequestParameter(
'chosencard'));
 
  328             $oBasket->onUpdate();
 
  344         $aPath[
'link']  = $this->
getLink();
 
  358         $oBasketContentMarkGenerator = 
oxNew(
'oxBasketContentMarkGenerator', $this->
getSession()->getBasket());
 
  360         return $oBasketContentMarkGenerator;
 
  371         if (is_array($aWrapping) && count($aWrapping)) {
 
  372             foreach ($oBasket->getContents() as $sKey => $oBasketItem) {
 
  373                 if (isset($aWrapping[$sKey])) {
 
  374                     $oBasketItem->setWrapping($aWrapping[$sKey]);