Commit 4ee7eb22eeb69066e3898c3fd68fbf0b69da19cd
1 parent
3e2c301b
vip prices tests
Showing
1 changed file
with
3 additions
and
3 deletions
Show diff stats
src/app/frontend/views/partial/item_group.php
@@ -27,7 +27,7 @@ | @@ -27,7 +27,7 @@ | ||
27 | </div> | 27 | </div> |
28 | <div class="one_item_title"> | 28 | <div class="one_item_title"> |
29 | <a href="<?= $this->seoUrl->setUrl($i['alias']) ?>" title="<?= $i['title'] ?>"> | 29 | <a href="<?= $this->seoUrl->setUrl($i['alias']) ?>" title="<?= $i['title'] ?>"> |
30 | - <h3><?= \plugins::getShortText($i['title']) ?></h3> | 30 | + <h3><?= \plugins::getShortText($i['title']) ?> / <?= $users_group_id?></h3> |
31 | </a> | 31 | </a> |
32 | </div> | 32 | </div> |
33 | <div class="align_bottom"> | 33 | <div class="align_bottom"> |
@@ -35,9 +35,9 @@ | @@ -35,9 +35,9 @@ | ||
35 | <?= $t->_("price_from") ?> | 35 | <?= $t->_("price_from") ?> |
36 | <?php | 36 | <?php |
37 | //vip | 37 | //vip |
38 | - //if($users_group_id == '37') { | 38 | + if($users_group_id == '37') { |
39 | $i['price'] = round($i['price']*0.95, 1); | 39 | $i['price'] = round($i['price']*0.95, 1); |
40 | - //} | 40 | + } |
41 | // скидка | 41 | // скидка |
42 | if (!empty($discount)) { | 42 | if (!empty($discount)) { |
43 | if ($discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { | 43 | if ($discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { |