Ejemplo n.º 1
0
echo $model->model_name;
?>
</h1>
            </div>
        </div>
        <div class="row">
            <div class="col-md-80 col-sm-120 col-xs-120 product_wr1">
                <div class="col-md-60 col-sm-60 col-xs-120 product_photo">
                    <div class="col-md-120 col-sm-120 col-xs-120 product_photo_main" id="item">
                        <?php 
echo '<img src="../../../upload/images/' . $model->photo . '" />';
?>
                    </div>
                    <div class="col-md-120 col-sm-120 col-xs-120 product_photo_slider">
                        <?php 
CommonHelper::getSliderThreeColumn($model);
?>
                    </div>
                </div>
                <div class="col-md-60 col-sm-60 col-xs-120 product_info">
                    <p class="text-uppercase product_info_presence"><?php 
echo $model->quantity > 0 ? '<span style="color:green;">В наличии</span>' : '<span style="color:red;">Под заказ</span>';
?>
</p>
                    <p class="product_info_vendor_code">Артикул: <?php 
echo $model->vendor_code;
?>
</p>
                    <div>
                        <span class="product_info_price_title">Цена: </span><span class="product_info_price"><?php 
echo $model->price;