private function renderCombinationPriceItem()
    {
        $item = Html::tag('strong',
            Yii::$app->formatter->asCurrency($this->product->defaultCombination->price->discountPrice),
            $this->discountPriceOptions
        );

        if (empty($this->product->defaultCombination->price->discount_type_id) ||
            empty($this->product->defaultCombination->price->discount)
        ) {
            Html::addCssStyle($this->priceOptions, ['display' => 'none']);
        }

        $item .= Html::tag('strike',
            Yii::$app->formatter->asCurrency($this->product->defaultCombination->price->oldPrice),
            $this->priceOptions
        );

        return $item;
    }
private function renderCombinationPriceItem()
    {
        $item = Html::tag('strong',
            Yii::$app->formatter->asCurrency($this->product->defaultCombination->price->discountPrice),
            $this->discountPriceOptions
        );

        if (empty($this->product->defaultCombination->price->discount_type_id) ||
            empty($this->product->defaultCombination->price->discount)
        ) {
            Html::addCssStyle($this->priceOptions, ['display' => 'none']);
        }

        $item .= Html::tag('strike',
            Yii::$app->formatter->asCurrency($this->product->defaultCombination->price->oldPrice),
            $this->priceOptions
        );

        return $item;
    }
private function renderCombinationPriceItem ( ) { $ item = Html :: tag ( 'strong' , Yii :: $ app -> formatter -> asCurrency ( $ this -> product -> defaultCombination -> price -> discountPrice ) , $ this -> discountPriceOptions ) ; if ( empty ( $ this -> product -> defaultCombination -> price -> discount_type_id ) || empty ( $ this -> product -> defaultCombination -> price -> discount ) ) { Html :: addCssStyle ( $ this -> priceOptions , [ 'display' => 'none' ] ) ; } $ item .= Html :: tag ( 'strike' , Yii :: $ app -> formatter -> asCurrency ( $ this -> product -> defaultCombination -> price -> oldPrice ) , $ this -> priceOptions ) ; return $ item ; }
Renders 'price item' using product price from default combination.

@return string
Renders price item using product price from default combination .