source/Application/Component/Widget/ArticleDetails.php
public function getRatingValue()
    {

        if ($this->_dRatingValue === null) {
            $this->_dRatingValue = (double) 0;
            if ($this->isReviewActive() && ($oDetailsProduct = $this->getProduct())) {
                $blShowVariantsReviews = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blShowVariantReviews');
                $this->_dRatingValue = round($oDetailsProduct->getArticleRatingAverage($blShowVariantsReviews), 1);
            }
        }

        return (double) $this->_dRatingValue;
    }
public function getRatingValue()
    {

        if ($this->_dRatingValue === null) {
            $this->_dRatingValue = (double) 0;
            if ($this->isReviewActive() && ($oDetailsProduct = $this->getProduct())) {
                $blShowVariantsReviews = \OxidEsales\Eshop\Core\Registry::getConfig()->getConfigParam('blShowVariantReviews');
                $this->_dRatingValue = round($oDetailsProduct->getArticleRatingAverage($blShowVariantsReviews), 1);
            }
        }

        return (double) $this->_dRatingValue;
    }
public function getRatingValue ( ) { if ( $ this -> _dRatingValue === null ) { $ this -> _dRatingValue = ( double ) 0 ; if ( $ this -> isReviewActive ( ) && ( $ oDetailsProduct = $ this -> getProduct ( ) ) ) { $ blShowVariantsReviews = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getConfigParam ( 'blShowVariantReviews' ) ; $ this -> _dRatingValue = round ( $ oDetailsProduct -> getArticleRatingAverage ( $ blShowVariantsReviews ) , 1 ) ; } } return ( double ) $ this -> _dRatingValue ; }
Template variable getter. Returns rating value.

@return double
Template variable getter . Returns rating value .