| 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>
|
| 13731 |
anikendra |
16 |
<div class="product_prices row">
|
| 13944 |
anikendra |
17 |
<div class="col-xs-12">
|
| 13731 |
anikendra |
18 |
<span class="rupee"></span><span class="product_price"><?php echo $product['StoreProduct']['available_price'];?></span>
|
|
|
19 |
</div>
|
| 13944 |
anikendra |
20 |
<!--
|
| 13731 |
anikendra |
21 |
<div class="col-xs-6">
|
| 13750 |
anikendra |
22 |
<?php if(!empty($product['StoreProduct']['mrp'])):?>
|
|
|
23 |
<span class="cashbackrupee"></span>
|
| 13674 |
anikendra |
24 |
<span class="text-striked">
|
| 13731 |
anikendra |
25 |
<?php echo $product['StoreProduct']['mrp'];?>
|
| 13750 |
anikendra |
26 |
</span>
|
| 13731 |
anikendra |
27 |
(<?php echo ceil(100*($product['StoreProduct']['mrp'] - $product['StoreProduct']['available_price'])/$product['StoreProduct']['mrp']);?>% off)
|
| 13750 |
anikendra |
28 |
<?php endif;?>
|
| 13731 |
anikendra |
29 |
</div>
|
| 13944 |
anikendra |
30 |
-->
|
| 13731 |
anikendra |
31 |
</div>
|
| 13750 |
anikendra |
32 |
<?php if(!empty($product['StoreProduct']['tagline'])):?>
|
|
|
33 |
<div class="product_short_description"><?php echo $product['StoreProduct']['tagline'];?></div>
|
|
|
34 |
<?php endif;?>
|
| 13672 |
anikendra |
35 |
</div>
|
| 13750 |
anikendra |
36 |
<div class="col-xs-2 text-right">
|
| 13731 |
anikendra |
37 |
<div class="deletefav" data-id="<?php echo $product['UserAction']['id'];?>"></div>
|
|
|
38 |
</div>
|
|
|
39 |
</div>
|
| 13672 |
anikendra |
40 |
<?php endforeach;?>
|
| 13731 |
anikendra |
41 |
<div class="row text-center clearfavs">
|
|
|
42 |
<div class="deleteallfavs"></div>
|
|
|
43 |
<div class="clearlist">Clear List</div>
|
|
|
44 |
</div>
|
| 13732 |
anikendra |
45 |
<?php else:?>
|
| 13737 |
anikendra |
46 |
<h3>Your Favourite list is empty</h3>
|
| 13672 |
anikendra |
47 |
<?php endif;?>
|
| 13698 |
anikendra |
48 |
</div>
|
| 13731 |
anikendra |
49 |
<script type="text/javascript" src="/js/jquery.jscroll.min.js"></script>
|
|
|
50 |
<script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
|
|
|
51 |
<script type="text/javascript" src="/js/profittill.js?v=<?php echo $staticversion;?>"></script>
|