Commit d2770fd64de10295a6e3772bb34eb7b695b0e1d9

Authored by Administrator
1 parent a0c1eda3

big commti

Showing 1 changed file with 4 additions and 1 deletions   Show diff stats
frontend/views/event/show.php
@@ -67,7 +67,10 @@ $this->title = $model->name; @@ -67,7 +67,10 @@ $this->title = $model->name;
67 <ul> 67 <ul>
68 <?php foreach($productProvider->models as $product) :?> 68 <?php foreach($productProvider->models as $product) :?>
69 <?php if(!empty($product->enabledVariants) ):?> 69 <?php if(!empty($product->enabledVariants) ):?>
70 - <?= $this->render('../catalog/_product_item', ['model' => $product])?> 70 + <?= $this->render('../catalog/_product_item', [
  71 + 'model' => $product,
  72 + 'category' => $product->category,
  73 + ])?>
71 <?php endif;?> 74 <?php endif;?>
72 <?php endforeach?> 75 <?php endforeach?>
73 </ul> 76 </ul>