source/Application/Model/Article.php
public function getFUnitPrice()
    {
        if ($this->_fPricePerUnit == null) {
            if ($oPrice = $this->getUnitPrice()) {
                if ($dPrice = $this->_getPriceForView($oPrice)) {
                    $this->_fPricePerUnit = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($dPrice);
                }
            }
        }

        return $this->_fPricePerUnit;
    }
public function getFUnitPrice()
    {
        if ($this->_fPricePerUnit == null) {
            if ($oPrice = $this->getUnitPrice()) {
                if ($dPrice = $this->_getPriceForView($oPrice)) {
                    $this->_fPricePerUnit = \OxidEsales\Eshop\Core\Registry::getLang()->formatCurrency($dPrice);
                }
            }
        }

        return $this->_fPricePerUnit;
    }
public function getFUnitPrice ( ) { if ( $ this -> _fPricePerUnit == null ) { if ( $ oPrice = $ this -> getUnitPrice ( ) ) { if ( $ dPrice = $ this -> _getPriceForView ( $ oPrice ) ) { $ this -> _fPricePerUnit = \ OxidEsales \ Eshop \ Core \ Registry :: getLang ( ) -> formatCurrency ( $ dPrice ) ; } } } return $ this -> _fPricePerUnit ; }
Returns formatted price per unit

@deprecated since v5.1 (2013-09-25); use oxPrice smarty plugin for formatting in templates
@return string
Returns formatted price per unit