Commit f28d611c3f5859020b0bf11fcbfc7630b27e5e1a
1 parent
5edccb61
-Banner added to similar
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
common/modules/product/widgets/views/product_smart_similar.php
... | ... | @@ -10,6 +10,7 @@ |
10 | 10 | |
11 | 11 | <div class="catalog_item"> |
12 | 12 | <div class="wrapper"> |
13 | + <?php if (!empty($product->events)) { ?> | |
13 | 14 | <div class="banners_sale"> |
14 | 15 | |
15 | 16 | <?php |
... | ... | @@ -22,8 +23,9 @@ |
22 | 23 | } |
23 | 24 | |
24 | 25 | ?> |
25 | - | |
26 | + | |
26 | 27 | </div> |
28 | + <?php } ?> | |
27 | 29 | <div class="item_container"> |
28 | 30 | <div class="img"> |
29 | 31 | <a href="<?=Url::to([ | ... | ... |