Commit 0f1207766997c2d0aaa1cbefcff2a1e8913fdb32
1 parent
f0b521d0
-
Showing
1 changed file
with
1 additions
and
11 deletions
Show diff stats
frontend/views/catalog/_product_item.php
| ... | ... | @@ -15,17 +15,7 @@ use yii\helpers\Url; |
| 15 | 15 | <div class="img"> |
| 16 | 16 | <a class="btn-product-details" |
| 17 | 17 | |
| 18 | - <?php | |
| 19 | - foreach($model->events as $event){ | |
| 20 | - if($event->banner){ | |
| 21 | - echo \common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list',[ | |
| 22 | - 'class' => 'banner-in-list' | |
| 23 | - ]); | |
| 24 | - } | |
| 25 | - } | |
| 26 | - | |
| 27 | - ?> | |
| 28 | - | |
| 18 | + | |
| 29 | 19 | href="<?= Url::to([ |
| 30 | 20 | 'catalog/product', |
| 31 | 21 | 'product' => $model->alias | ... | ... |