Commit 6b067f4849a00a53f045043b7b68e1312d03af49

Authored by Administrator
1 parent c73b1869

add new promocode logic

src/app/frontend/views/page/index.php
@@ -124,7 +124,7 @@ @@ -124,7 +124,7 @@
124 <?php endif; ?> 124 <?php endif; ?>
125 125
126 <?php if( !empty( $prof_stock_items ) ): ?> 126 <?php if( !empty( $prof_stock_items ) ): ?>
127 - <div class="stock_items clearfix" data-class="prof_stock_items"> 127 + <div class="prof_stock_items clearfix" data-class="prof_stock_items">
128 <div class="title clearfix"> 128 <div class="title clearfix">
129 <div class="float"><span class="items_title"><?= $t->_("prof_stock") ?></span></div> 129 <div class="float"><span class="items_title"><?= $t->_("prof_stock") ?></span></div>
130 <div class="float"> 130 <div class="float">
src/app/frontend/views/partial/item_group.php
1 <div class="one_item float <?= ( ($k+1) % $limit == 0 ? 'last' : '' ) ?>"> 1 <div class="one_item float <?= ( ($k+1) % $limit == 0 ? 'last' : '' ) ?>">
  2 + <?php /*
2 <div class="new_top"> 3 <div class="new_top">
3 <?= ( isset( $i['is_new'] ) && !empty( $i['is_new'] ) 4 <?= ( isset( $i['is_new'] ) && !empty( $i['is_new'] )
4 ? 5 ?
@@ -14,7 +15,7 @@ @@ -14,7 +15,7 @@
14 </div>' 15 </div>'
15 : 16 :
16 '') ?> 17 '') ?>
17 - </div> 18 + </div>*/?>
18 <div class="one_item_image"> 19 <div class="one_item_image">
19 <a href="<?= $this->seoUrl->setUrl($i['alias']) ?>" title="<?= $i['title'] ?>" style="position:relative;"> 20 <a href="<?= $this->seoUrl->setUrl($i['alias']) ?>" title="<?= $i['title'] ?>" style="position:relative;">
20 <?php if($i['count_available'] == 0){ 21 <?php if($i['count_available'] == 0){