Subversion Repositories SmartDukaan

Rev

Rev 17693 | Rev 17760 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 17693 Rev 17696
Line 155... Line 155...
155
                }
155
                }
156
            ?>
156
            ?>
157
          </div>
157
          </div>
158
          <?php endif;?>
158
          <?php endif;?>
159
 
159
 
160
          <?php if((isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0)) || (isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0))) :?>
160
          <?php if((isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0))) :?>
161
          <div class="text-small" );?>
161
          <div class="text-small">
162
            
162
            
163
            <?php if(isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0)):?>
163
            <?php if(isset($deal['showMrp']) && ($deal['showMrp']==1) && isset($deal['mrp']) && ($deal['mrp']>0)):?>
164
              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
164
              <?php if(isset($deal['quantity']) && $deal['quantity']>1):?>
165
                MRP of Rs. <?php echo round(($deal['mrp']/$deal['quantity']), 2);?>/- per unit.(MRP Rs. <?php echo $deal['mrp']?>)
165
                MRP <span class="cashbackrupee"></span> <?php echo round(($deal['mrp']/$deal['quantity']), 2);?>/- per unit.(Total <span class="cashbackrupee"></span> <?php echo $deal['mrp']?>)
166
              <?php else:?> 
166
              <?php else:?> 
167
                MRP of <span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['mrp'];?></strong></span>
167
                MRP <span class="cashbackrupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['mrp'];?></strong></span>
168
              <?php endif;?>
168
              <?php endif;?>
169
            <?php endif;?>
169
            <?php endif;?>
170
 
170
 
171
            <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
-
 
172
              <span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['ppq'];?></strong></span> /- per unit.
-
 
173
            <?php endif;?>
-
 
174
 
-
 
175
          </div>
171
          </div>
176
           <?php endif;?>
172
           <?php endif;?>
177
 
173
 
178
 
174
 
-
 
175
          <?php if(isset($deal['ppq']) && !empty($deal['ppq']) &&($deal['ppq']>0)):?>
-
 
176
           <div class="text-small" );?>
-
 
177
              <span class="rupee"></span><span style="font-size:14px; color:#ff0000"><strong><?php echo $deal['ppq'];?></strong></span> /- per unit.
179
          
178
            </div>
-
 
179
          <?php endif;?>
180
 
180
 
181
          <div <?php if(!empty($deal['coupon'])):?>style="margin:0 !important"<?php endif;?> class="product_prices viewproduct" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-url="<?php echo $deal['marketPlaceUrl'];?>" data-price="<?php echo intval($deal['available_price']);?>" <?php if($key > 0):?>style='margin:0;'<?php endif;?>>
181
          <div <?php if(!empty($deal['coupon'])):?>style="margin:0 !important"<?php endif;?> class="product_prices viewproduct" data-id="<?php echo $deal['_id'];?>" data-source="<?php echo $deal['source_id'];?>" data-url="<?php echo $deal['marketPlaceUrl'];?>" data-price="<?php echo intval($deal['available_price']);?>" <?php if($key > 0):?>style='margin:0;'<?php endif;?>>
182
            <div>
182
            <div>
183
              <?php if($key == 0 && isset($deal['showDp']) && $deal['showDp']==1 && !empty($deal['dp'])):?>
183
              <?php if($key == 0 && isset($deal['showDp']) && $deal['showDp']==1 && !empty($deal['dp'])):?>
184
              <div class="dp">DP <span class="cashbackrupee"></span> <?php echo $deal['dp'];?></div>
184
              <div class="dp">DP <span class="cashbackrupee"></span> <?php echo $deal['dp'];?></div>
Line 298... Line 298...
298
  <?php if(!$noscrolling):?>
298
  <?php if(!$noscrolling):?>
299
    <?php if($this->params->controller=='store_products'):?>
299
    <?php if($this->params->controller=='store_products'):?>
300
      <p class="text-center"><a class="btn btn-primary infitescroller" href="/store_products/getdeals/?page=<?php echo $page+1;?>&sort=<?php echo $sort;?>&direction=<?php echo $direction;?><?php echo $filterstr;?>">Load More</a></p>
300
      <p class="text-center"><a class="btn btn-primary infitescroller" href="/store_products/getdeals/?page=<?php echo $page+1;?>&sort=<?php echo $sort;?>&direction=<?php echo $direction;?><?php echo $filterstr;?>">Load More</a></p>
301
    <?php else:?>
301
    <?php else:?>
302
      <p class="text-center"><a class="btn btn-primary infitescroller" href="/categories/getdeals/<?php echo $id;?>/?page=<?php echo ($page+1);?>&sort=<?php echo $sort;?>&direction=<?php echo $direction;?><?php echo $filterstr;?>">Load More</a></p>
302
      <p class="text-center"><a class="btn btn-primary infitescroller" href="/categories/getdeals/<?php echo $id;?>/?page=<?php echo ($page+1);?>&sort=<?php echo $sort;?>&direction=<?php echo $direction;?><?php echo $filterstr;?>">Load More</a></p>
-
 
303
      
303
    <?php endif;?>
304
    <?php endif;?>
304
  <?php endif;?>
305
  <?php endif;?>
305
  <?php else:?>
306
  <?php else:?>
306
    <?php if($page==1):?>
307
    <?php if($page==1):?>
307
      <h4>The content you requested couldn't be found</h4>
308
      <h4>The content you requested couldn't be found</h4>