| 17804 |
manish.sha |
1 |
<script type="text/javascript">
|
|
|
2 |
$(document).ready(function(){
|
|
|
3 |
$('.popover-markup>.trigger').popover({
|
|
|
4 |
html: true,
|
|
|
5 |
title: function () {
|
|
|
6 |
return $(this).parent().find('.head').html();
|
|
|
7 |
},
|
|
|
8 |
content: function () {
|
|
|
9 |
return $(this).parent().find('.content').html();
|
|
|
10 |
}
|
|
|
11 |
});
|
|
|
12 |
});
|
|
|
13 |
</script>
|
|
|
14 |
<script type="text/javascript" src="/js/cart.js?v=<?php echo $staticversion;?>"></script>
|
|
|
15 |
<?php //print_r($cartskus);?>
|
|
|
16 |
<div class="container">
|
|
|
17 |
<div class="cartpagedetails">
|
|
|
18 |
<span class="glyphicon glyphicon-arrow-left backtodeals"></span>
|
|
|
19 |
<span class="cartheader"> Cart Details <span>
|
|
|
20 |
</div>
|
|
|
21 |
<?php //echo $base_url;?>
|
|
|
22 |
|
|
|
23 |
<div class="cartpagemargin">
|
|
|
24 |
</div>
|
|
|
25 |
|
|
|
26 |
<div class="scroll">
|
|
|
27 |
<?php echo $this->element('cartitems');?>
|
|
|
28 |
</div>
|
|
|
29 |
|
|
|
30 |
<div class="bottomargin"></div>
|
|
|
31 |
|
|
|
32 |
<div class="col-xs-12 navbar-fixed-bottom pmfooter">
|
|
|
33 |
<div class="popover-markup"> Delivery to
|
|
|
34 |
<a href="#" class="trigger "><u><?php echo $cartskus['pincode']; ?></u></a> by <?php echo $cartskus['estimateString'];?>
|
|
|
35 |
<div class="content hide">
|
|
|
36 |
<div class="form-group">
|
|
|
37 |
<input type="text" class="form-control pincodeval" placeholder="Pincodeā¦" maxlength="6" >
|
|
|
38 |
</div>
|
|
|
39 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
|
|
40 |
Submit
|
|
|
41 |
</button>
|
|
|
42 |
</div>
|
|
|
43 |
</div>
|
| 17850 |
manish.sha |
44 |
<?php if($cartskus['shippingCharge']>0):?>
|
| 17853 |
manish.sha |
45 |
<div class="cartitemstotal" data-itemtotal="<?php echo $cartskus['totalAmount']; ?>" data-shipping="<?php echo $cartskus['shippingCharge'];?>">
|
| 17850 |
manish.sha |
46 |
<span class="pull-left ">Item Total </span><span class="pull-right itemstotal"> ₹ <?php echo number_format($cartskus['totalAmount']); ?> </span><br>
|
| 17852 |
manish.sha |
47 |
<span class="pull-left shipping">Shipping </span><span class="pull-right shippingval"> ₹ <?php echo number_format($cartskus['shippingCharge']);?> </span>
|
| 17804 |
manish.sha |
48 |
</div>
|
|
|
49 |
<?php else:?>
|
| 17853 |
manish.sha |
50 |
<div class="cartitemstotal hidden" data-itemtotal="<?php echo $cartskus['totalAmount']; ?>" data-shipping="<?php echo $cartskus['shippingCharge'];?>">
|
| 17850 |
manish.sha |
51 |
<span class="pull-left total">Item Total </span><span class="pull-right itemstotal"> ₹ <?php echo number_format($cartskus['totalAmount']); ?> </span><br>
|
| 17852 |
manish.sha |
52 |
<span class="pull-left shipping">Shipping </span><span class="pull-right shippingval"> ₹ <?php echo number_format($cartskus['shippingCharge']);?> </span>
|
| 17804 |
manish.sha |
53 |
</div>
|
|
|
54 |
<?php endif;?>
|
| 17854 |
manish.sha |
55 |
<div class="cartgrandtotal" data-grand="<?php echo ($cartskus['totalAmount']+$cartskus['shippingCharge']); ?>"><span class="pull-left"><strong>Payable </strong></span><span class="pull-right"> ₹ <?php echo number_format($cartskus['totalAmount']+$cartskus['shippingCharge']); ?> </span></div>
|
| 17804 |
manish.sha |
56 |
<div><button type="button" class="btn btn-md checkoutbtn">CHECKOUT</button></div>
|
|
|
57 |
</div>
|
|
|
58 |
</div>
|