| 17958 |
manish.sha |
1 |
<?php if(count($cartskus['cartItems'])>0):?>
|
| 17804 |
manish.sha |
2 |
<?php foreach($cartskus['cartItems'] as $cartitem):?>
|
|
|
3 |
<div class="card row">
|
|
|
4 |
<div class="col-xs-12 cartdetailscard" data-id="<?php echo $cartitem['itemId'];?>">
|
|
|
5 |
<div class="col-xs-3 cartdetailimage">
|
|
|
6 |
<div class="productthumb" >
|
| 17809 |
manish.sha |
7 |
<img src="<?php echo $base_url;?>app/webroot/timthumb.php?src=<?php echo urlencode($cartitem['imageUrl']);?>&h=80" />
|
| 17804 |
manish.sha |
8 |
</div>
|
|
|
9 |
</div>
|
|
|
10 |
<div class="col-xs-7 cartpricedetails">
|
| 17947 |
manish.sha |
11 |
<div class="product_short_description"><?php echo $cartitem['title'];?><?php if(!empty($cartitem['color']) || $cartitem['color']!=''):?> - <?php echo $cartitem['color']?> <?php endif;?><br><span>₹</span> <?php echo $cartitem['sellingPrice'];?> X <span class="lineitemqty" data-id="<?php echo $cartitem['itemId'];?>"><?php echo $cartitem['quantity'];?></span> = <span class="lineitemtotal" data-id="<?php echo $cartitem['itemId'];?>"> ₹ <?php echo intval($cartitem['quantity'])*intval($cartitem['sellingPrice']);?></span></div>
|
| 17804 |
manish.sha |
12 |
<?php if(isset($cartitem['dealText']) && !empty($cartitem['dealText'])):?>
|
|
|
13 |
<div class="product_short_description"><?php echo $cartitem['dealText'];?></div>
|
|
|
14 |
<?php endif;?>
|
|
|
15 |
<?php foreach($cartitem['cartItemMessages'] as $itemmessage):?>
|
|
|
16 |
<div class="label label-<?php echo $itemmessage['type'];?>">
|
|
|
17 |
<?php echo $itemmessage['messageText'];?>
|
|
|
18 |
</div>
|
|
|
19 |
<?php endforeach;?>
|
|
|
20 |
</div>
|
|
|
21 |
<?php $name = explode(" ", $cartitem['title']);
|
|
|
22 |
$brand = $name[0];
|
|
|
23 |
?>
|
|
|
24 |
<div class="col-xs-2 cartdetailsadd">
|
| 17919 |
manish.sha |
25 |
<div class="input-group number-spinner" data-name="<?php echo $cartitem['title'];?>" data-brand="<?php echo $brand;?>" data-estimate="<?php echo $cartitem['estimate'];?>">
|
| 17804 |
manish.sha |
26 |
<span class="input-group-btn data-up">
|
|
|
27 |
<button class="btn btn-default plusqtybutton" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="up"><span class="glyphicon glyphicon-plus plusqty"></span></button>
|
|
|
28 |
</span>
|
| 17930 |
manish.sha |
29 |
<input type="text" class="itemquantity" value="<?php echo $cartitem['quantity'];?>" min="0" max="<?php echo $cartitem['maxQuantity'];?>" autocomplete="off" readonly>
|
| 17804 |
manish.sha |
30 |
<span class="input-group-btn data-dwn">
|
|
|
31 |
<button class="btn btn-default minusqtybutton" data-id="<?php echo $cartitem['itemId'];?>" data-price="<?php echo $cartitem['sellingPrice'];?>" data-dir="dwn"><span class="glyphicon glyphicon-minus minusqty"></span></button>
|
|
|
32 |
</span>
|
|
|
33 |
</div>
|
|
|
34 |
</div>
|
|
|
35 |
|
|
|
36 |
|
|
|
37 |
</div>
|
|
|
38 |
|
|
|
39 |
</div>
|
|
|
40 |
|
| 17958 |
manish.sha |
41 |
<?php endforeach;?>
|
|
|
42 |
<?php else:?>
|
|
|
43 |
<div class="well text-center">
|
|
|
44 |
Your Cart is Empty. Please go to <a href="<?php echo $base_url;?>category/6">Deals Page</a>
|
|
|
45 |
</div>
|
|
|
46 |
<?php endif;?>
|