Commit 450bdbd4f8a62352136dede3bcde981ea8498186

Authored by Alex Savenko
1 parent 1bcd1c72

products pick

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/views/partial/item_group.php
... ... @@ -33,7 +33,7 @@
33 33 <div class="align_bottom">
34 34 <div class="one_item_price">
35 35 <?= $t->_("price_from") ?>
36   - <?php if (isset($discount) && $discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['group_id'], $discount['group_ids'])) {
  36 + <?php if (isset($discount) && $discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) {
37 37 echo '<span style="text-decoration: line-through;"><span>'.$i['price'].'</span></span> грн<br/>';
38 38 echo '<span>'.round($i['price']*(1-$discount/100), 1).'</span> грн';
39 39 }
... ...