Commit e00e2e9a35b7c6b262b4912903492c4b85bae1d1
1 parent
6e5f27b8
common
Showing
1 changed file
with
2 additions
and
1 deletions
Show diff stats
src/app/frontend/views/partial/item_group.php
@@ -41,12 +41,13 @@ | @@ -41,12 +41,13 @@ | ||
41 | echo '<span>'.round($i['price']*(1-$discount['discount']/100), 1).'</span> грн'; | 41 | echo '<span>'.round($i['price']*(1-$discount['discount']/100), 1).'</span> грн'; |
42 | } | 42 | } |
43 | else { | 43 | else { |
44 | - echo '<span>'.round($i['price'], 1).'</span>12 грн'; | 44 | + echo '<span>'.round($i['price'], 1).'</span>'.$i['id'].' грн'; |
45 | } | 45 | } |
46 | } | 46 | } |
47 | else { | 47 | else { |
48 | echo '<span>'.round($i['price'], 1).'</span>3 грн'; | 48 | echo '<span>'.round($i['price'], 1).'</span>3 грн'; |
49 | } | 49 | } |
50 | + var_dump($discount['group_ids']); | ||
50 | ?> | 51 | ?> |
51 | </div> | 52 | </div> |
52 | <div class="one_item_buttons"> | 53 | <div class="one_item_buttons"> |