Commit a9a717427539d3729d7506d89ecb703b1dbf954a
1 parent
62b8b288
26.05.16 change image download (git strange error, pay attention for this)
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
frontend/views/catalog/product_item.php
1 | <?php | 1 | <?php |
2 | /** @var \common\modules\product\models\Product $product */ | 2 | /** @var \common\modules\product\models\Product $product */ |
3 | - | 3 | +use common\components\artboximage\ArtboxImageHelper; |
4 | ?> | 4 | ?> |
5 | <div class="item" data-id="<?= $product->product_id?>"> | 5 | <div class="item" data-id="<?= $product->product_id?>"> |
6 | <!--<div class="new">АКЦИЯ</div> | 6 | <!--<div class="new">АКЦИЯ</div> |
@@ -10,7 +10,7 @@ | @@ -10,7 +10,7 @@ | ||
10 | <?php if (empty($product->image)) :?> | 10 | <?php if (empty($product->image)) :?> |
11 | <img src="/images/no_photo.png"> | 11 | <img src="/images/no_photo.png"> |
12 | <?php else :?> | 12 | <?php else :?> |
13 | - <?= \common\components\artboximage\ArtboxImageHelper::getImage($product->image->imageUrl, 'product_list')?> | 13 | + <?= ArtboxImageHelper::getImage($product->image->imageUrl, 'product_list')?> |
14 | <?php endif?> | 14 | <?php endif?> |
15 | </div> | 15 | </div> |
16 | <div class="title_item"><?= $product->name?></div></a> | 16 | <div class="title_item"><?= $product->name?></div></a> |