source/Application/Model/PriceAlarm.php
public function getPrice()
    {
        if ($this->_dPrice == null) {
            $this->_dPrice = false;
            if ($oArticle = $this->getArticle()) {
                $myUtils = \OxidEsales\Eshop\Core\Registry::getUtils();
                $oThisCurr = $this->getPriceAlarmCurrency();

                // #889C - Netto prices in Admin
                // (we have to call $oArticle->getPrice() to get price with VAT)
                $dArtPrice = $oArticle->getPrice()->getBruttoPrice() * $oThisCurr->rate;
                $dArtPrice = $myUtils->fRound($dArtPrice);

                $this->_dPrice = $dArtPrice;
            }
        }

        return $this->_dPrice;
    }
public function getPrice()
    {
        if ($this->_dPrice == null) {
            $this->_dPrice = false;
            if ($oArticle = $this->getArticle()) {
                $myUtils = \OxidEsales\Eshop\Core\Registry::getUtils();
                $oThisCurr = $this->getPriceAlarmCurrency();

                // #889C - Netto prices in Admin
                // (we have to call $oArticle->getPrice() to get price with VAT)
                $dArtPrice = $oArticle->getPrice()->getBruttoPrice() * $oThisCurr->rate;
                $dArtPrice = $myUtils->fRound($dArtPrice);

                $this->_dPrice = $dArtPrice;
            }
        }

        return $this->_dPrice;
    }
public function getPrice ( ) { if ( $ this -> _dPrice == null ) { $ this -> _dPrice = false ; if ( $ oArticle = $ this -> getArticle ( ) ) { $ myUtils = \ OxidEsales \ Eshop \ Core \ Registry :: getUtils ( ) ; $ oThisCurr = $ this -> getPriceAlarmCurrency ( ) ; // #889C - Netto prices in Admin // (we have to call $oArticle->getPrice() to get price with VAT) $ dArtPrice = $ oArticle -> getPrice ( ) -> getBruttoPrice ( ) * $ oThisCurr -> rate ; $ dArtPrice = $ myUtils -> fRound ( $ dArtPrice ) ; $ this -> _dPrice = $ dArtPrice ; } } return $ this -> _dPrice ; }
Returns pricealarm article original price

@return double
Returns pricealarm article original price