Commit f37db7642297cf3f49eb1d6d5880620e99bad525

Authored by Alex Savenko
1 parent 52760f03

test

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/views/partial/item_group.php
... ... @@ -48,7 +48,7 @@
48 48 }
49 49 //discount
50 50 if (!empty($discount)) {
51   - if ($discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['item_id'], $discount['group_ids'])) {
  51 + if ($discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) {
52 52 echo '<span style="text-decoration: line-through;"><span>'.$i['price'].'</span></span> грн<br/>';
53 53 echo '<span>'.round($i['price']*(1-$discount['discount']/100), 1).'</span> грн';
54 54 }
... ...