Commit 5e0d8659a2dff93633dc1d59589833acab35fe6d
Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
src/app/frontend/views/page/subtype.php
@@ -197,7 +197,7 @@ | @@ -197,7 +197,7 @@ | ||
197 | $minPrice = 0; | 197 | $minPrice = 0; |
198 | ?> | 198 | ?> |
199 | <?php foreach ($groups as $k => $i): ?> | 199 | <?php foreach ($groups as $k => $i): ?> |
200 | - <?php $this->partial('partial/item_group', ['k' => $k, 'i' => $i, 'limit' => 3, 'discount' => $this->discount]) ?> | 200 | + <?php $this->partial('partial/item_group', ['k' => $k, 'i' => $i, 'limit' => 3, 'discount' => $discount]) ?> |
201 | <?php | 201 | <?php |
202 | if ($i['price'] > $maxPrice) { | 202 | if ($i['price'] > $maxPrice) { |
203 | $maxPrice = $i['price']; | 203 | $maxPrice = $i['price']; |