Commit c7e2d9b23842db0edc358fcf2c2dc67e2a0881a5
1 parent
c8cecfe1
30.06.16 basket image
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
common/widgets/views/basket_modal.php
... | ... | @@ -19,7 +19,7 @@ use yii\helpers\Html; |
19 | 19 | <?php if (empty($item['item']->product->image)) :?> |
20 | 20 | <img src="/images/no_photo.png"> |
21 | 21 | <?php else :?> |
22 | - <img src="/images/<?= $item['item']->product->image->image?>" alt="<?= $item['item']->product->image->alt ? $item['item']->product->image->alt : $item['item']->product->name?>"> | |
22 | + <img src="<?= $item['item']->product->image->imageUrl?>" alt="<?= $item['item']->product->image->alt ? $item['item']->product->image->alt : $item['item']->product->name?>"> | |
23 | 23 | <?php endif?> |
24 | 24 | </div> |
25 | 25 | <div class="name_and_code"> | ... | ... |