diff --git a/common/modules/product/widgets/views/product_smart_similar.php b/common/modules/product/widgets/views/product_smart_similar.php index fdabb60..fe884ba 100755 --- a/common/modules/product/widgets/views/product_smart_similar.php +++ b/common/modules/product/widgets/views/product_smart_similar.php @@ -10,20 +10,20 @@
+
- -
'; -// } else if($class == 'new') { -// print '
'; -// } else if($class == 'promo'){ -// print '
Акция
'; -// } -// ?> - - - + events as $event){ + if($event->banner){ + echo \common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list',[ + 'class' => 'banner-in-list' + ]); + } + } + + ?> + +