Commit d2770fd64de10295a6e3772bb34eb7b695b0e1d9
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 | 67 | <ul> |
| 68 | 68 | <?php foreach($productProvider->models as $product) :?> |
| 69 | 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 | 74 | <?php endif;?> |
| 72 | 75 | <?php endforeach?> |
| 73 | 76 | </ul> | ... | ... |