?> <div class="item"> <p class="title">Поделиться:</p> <p><?php $this->widget('ygin.widgets.likeAndShare.LikeAndShareWidget', array("title" => $product->name)); ?> </p> </div> </div> </div> <div class="description"> <div class="price-bar"> <div class="price"> <span>Платный</span> <br><?php echo Product::price2str($price); ?> руб. </div> <div class="buttons"> <button class="btn btn-success buy" data-price="<?php echo $price; ?> " data-id="<?php echo $product->id_product; ?> " data-name="<?php echo CHtml::encode($product->name); ?> "><span class="glyphicon glyphicon-shopping-cart"></span> Купить</button> </div>
<?php if ($product->getImagePreview('_offer') != null) { ?> <?php echo CHtml::link(CHtml::image($product->getImagePreview('_offer')->getUrlPath(), $product->name), $product->getUrl(), array('title' => $product->name, 'rel' => 'product')); ?> <?php } ?> </td> <td class="name"><?php echo $product->name; ?> </td> <td class="cena"><?php echo Product::price2str($product->getPriceWithMarkup()); ?> </td> <td class="kolvo"> <?php echo $form->textField($product, '[' . $i . ']countInCart', array('maxlength' => '4', 'class' => 'input-mini')); ?> <?php echo $form->error($product, '[' . $i . ']countInCart'); ?> </td> <td class="price"> <div class="val" title="<?php echo $sum; ?>