Commit 5ee82f408aeccfc061598c1bce1382a4a18f5079
1 parent
de87912f
-collection
Showing
1 changed file
with
30 additions
and
30 deletions
Show diff stats
common/modules/product/widgets/views/products_block_similar.php
| @@ -12,36 +12,36 @@ | @@ -12,36 +12,36 @@ | ||
| 12 | 12 | ||
| 13 | <?php if (!empty($products)) { ?> | 13 | <?php if (!empty($products)) { ?> |
| 14 | 14 | ||
| 15 | - <div class="collection" style="padding: 0;"> | ||
| 16 | - | ||
| 17 | - <h2 id="collection"> | ||
| 18 | - Похожие товары | ||
| 19 | - </h2> | ||
| 20 | - | ||
| 21 | - <div class="catalog_product_list view_table new_collection"> | ||
| 22 | - <?php foreach ($products as $product) { | ||
| 23 | - if ($product->is_top) { | ||
| 24 | - $class = 'top'; | ||
| 25 | - } elseif ($product->is_new) { | ||
| 26 | - $class = 'new'; | ||
| 27 | - } elseif ($product->akciya) { | ||
| 28 | - $class = 'promo'; | ||
| 29 | - } else { | ||
| 30 | - $class = ''; | ||
| 31 | - } | ||
| 32 | - echo $this->render( | ||
| 33 | - 'product_smart_similar', | ||
| 34 | - [ | ||
| 35 | - 'product' => $product, | ||
| 36 | - 'class' => $class, | ||
| 37 | - ] | ||
| 38 | - ); | ||
| 39 | - } ?> | ||
| 40 | - </div> | ||
| 41 | - | ||
| 42 | - <div class="clearfix"></div> | ||
| 43 | - | ||
| 44 | - </div> | 15 | +<!-- <div class="collection" style="padding: 0;">--> |
| 16 | +<!----> | ||
| 17 | +<!-- <h2 id="collection">--> | ||
| 18 | +<!-- Похожие товары--> | ||
| 19 | +<!-- </h2>--> | ||
| 20 | +<!----> | ||
| 21 | +<!-- <div class="catalog_product_list view_table new_collection">--> | ||
| 22 | +<!-- --><?php //foreach ($products as $product) { | ||
| 23 | +// if ($product->is_top) { | ||
| 24 | +// $class = 'top'; | ||
| 25 | +// } elseif ($product->is_new) { | ||
| 26 | +// $class = 'new'; | ||
| 27 | +// } elseif ($product->akciya) { | ||
| 28 | +// $class = 'promo'; | ||
| 29 | +// } else { | ||
| 30 | +// $class = ''; | ||
| 31 | +// } | ||
| 32 | +// echo $this->render( | ||
| 33 | +// 'product_smart_similar', | ||
| 34 | +// [ | ||
| 35 | +// 'product' => $product, | ||
| 36 | +// 'class' => $class, | ||
| 37 | +// ] | ||
| 38 | +// ); | ||
| 39 | +// } ?> | ||
| 40 | +<!-- </div>--> | ||
| 41 | +<!----> | ||
| 42 | +<!-- <div class="clearfix"></div>--> | ||
| 43 | +<!----> | ||
| 44 | +<!-- </div>--> | ||
| 45 | 45 | ||
| 46 | 46 | ||
| 47 | <?php } ?> | 47 | <?php } ?> |
| 48 | \ No newline at end of file | 48 | \ No newline at end of file |