Commit a2c6878af436214fc64549d8cffdef9183cf8753

Authored by Alex Savenko
2 parents 1ba216b9 0f3c0dcd

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

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/app/frontend/views/page/changeWithSize.php
... ... @@ -6,7 +6,7 @@ if(isset($special_user)) {
6 6 } else {
7 7 $data['price'] = $item['price2'];
8 8 }
9   -$data['price'] = $data['price']*(1-$discount['discount']/100);
  9 +$data['price'] = $data['price']*(1-$this->discount/100);
10 10 $data['price'] = number_format($data['price'], 2, '.', ' ');
11 11  
12 12 $data['html'] = '<div class="clearfix buy_compare">
... ...