Commit a9a717427539d3729d7506d89ecb703b1dbf954a

Authored by Administrator
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 1 <?php
2 2 /** @var \common\modules\product\models\Product $product */
3   -
  3 +use common\components\artboximage\ArtboxImageHelper;
4 4 ?>
5 5 <div class="item" data-id="<?= $product->product_id?>">
6 6 <!--<div class="new">АКЦИЯ</div>
... ... @@ -10,7 +10,7 @@
10 10 <?php if (empty($product->image)) :?>
11 11 <img src="/images/no_photo.png">
12 12 <?php else :?>
13   - <?= \common\components\artboximage\ArtboxImageHelper::getImage($product->image->imageUrl, 'product_list')?>
  13 + <?= ArtboxImageHelper::getImage($product->image->imageUrl, 'product_list')?>
14 14 <?php endif?>
15 15 </div>
16 16 <div class="title_item"><?= $product->name?></div></a>
... ...