Commit 25129f9fc6545be01b31d67dead40ad125d7ab51

Authored by Виталий
1 parent e10d1d48

-collection

common/modules/product/widgets/views/product_smart_similar.php
... ... @@ -10,26 +10,7 @@
10 10  
11 11 <div class="catalog_item">
12 12 <div class="wrapper">
13   - <div class="events">
14   - <?php $top = 90; foreach($product->events as $event):?>
15   - <?php if(!empty($event->banner) && $event->isActive()):
16   - if(!empty($event->percent)){
17   - $url = Url::to(['event/sale','percent'=>$event->percent]);
18   - } else if(!empty($event->alias)){
19   - $url = Url::to(['event/show','alias'=>$event->alias]);
20   - } else {
21   - continue;
22   - }
23   -
24   - ?>
25   - <?= Html::a(\common\components\artboximage\ArtboxImageHelper::getImage($event->getImageUrl('banner'), 'banner_list'),$url,[
26   - 'style' =>"top:-{$top}px;"
27   - ]);
28   -
29   - $top = $top - 30; ?>
30   - <?php endif; ?>
31   - <?php endforeach; ?>
32   - </div>
  13 +
33 14 <!-- <div class="status_block-wr --><?//=$class?><!--">-->
34 15 <!-- --><?php
35 16 // if($class == 'top'){
... ...