?> </th> <th class="goods-page-price"><?php echo Yii::t('app', 'Цена'); ?> </th> <th class="goods-page-total" colspan="2"><?php echo Yii::t('app', 'Итоговая сумма'); ?> </th> </tr> <?php foreach ($baskets as $i => $basket) { ?> <?php Basket::addPriceToSummary($basket->product, $basket->count); ?> <tr> <td class="goods-page-image"> <a href="<?php echo $this->createUrl('/store/product/view/id/'); ?> /<?php echo $basket->product->id; ?> " class="fancybox-button" rel="photos-lib"> <?php $imgUrl = $basket->product->getMainPicture() != NULL ? MSmarty::attachment_get_file_name($basket->product->getMainPicture()->secret_name, $basket->product->getMainPicture()->raw_name, $basket->product->getMainPicture()->file_ext, '_main', 'products') : Yii::app()->theme->baseUrl . '/public/store/default-no-image.png'; ?> <?php