Пример #1
0
</span>
                                    </section>
                                <?php 
}
?>
                                <?php 
if (!empty($product->country_id)) {
    //if (!empty($product->attribute('strana'))):
    ?>
                                    <section class="col-md-12 other">
                                        <?php 
    echo $attributes['strana']->title;
    ?>
:
                                        <span><?php 
    echo AttributeOption::getOptionName('strana', $product->country_id);
    ?>
</span>
                                    </section>
                                <?php 
}
?>
                            </div>
                            <div class="row item-buttons">
                                <?php 
if (preg_match('/response/', Yii::app()->request->pathInfo)) {
    ?>
                                    <?php 
    if (Yii::app()->getUser()->getProfile() && $product->user->company_id != Yii::app()->getUser()->getProfile()->company_id) {
        ?>
                                        <section class="col-md-6 delivery-button">