source/Application/Model/MdVariant.php
public function getMinDPrice()
    {
        $dMinPrice = $this->getDPrice();
        $aVariants = $this->getMdSubvariants();
        foreach ($aVariants as $oVariant) {
            $dMinVariantPrice = $oVariant->getMinDPrice();
            if (is_null($dMinPrice)) {
                $dMinPrice = $dMinVariantPrice;
            }
            if (!is_null($dMinVariantPrice) && $dMinVariantPrice < $dMinPrice) {
                $dMinPrice = $dMinVariantPrice;
            }
        }

        return $dMinPrice;
    }
public function getMinDPrice()
    {
        $dMinPrice = $this->getDPrice();
        $aVariants = $this->getMdSubvariants();
        foreach ($aVariants as $oVariant) {
            $dMinVariantPrice = $oVariant->getMinDPrice();
            if (is_null($dMinPrice)) {
                $dMinPrice = $dMinVariantPrice;
            }
            if (!is_null($dMinVariantPrice) && $dMinVariantPrice < $dMinPrice) {
                $dMinPrice = $dMinVariantPrice;
            }
        }

        return $dMinPrice;
    }
public function getMinDPrice ( ) { $ dMinPrice = $ this -> getDPrice ( ) ; $ aVariants = $ this -> getMdSubvariants ( ) ; foreach ( $ aVariants as $ oVariant ) { $ dMinVariantPrice = $ oVariant -> getMinDPrice ( ) ; if ( is_null ( $ dMinPrice ) ) { $ dMinPrice = $ dMinVariantPrice ; } if ( ! is_null ( $ dMinVariantPrice ) && $ dMinVariantPrice < $ dMinPrice ) { $ dMinPrice = $ dMinVariantPrice ; } } return $ dMinPrice ; }
Returns min price recursively selected from full subvariant tree.

@return double
Returns min price recursively selected from full subvariant tree .