Commit 0f3c0dcd4f4ba5568e423f0f9f2c4d7f4468ae92

Authored by Alex Savenko
1 parent 9a8fc30a

price display

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,7 +6,7 @@ if(isset($special_user)) {
6 } else { 6 } else {
7 $data['price'] = $item['price2']; 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 $data['price'] = number_format($data['price'], 2, '.', ' '); 10 $data['price'] = number_format($data['price'], 2, '.', ' ');
11 11
12 $data['html'] = '<div class="clearfix buy_compare"> 12 $data['html'] = '<div class="clearfix buy_compare">