Commit 3b3559e1b4fdeef1f6cebe2c46a0211064581286

Authored by Alex Savenko
1 parent 02c45234

price display

Showing 1 changed file with 3 additions and 1 deletions   Show diff stats
src/app/frontend/views/page/changeWithSize.php
... ... @@ -6,9 +6,11 @@ if(isset($special_user)) {
6 6 } else {
7 7 $data['price'] = $item['price2'];
8 8 }
  9 +$data['price'] = number_format($data['price']*(1-$discount['discount']/100), 2, '.', ' ');
  10 +
9 11 $data['html'] = '<div class="clearfix buy_compare">
10 12 <div class="one_item_price float">'. $t->_("price") .
11   - ' <span>' . number_format($data['price']*(1-$discount['discount']/100), 2, '.', ' ') . '</span> грн';
  13 + ' <span>' . $data['price'] . '</span> грн';
12 14  
13 15 $data['html'] .= '</ul></div><div data-group_id="' . $item['group_id'] .'" class="one_item_buttons float">';
14 16  
... ...