source/Application/Controller/FrontendController.php
public function getShowPromotionList()
    {
        if (isset($this->_blShowPromotions)) {
            return $this->_blShowPromotions;
        }
        $this->_blShowPromotions = false;
        if (oxNew(\OxidEsales\Eshop\Application\Model\ActionList::class)->areAnyActivePromotions()) {
            $this->_blShowPromotions = (count($this->getPromoFinishedList()) + count($this->getPromoCurrentList()) +
                                        count($this->getPromoFutureList())) > 0;
        }

        return $this->_blShowPromotions;
    }
public function getShowPromotionList()
    {
        if (isset($this->_blShowPromotions)) {
            return $this->_blShowPromotions;
        }
        $this->_blShowPromotions = false;
        if (oxNew(\OxidEsales\Eshop\Application\Model\ActionList::class)->areAnyActivePromotions()) {
            $this->_blShowPromotions = (count($this->getPromoFinishedList()) + count($this->getPromoCurrentList()) +
                                        count($this->getPromoFutureList())) > 0;
        }

        return $this->_blShowPromotions;
    }
public function getShowPromotionList ( ) { if ( isset ( $ this -> _blShowPromotions ) ) { return $ this -> _blShowPromotions ; } $ this -> _blShowPromotions = false ; if ( oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ ActionList :: class ) -> areAnyActivePromotions ( ) ) { $ this -> _blShowPromotions = ( count ( $ this -> getPromoFinishedList ( ) ) + count ( $ this -> getPromoCurrentList ( ) ) + count ( $ this -> getPromoFutureList ( ) ) ) > 0 ; } return $ this -> _blShowPromotions ; }
should promotions list be shown?

@return bool
should promotions list be shown?