source/Application/Model/BasketItem.php
public function getVarSelect()
    {
        if ($this->_sVarSelect === null || $this->getLanguageId() != \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage()) {
            $oArticle = $this->getArticle();
            $sVarSelectValue = $oArticle->oxarticles__oxvarselect->value;
            $this->_sVarSelect = (!empty($sVarSelectValue) || $sVarSelectValue === '0') ? $sVarSelectValue : '';
        }

        return $this->_sVarSelect;
    }
public function getVarSelect()
    {
        if ($this->_sVarSelect === null || $this->getLanguageId() != \OxidEsales\Eshop\Core\Registry::getLang()->getBaseLanguage()) {
            $oArticle = $this->getArticle();
            $sVarSelectValue = $oArticle->oxarticles__oxvarselect->value;
            $this->_sVarSelect = (!empty($sVarSelectValue) || $sVarSelectValue === '0') ? $sVarSelectValue : '';
        }

        return $this->_sVarSelect;
    }
public function getVarSelect ( ) { if ( $ this -> _sVarSelect === null || $ this -> getLanguageId ( ) != \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> getBaseLanguage ( ) ) { $ oArticle = $ this -> getArticle ( ) ; $ sVarSelectValue = $ oArticle -> oxarticles__oxvarselect -> value ; $ this -> _sVarSelect = ( ! empty ( $ sVarSelectValue ) || $ sVarSelectValue === '0' ) ? $ sVarSelectValue : '' ; } return $ this -> _sVarSelect ; }
Returns varselect value

@return string
Returns varselect value