src/ShopBundle/objects/db/TShopOrderStep/TShopOrderStep.class.php
protected function CheckBasketContents()
    {
        if ('basket' !== $this->fieldSystemname) {
            $oBasket = $this->getShopService()->getActiveBasket();
            if ($oBasket->dTotalNumberOfArticles <= 0) {
                $oBasketStep = TdbShopOrderStep::GetStep('basket');
                $this->JumpToStep($oBasketStep);
            }
        }
    }
protected function CheckBasketContents()
    {
        if ('basket' !== $this->fieldSystemname) {
            $oBasket = $this->getShopService()->getActiveBasket();
            if ($oBasket->dTotalNumberOfArticles <= 0) {
                $oBasketStep = TdbShopOrderStep::GetStep('basket');
                $this->JumpToStep($oBasketStep);
            }
        }
    }
protected function CheckBasketContents ( ) { if ( 'basket' !== $ this -> fieldSystemname ) { $ oBasket = $ this -> getShopService ( ) -> getActiveBasket ( ) ; if ( $ oBasket -> dTotalNumberOfArticles <= 0 ) { $ oBasketStep = TdbShopOrderStep :: GetStep ( 'basket' ) ; $ this -> JumpToStep ( $ oBasketStep ) ; } } }
Redirects back to the basket if basket is currently empty.
Redirects back to the basket if basket is currently empty .