source/Application/Model/Wrapping.php
public function getWrappingPrice($dAmount = 1)
    {
        if ($this->_oPrice === null) {
            $this->_oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

            if (!$this->_blWrappingVatOnTop) {
                $this->_oPrice->setBruttoPriceMode();
            } else {
                $this->_oPrice->setNettoPriceMode();
            }

            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
            $this->_oPrice->setPrice($this->oxwrapping__oxprice->value * $oCur->rate, $this->_dVat);
            $this->_oPrice->multiply($dAmount);
        }

        return $this->_oPrice;
    }
public function getWrappingPrice($dAmount = 1)
    {
        if ($this->_oPrice === null) {
            $this->_oPrice = oxNew(\OxidEsales\Eshop\Core\Price::class);

            if (!$this->_blWrappingVatOnTop) {
                $this->_oPrice->setBruttoPriceMode();
            } else {
                $this->_oPrice->setNettoPriceMode();
            }

            $oCur = \OxidEsales\Eshop\Core\Registry::getConfig()->getActShopCurrencyObject();
            $this->_oPrice->setPrice($this->oxwrapping__oxprice->value * $oCur->rate, $this->_dVat);
            $this->_oPrice->multiply($dAmount);
        }

        return $this->_oPrice;
    }
public function getWrappingPrice ( $ dAmount = 1 ) { if ( $ this -> _oPrice === null ) { $ this -> _oPrice = oxNew ( \ OxidEsales \ Eshop \ Core \ Price :: class ) ; if ( ! $ this -> _blWrappingVatOnTop ) { $ this -> _oPrice -> setBruttoPriceMode ( ) ; } else { $ this -> _oPrice -> setNettoPriceMode ( ) ; } $ oCur = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) -> getActShopCurrencyObject ( ) ; $ this -> _oPrice -> setPrice ( $ this -> oxwrapping__oxprice -> value * $ oCur -> rate , $ this -> _dVat ) ; $ this -> _oPrice -> multiply ( $ dAmount ) ; } return $ this -> _oPrice ; }
Returns oxprice object for wrapping

@param int $dAmount article amount

@return object
Returns oxprice object for wrapping