Commit 5bd233550681ff5959d26a9ec4960466c3c2f9d4

Authored by Alex Savenko
2 parents 328f99f8 3b3559e1

Merge branch 'discount' of gitlab.artweb.com.ua:Alex/semena

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  
... ...