Commit fde39c35e8ef32628ab7f3840dd5159a8487414a

Authored by Karnovsky A
1 parent ad9b9ca9

Karnovsky-29042016-1220

Showing 1 changed file with 2 additions and 0 deletions   Show diff stats
frontend/views/catalog/product_item.php
... ... @@ -14,7 +14,9 @@
14 14 <?php endif?>
15 15 </div>
16 16 <div class="title_item"><?= $product->name?></div></a>
  17 + <?php if (!empty($product->brand)) :?>
17 18 <div class="brand">Бренд: <span><?= $product->brand->name?></span></div>
  19 + <?php endif?>
18 20 <div class="type"><?= implode(', ', $product->categoriesNames)?></div>
19 21 <?php if($product->variant) :?>
20 22 <div class="price"><?= $product->variant->price?> <span>грн.</span></div>
... ...