source/Application/Model/MdVariant.php
public function getFPrice()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        // 0002030 No need to return price if it disabled for better performance.
        if (!$myConfig->getConfigParam('bl_perfLoadPrice')) {
            return;
        }

        if ($this->_sFPrice) {
            return $this->_sFPrice;
        }

        $sFromPrefix = '';

        if (!$this->_isFixedPrice()) {
            $sFromPrefix = \OxidEsales\Eshop\Core\Registry::getLang()->translateString('PRICE_FROM') . ' ';
        }

        $dMinPrice = $this->getMinDPrice();
        $sFMinPrice = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($dMinPrice);
        $sCurrency = ' ' . \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject()->sign;
        $this->_sFPrice = $sFromPrefix . $sFMinPrice . $sCurrency;

        return $this->_sFPrice;
    }
public function getFPrice()
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        // 0002030 No need to return price if it disabled for better performance.
        if (!$myConfig->getConfigParam('bl_perfLoadPrice')) {
            return;
        }

        if ($this->_sFPrice) {
            return $this->_sFPrice;
        }

        $sFromPrefix = '';

        if (!$this->_isFixedPrice()) {
            $sFromPrefix = \OxidEsales\Eshop\Core\Registry::getLang()->translateString('PRICE_FROM') . ' ';
        }

        $dMinPrice = $this->getMinDPrice();
        $sFMinPrice = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($dMinPrice);
        $sCurrency = ' ' . \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject()->sign;
        $this->_sFPrice = $sFromPrefix . $sFMinPrice . $sCurrency;

        return $this->_sFPrice;
    }
public function getFPrice ( ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; // 0002030 No need to return price if it disabled for better performance. if ( ! $ myConfig -> getConfigParam ( 'bl_perfLoadPrice' ) ) { return ; } if ( $ this -> _sFPrice ) { return $ this -> _sFPrice ; } $ sFromPrefix = '' ; if ( ! $ this -> _isFixedPrice ( ) ) { $ sFromPrefix = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> translateString ( 'PRICE_FROM' ) . ' ' ; } $ dMinPrice = $ this -> getMinDPrice ( ) ; $ sFMinPrice = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> formatCurrency ( $ dMinPrice ) ; $ sCurrency = ' ' . \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActShopCurrencyObject ( ) -> sign ; $ this -> _sFPrice = $ sFromPrefix . $ sFMinPrice . $ sCurrency ; return $ this -> _sFPrice ; }
Returns MD variant price as a text.

@return string
Returns MD variant price as a text .