source/Application/Model/Article.php
protected function _modifySelectListPrice($dPrice, $aChosenList = null)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        // #690
        if ($myConfig->getConfigParam('bl_perfLoadSelectLists') && $myConfig->getConfigParam('bl_perfUseSelectlistPrice')) {
            $aSelLists = $this->getSelectLists();

            foreach ($aSelLists as $key => $aSel) {
                if (isset($aChosenList[$key]) && isset($aSel[$aChosenList[$key]])) {
                    $oSel = $aSel[$aChosenList[$key]];
                    if ($oSel->priceUnit == 'abs') {
                        $dPrice += $oSel->price;
                    } elseif ($oSel->priceUnit == '%') {
                        $dPrice += \OxidEsales\Eshop\Core\Price::percent($dPrice, $oSel->price);
                    }
                }
            }
        }

        return $dPrice;
    }
protected function _modifySelectListPrice($dPrice, $aChosenList = null)
    {
        $myConfig = \OxidEsales\Eshop\Core\Registry::getConfig();
        // #690
        if ($myConfig->getConfigParam('bl_perfLoadSelectLists') && $myConfig->getConfigParam('bl_perfUseSelectlistPrice')) {
            $aSelLists = $this->getSelectLists();

            foreach ($aSelLists as $key => $aSel) {
                if (isset($aChosenList[$key]) && isset($aSel[$aChosenList[$key]])) {
                    $oSel = $aSel[$aChosenList[$key]];
                    if ($oSel->priceUnit == 'abs') {
                        $dPrice += $oSel->price;
                    } elseif ($oSel->priceUnit == '%') {
                        $dPrice += \OxidEsales\Eshop\Core\Price::percent($dPrice, $oSel->price);
                    }
                }
            }
        }

        return $dPrice;
    }
protected function _modifySelectListPrice ( $ dPrice , $ aChosenList = null ) { $ myConfig = \ OxidEsales \ Eshop \ Core \ Registry :: getConfig ( ) ; // #690 if ( $ myConfig -> getConfigParam ( 'bl_perfLoadSelectLists' ) && $ myConfig -> getConfigParam ( 'bl_perfUseSelectlistPrice' ) ) { $ aSelLists = $ this -> getSelectLists ( ) ; foreach ( $ aSelLists as $ key => $ aSel ) { if ( isset ( $ aChosenList [ $ key ] ) && isset ( $ aSel [ $ aChosenList [ $ key ] ] ) ) { $ oSel = $ aSel [ $ aChosenList [ $ key ] ] ; if ( $ oSel -> priceUnit == 'abs' ) { $ dPrice += $ oSel -> price ; } elseif ( $ oSel -> priceUnit == '%' ) { $ dPrice += \ OxidEsales \ Eshop \ Core \ Price :: percent ( $ dPrice , $ oSel -> price ) ; } } } } return $ dPrice ; }
Modifies article price according to selected select list value

@param double $dPrice      Modifiable price
@param array  $aChosenList Selection list array

@return double
Modifies article price according to selected select list value