Rev 13599 | Rev 13682 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
<?php if(!empty($deals)):?><?php foreach($deals AS $categoryId => $catdeals):?><div class="scrollable"><div class="subheader row"><div class="col-xs-6"><h4><?php echo $categories[$categoryId];?></h4></div><div class="col-xs-6 text-right"><a href="/category/<?php echo $categoryId;?>">See All ></a></div></div><ul class="list-unstyled list-inline swipable row"><?php foreach ($catdeals as $key => $deal):?><li class="list"><div class="product_image img img-responsive"><img src="<?php echo $base_url;?>app/webroot/timthumb.php?h=120&src=<?php echo $deal[0]['StoreProduct']['thumbnail'];?>" class="viewproduct" data-id="<?php echo $deal[0]['StoreProduct']['id'];?>"><ul class="product_actions list-unstyled"><li data-id="<?php echo $deal[0]['StoreProduct']['id'];?>" class="likedeal <?php if(isset($likedDeals[$deal[0]['StoreProduct']['id']])):?>active<?php endif;?>"></li><li data-id="<?php echo $deal[0]['StoreProduct']['id'];?>" class="dislikedeal <?php if(isset($disLikedDeals[$deal[0]['StoreProduct']['id']])):?>active<?php endif;?>"></li></ul></div><p class="viewproduct producttitle" data-id="<?php echo $deal[0]['StoreProduct']['id'];?>" ><?php echo $this->Text->truncate($deal[0]['StoreProduct']['title'],22,array('ellipsis' => '...','exact' => false));?></p><?php if(isset($deal['StoreProduct']['tagline'])):?><p class="product_short_description"><?php echo $deal[0]['StoreProduct']['tagline'];?></p><?php endif;?><p class="product_prices"><span class="rupee"></span><span class="product_price"><?php echo $deal[0]['StoreProduct']['available_price'];?></span><span class="product_cashback"><label>Cashback</label><span class="rupee"></span> <?php if(isset($deal['StoreProduct']['cashback']) && !empty($deal[0]['StoreProduct']['cashback'])):?><?php echo $deal[0]['StoreProduct']['cashback'];?><?php else:?>0<?php endif;?></span></span></p></li><?php endforeach;?></ul></div><?php endforeach;?><?php endif;?><script type="text/javascript" src="/js/jquery.jscroll.min.js"></script><script type="text/javascript" src="/js/profittill.js"></script>