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 | 27 | </div> |
28 | 28 | <div class="one_item_title"> |
29 | 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 | 31 | </a> |
32 | 32 | </div> |
33 | 33 | <div class="align_bottom"> |
... | ... | @@ -35,9 +35,9 @@ |
35 | 35 | <?= $t->_("price_from") ?> |
36 | 36 | <?php |
37 | 37 | //vip |
38 | - //if($users_group_id == '37') { | |
38 | + if($users_group_id == '37') { | |
39 | 39 | $i['price'] = round($i['price']*0.95, 1); |
40 | - //} | |
40 | + } | |
41 | 41 | // скидка |
42 | 42 | if (!empty($discount)) { |
43 | 43 | if ($discount['discount'] > 0 && $discount['discount'] <= 100 && in_array($i['id'], $discount['group_ids'])) { | ... | ... |