source/Application/Model/BasketItem.php
public function getTitle()
    {
        if ($this->_sTitle === null || $this->getLanguageId() != \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage()) {
            $oArticle = $this->getArticle();
            $this->_sTitle = $oArticle->oxarticles__oxtitle->value;

            if ($oArticle->oxarticles__oxvarselect->value) {
                $this->_sTitle = $this->_sTitle . ', ' . $this->getVarSelect();
            }
        }

        return $this->_sTitle;
    }
public function getTitle()
    {
        if ($this->_sTitle === null || $this->getLanguageId() != \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage()) {
            $oArticle = $this->getArticle();
            $this->_sTitle = $oArticle->oxarticles__oxtitle->value;

            if ($oArticle->oxarticles__oxvarselect->value) {
                $this->_sTitle = $this->_sTitle . ', ' . $this->getVarSelect();
            }
        }

        return $this->_sTitle;
    }
public function getTitle ( ) { if ( $ this -> _sTitle === null || $ this -> getLanguageId ( ) != \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ) { $ oArticle = $ this -> getArticle ( ) ; $ this -> _sTitle = $ oArticle -> oxarticles__oxtitle -> value ; if ( $ oArticle -> oxarticles__oxvarselect -> value ) { $ this -> _sTitle = $ this -> _sTitle . ', ' . $ this -> getVarSelect ( ) ; } } return $ this -> _sTitle ; }
Returns product title

@return string
Returns product title