| Line 1... |
Line 1... |
| 1 |
<div class="container">
|
1 |
<div class="container">
|
| 2 |
<div class="row">
|
2 |
<div class="row">
|
| 3 |
<?php if(!empty($myfavorites)):?>
|
3 |
<?php if(!empty($myfavorites)):?>
|
| 4 |
<?php foreach ($myfavorites as $key => $order):?>
|
4 |
<?php //debug($myfavorites);?>
|
| 5 |
<?php if(!empty($order['subOrders'])):?>
|
- |
|
| 6 |
<?php foreach ($order['subOrders'] as $key => $suborder):?>
|
5 |
<?php foreach ($myfavorites as $key => $product):?>
|
| 7 |
<div class="row suborder">
|
6 |
<div class="row suborder">
|
| 8 |
<div class="col-xs-3">
|
7 |
<div class="col-xs-3 product_image img img-responsive">
|
| 9 |
<?php if(!empty($suborder['imageUrl'])):?>
|
8 |
<?php if(!empty($product['StoreProduct']['thumbnail'])):?>
|
| 10 |
<img src="<?php echo $suborder['imageUrl'];?>" alt="<?php echo $suborder['productTitle'];?>"/>
|
9 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?h=120&src=<?php echo $product['StoreProduct']['thumbnail'];?>" alt="<?php echo $product['StoreProduct']['title'];?>"/>
|
| 11 |
<?php else:?>
|
10 |
<?php else:?>
|
| 12 |
<img src="<?php echo $base_url;?>timthumb.php?src=<?php echo $base_url;?>img/noimage.png&h=80" alt="<?php echo $suborder['productTitle'];?>"/>
|
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'];?>"/>
|
| 13 |
<?php endif;?>
|
12 |
<?php endif;?>
|
| 14 |
</div>
|
13 |
</div>
|
| 15 |
<div class="col-xs-9">
|
14 |
<div class="col-xs-9">
|
| 16 |
<h4><?php echo $suborder['productTitle'];?></h4>
|
15 |
<h4><?php echo $product['StoreProduct']['title'];?></h4>
|
| 17 |
<?php if(!empty($suborder['estimatedDeliveryDate'])):?>
|
16 |
<p class="product_prices">
|
| 18 |
<p>Will be delivered by <span class="deliverydate"><?php echo $suborder['estimatedDeliveryDate'];?></span></p>
|
17 |
<span class="rupee"></span><span class="product_price"><?php echo $product['StoreProduct']['mrp'];?></span>
|
| - |
|
18 |
<span class="deal_price">
|
| - |
|
19 |
<span class="rupee"></span>
|
| - |
|
20 |
<span class="text-striked">
|
| - |
|
21 |
<?php echo $product['StoreProduct']['available_price'];?>
|
| - |
|
22 |
</span>(<?php echo ceil(100*($product['StoreProduct']['mrp'] - $product['StoreProduct']['available_price'])/$product['StoreProduct']['mrp']);?>% off)
|
| 19 |
<?php endif;?>
|
23 |
</span>
|
| - |
|
24 |
</p>
|
| 20 |
</div>
|
25 |
</div>
|
| 21 |
</div>
|
26 |
</div>
|
| 22 |
<?php endforeach;?>
|
- |
|
| 23 |
<?php endif;?>
|
- |
|
| 24 |
<?php endforeach;?>
|
27 |
<?php endforeach;?>
|
| 25 |
<?php endif;?>
|
28 |
<?php endif;?>
|
| 26 |
</div>
|
29 |
</div>
|
| 27 |
</div>
|
30 |
</div>
|
| 28 |
|
31 |
|