public function renderPrice()
    {
        if (empty($this->product)) {
            return false;
        }

        $items = '';
        if (!empty($this->priceContainerOptions)) {
            $items = Html::beginTag('div', $this->priceContainerOptions);
        }

        if (!empty($this->product->defaultCombination)) {
            $items .= $this->renderCombinationPriceItem();
        } else {
            $items .= $this->renderDefaultPriceItem();
        }

        if (!empty($this->priceContainerOptions)) {
            $items .= Html::endTag('div');
        }

        return $items;
    }
public function renderPrice()
    {
        if (empty($this->product)) {
            return false;
        }

        $items = '';
        if (!empty($this->priceContainerOptions)) {
            $items = Html::beginTag('div', $this->priceContainerOptions);
        }

        if (!empty($this->product->defaultCombination)) {
            $items .= $this->renderCombinationPriceItem();
        } else {
            $items .= $this->renderDefaultPriceItem();
        }

        if (!empty($this->priceContainerOptions)) {
            $items .= Html::endTag('div');
        }

        return $items;
    }
public function renderPrice ( ) { if ( empty ( $ this -> product ) ) { return false ; } $ items = '' ; if ( ! empty ( $ this -> priceContainerOptions ) ) { $ items = Html :: beginTag ( 'div' , $ this -> priceContainerOptions ) ; } if ( ! empty ( $ this -> product -> defaultCombination ) ) { $ items .= $ this -> renderCombinationPriceItem ( ) ; } else { $ items .= $ this -> renderDefaultPriceItem ( ) ; } if ( ! empty ( $ this -> priceContainerOptions ) ) { $ items .= Html :: endTag ( 'div' ) ; } return $ items ; }
Renders 'prices' block.

@return string
Renders prices block .