source/Application/Model/Article.php
protected function _getPriceForView($oPrice)
    {
        if ($this->_isPriceViewModeNetto()) {
            $dPrice = $oPrice->getNettoPrice();
        } else {
            $dPrice = $oPrice->getBruttoPrice();
        }

        return $dPrice;
    }
protected function _getPriceForView($oPrice)
    {
        if ($this->_isPriceViewModeNetto()) {
            $dPrice = $oPrice->getNettoPrice();
        } else {
            $dPrice = $oPrice->getBruttoPrice();
        }

        return $dPrice;
    }
protected function _getPriceForView ( $ oPrice ) { if ( $ this -> _isPriceViewModeNetto ( ) ) { $ dPrice = $ oPrice -> getNettoPrice ( ) ; } else { $ dPrice = $ oPrice -> getBruttoPrice ( ) ; } return $ dPrice ; }
Depending on view mode prepare price for viewing

@param \OxidEsales\Eshop\Core\Price $oPrice price object

@return double
Depending on view mode prepare price for viewing