source/Application/Model/VariantHandler.php
protected function _getValuePrice($oValue, $dParentPrice)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $dPriceMod = 0;
        if ($myConfig->getConfigParam('bl_perfLoadSelectLists') && $myConfig->getConfigParam('bl_perfUseSelectlistPrice')) {
            if ($oValue->priceUnit == 'abs') {
                $dPriceMod = $oValue->price;
            } elseif ($oValue->priceUnit == '%') {
                $dPriceModPerc = abs($oValue->price) * $dParentPrice / 100.0;
                if (($oValue->price) >= 0.0) {
                    $dPriceMod = $dPriceModPerc;
                } else {
                    $dPriceMod = -$dPriceModPerc;
                }
            }
        }

        return $dPriceMod;
    }
protected function _getValuePrice($oValue, $dParentPrice)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        $dPriceMod = 0;
        if ($myConfig->getConfigParam('bl_perfLoadSelectLists') && $myConfig->getConfigParam('bl_perfUseSelectlistPrice')) {
            if ($oValue->priceUnit == 'abs') {
                $dPriceMod = $oValue->price;
            } elseif ($oValue->priceUnit == '%') {
                $dPriceModPerc = abs($oValue->price) * $dParentPrice / 100.0;
                if (($oValue->price) >= 0.0) {
                    $dPriceMod = $dPriceModPerc;
                } else {
                    $dPriceMod = -$dPriceModPerc;
                }
            }
        }

        return $dPriceMod;
    }
protected function _getValuePrice ( $ oValue , $ dParentPrice ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; $ dPriceMod = 0 ; if ( $ myConfig -> getConfigParam ( 'bl_perfLoadSelectLists' ) && $ myConfig -> getConfigParam ( 'bl_perfUseSelectlistPrice' ) ) { if ( $ oValue -> priceUnit == 'abs' ) { $ dPriceMod = $ oValue -> price ; } elseif ( $ oValue -> priceUnit == '%' ) { $ dPriceModPerc = abs ( $ oValue -> price ) * $ dParentPrice / 100.0 ; if ( ( $ oValue -> price ) >= 0.0 ) { $ dPriceMod = $ dPriceModPerc ; } else { $ dPriceMod = - $ dPriceModPerc ; } } } return $ dPriceMod ; }
Returns article price

@param object $oValue       selection list value
@param double $dParentPrice parent article price

@return double
Returns article price