Commit 24ebe36c1e29511ff8ee4ef09f4d3d7a9c1f38be

Authored by Administrator
1 parent d50572a4

проапдейтил роли

Showing 1 changed file with 3 additions and 3 deletions   Show diff stats
frontend/views/catalog/products.php
@@ -73,7 +73,7 @@ $this->registerJsFile (Yii::getAlias('@web/js/ion.rangeSlider.js')); @@ -73,7 +73,7 @@ $this->registerJsFile (Yii::getAlias('@web/js/ion.rangeSlider.js'));
73 */?> 73 */?>
74 <div class="filters"> 74 <div class="filters">
75 <ul> 75 <ul>
76 - <li> 76 + <li class="new">
77 <?php 77 <?php
78 $checked = !empty($filter['special']) && in_array('new', $filter['special']); 78 $checked = !empty($filter['special']) && in_array('new', $filter['special']);
79 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'new', $checked)]); 79 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'new', $checked)]);
@@ -81,7 +81,7 @@ $this-&gt;registerJsFile (Yii::getAlias(&#39;@web/js/ion.rangeSlider.js&#39;)); @@ -81,7 +81,7 @@ $this-&gt;registerJsFile (Yii::getAlias(&#39;@web/js/ion.rangeSlider.js&#39;));
81 <input type="checkbox" class="special-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" /> 81 <input type="checkbox" class="special-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" />
82 <a href="<?= $option_url?>"><?= Yii::t('product', 'New products')?></a> 82 <a href="<?= $option_url?>"><?= Yii::t('product', 'New products')?></a>
83 </li> 83 </li>
84 - <li> 84 + <li class="top">
85 <?php 85 <?php
86 $checked = !empty($filter['special']) && in_array('top', $filter['special']); 86 $checked = !empty($filter['special']) && in_array('top', $filter['special']);
87 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'top', $checked)]); 87 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'top', $checked)]);
@@ -89,7 +89,7 @@ $this-&gt;registerJsFile (Yii::getAlias(&#39;@web/js/ion.rangeSlider.js&#39;)); @@ -89,7 +89,7 @@ $this-&gt;registerJsFile (Yii::getAlias(&#39;@web/js/ion.rangeSlider.js&#39;));
89 <input type="checkbox" class="special-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" /> 89 <input type="checkbox" class="special-option" <?= $checked ? ' checked' : ''?> onchange="document.location='<?= $option_url?>'" />
90 <a href="<?= $option_url?>"><?= Yii::t('product', 'Top products')?></a> 90 <a href="<?= $option_url?>"><?= Yii::t('product', 'Top products')?></a>
91 </li> 91 </li>
92 - <li> 92 + <li class="promo">
93 <?php 93 <?php
94 $checked = !empty($filter['special']) && in_array('promo', $filter['special']); 94 $checked = !empty($filter['special']) && in_array('promo', $filter['special']);
95 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'promo', $checked)]); 95 $option_url = Url::to(['catalog/category', 'category' => $category, 'filter' => ProductHelper::getFilterForOption($filter, 'special', 'promo', $checked)]);