| 13672 |
anikendra |
1 |
<div class="container">
|
| 13731 |
anikendra |
2 |
<?php echo $this->element('unlikemodal');?>
|
| 13672 |
anikendra |
3 |
<?php if(!empty($myfavorites)):?>
|
| 13674 |
anikendra |
4 |
<?php foreach ($myfavorites as $key => $product):?>
|
| 13962 |
anikendra |
5 |
<?php //debug($product);?>
|
| 13732 |
anikendra |
6 |
<div class="row card" id="fav-<?php echo $product['UserAction']['id'];?>">
|
| 13962 |
anikendra |
7 |
<div class="col-xs-4 productthumb viewproduct" data-id="<?php echo $product['StoreProduct']['_id'];?>">
|
| 13731 |
anikendra |
8 |
<?php if(!empty($product['StoreProduct']['thumbnail'])):?>
|
| 13962 |
anikendra |
9 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?h=100&src=<?php echo $product['StoreProduct']['thumbnail'];?>" alt="<?php echo $product['StoreProduct']['source_product_name'];?>" class="productthumb"/>
|
| 13731 |
anikendra |
10 |
<?php else:?>
|
|
|
11 |
<img src="<?php echo $base_url;?>timthumb.php?src=<?php echo $base_url;?>img/noimage.png&h=80" alt="<?php echo $product['StoreProduct']['title'];?>"/>
|
|
|
12 |
<?php endif;?>
|
|
|
13 |
</div>
|
| 13962 |
anikendra |
14 |
<div class="col-xs-6 productdetails viewproduct" data-id="<?php echo $product['StoreProduct']['_id'];?>">
|
|
|
15 |
<h5 class="producttitle"><?php echo $product['StoreProduct']['source_product_name'];?></h5>
|
| 14111 |
anikendra |
16 |
<div class="product_short_description <?php if(!isset($product['StoreProduct']['tagline'])):?>hidden<?php endif;?>"><?php echo $product['StoreProduct']['tagline'];?></div>
|
| 13731 |
anikendra |
17 |
<div class="product_prices row">
|
| 14111 |
anikendra |
18 |
<div><span class="rupee"></span><span class="product_price"><?php echo $product['StoreProduct']['available_price'];?></span>
|
|
|
19 |
<?php if(isset($product['StoreProduct']['cash_back_type']) && !empty($product['StoreProduct']['cash_back_type']) && $product['StoreProduct']['cash_back_type']!=0):?> +
|
|
|
20 |
<?php if($product['StoreProduct']['cash_back_type'] == 2):?>
|
|
|
21 |
<span class="cashbackrupee"></span> <span class="cashback"><?php echo $product['StoreProduct']['cash_back'];?></span>
|
|
|
22 |
</div>
|
|
|
23 |
<?php else:?>
|
|
|
24 |
<?php echo $product['StoreProduct']['cash_back'];?> %
|
|
|
25 |
<?php endif;?> Cashback
|
|
|
26 |
<?php endif;?>
|
|
|
27 |
</div>
|
| 13731 |
anikendra |
28 |
</div>
|
| 14111 |
anikendra |
29 |
<div class="dealoffer <?php if(!isset($product['StoreProduct']['offer']) || empty($product['StoreProduct']['offer'])):?>hidden<?php endif;?> row">
|
|
|
30 |
<div class="col-xs-3 offerlabel">
|
|
|
31 |
OFFER
|
|
|
32 |
</div>
|
|
|
33 |
<div class="col-xs-9 offertext">
|
|
|
34 |
<?php echo $product['StoreProduct']['offer'];?>
|
|
|
35 |
</div>
|
|
|
36 |
</div>
|
| 13672 |
anikendra |
37 |
</div>
|
| 13750 |
anikendra |
38 |
<div class="col-xs-2 text-right">
|
| 13731 |
anikendra |
39 |
<div class="deletefav" data-id="<?php echo $product['UserAction']['id'];?>"></div>
|
|
|
40 |
</div>
|
|
|
41 |
</div>
|
| 13672 |
anikendra |
42 |
<?php endforeach;?>
|
| 13731 |
anikendra |
43 |
<div class="row text-center clearfavs">
|
|
|
44 |
<div class="deleteallfavs"></div>
|
|
|
45 |
<div class="clearlist">Clear List</div>
|
|
|
46 |
</div>
|
| 13732 |
anikendra |
47 |
<?php else:?>
|
| 13737 |
anikendra |
48 |
<h3>Your Favourite list is empty</h3>
|
| 13672 |
anikendra |
49 |
<?php endif;?>
|
| 13698 |
anikendra |
50 |
</div>
|
| 13731 |
anikendra |
51 |
<script type="text/javascript" src="/js/jquery.jscroll.min.js"></script>
|
|
|
52 |
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
|
|
53 |
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
|