src/ShopBundle/objects/db/TShopShippingType.class.php
protected function ApplyPriceModifiers($dPrice)
    {
        if ($this->fieldValueMin > 0 && $dPrice < $this->fieldValueMin) {
            $dPrice = $this->fieldValueMin;
        }
        if ($this->fieldValueMax > 0 && $dPrice > $this->fieldValueMax) {
            $dPrice = $this->fieldValueMax;
        }
        if ($this->fieldValueAdditional > 0) {
            $dPrice = $dPrice + $this->fieldValueAdditional;
        }

        return $dPrice;
    }
protected function ApplyPriceModifiers($dPrice)
    {
        if ($this->fieldValueMin > 0 && $dPrice < $this->fieldValueMin) {
            $dPrice = $this->fieldValueMin;
        }
        if ($this->fieldValueMax > 0 && $dPrice > $this->fieldValueMax) {
            $dPrice = $this->fieldValueMax;
        }
        if ($this->fieldValueAdditional > 0) {
            $dPrice = $dPrice + $this->fieldValueAdditional;
        }

        return $dPrice;
    }
protected function ApplyPriceModifiers ( $ dPrice ) { if ( $ this -> fieldValueMin > 0 && $ dPrice < $ this -> fieldValueMin ) { $ dPrice = $ this -> fieldValueMin ; } if ( $ this -> fieldValueMax > 0 && $ dPrice > $ this -> fieldValueMax ) { $ dPrice = $ this -> fieldValueMax ; } if ( $ this -> fieldValueAdditional > 0 ) { $ dPrice = $ dPrice + $ this -> fieldValueAdditional ; } return $ dPrice ; }
Applies additional price modifiers as defined in the shipping type
record.

@param float $dPrice

@return float $dPrice
Applies additional price modifiers as defined in the shipping type record .