public function getDefaultPrice()
    {
        $prices = $this->getPrices();
        foreach ($prices as $price) {
            if ($price->from == 1) {
                return $price->value;
            }
        }
    }
public function getDefaultPrice()
    {
        $prices = $this->getPrices();
        foreach ($prices as $price) {
            if ($price->from == 1) {
                return $price->value;
            }
        }
    }
public function getDefaultPrice ( ) { $ prices = $ this -> getPrices ( ) ; foreach ( $ prices as $ price ) { if ( $ price -> from == 1 ) { return $ price -> value ; } } }
Returns first price range's price. The one from price list.

@return float
Returns first price range s price . The one from price list .