| Line 1... |
Line 1... |
| 1 |
<script type="text/javascript">
|
1 |
<script type="text/javascript">
|
| 2 |
$(document).ready(function(){
|
2 |
$(document).ready(function(){
|
| 3 |
$('.popover-markup>.trigger').popover({
|
3 |
$('.popover-markup a.trigger').popover({
|
| 4 |
html: true,
|
4 |
html: true,
|
| 5 |
title: function () {
|
5 |
title: function () {
|
| 6 |
return $(this).parent().find('.head').html();
|
6 |
return $(this).parent().find('.head').html();
|
| 7 |
},
|
7 |
},
|
| 8 |
content: function () {
|
8 |
content: function () {
|
| Line 17... |
Line 17... |
| 17 |
<div class="cartpagedetails">
|
17 |
<div class="cartpagedetails">
|
| 18 |
<span class="glyphicon glyphicon-arrow-left backtodeals"></span>
|
18 |
<span class="glyphicon glyphicon-arrow-left backtodeals"></span>
|
| 19 |
<span class="cartheader"> Cart Details <span>
|
19 |
<span class="cartheader"> Cart Details <span>
|
| 20 |
</div>
|
20 |
</div>
|
| 21 |
<?php //echo $base_url;?>
|
21 |
<?php //echo $base_url;?>
|
| 22 |
|
- |
|
| 23 |
<div class="cartpagemargin">
|
22 |
<div class="cartpagemargin">
|
| 24 |
</div>
|
23 |
</div>
|
| 25 |
<?php foreach($cartskus['cartMessages'] as $itemmessage):?>
|
24 |
<?php foreach($cartskus['cartMessages'] as $itemmessage):?>
|
| 26 |
<div class="cartmsg-<?php echo $itemmessage['type'];?>"
|
25 |
<div class="cartmsg-<?php echo $itemmessage['type'];?>"
|
| 27 |
<div class="label label-<?php echo $itemmessage['type'];?>">
|
26 |
<div class="label label-<?php echo $itemmessage['type'];?>">
|
| Line 36... |
Line 35... |
| 36 |
</div>
|
35 |
</div>
|
| 37 |
|
36 |
|
| 38 |
<div class="bottomargin"></div>
|
37 |
<div class="bottomargin"></div>
|
| 39 |
|
38 |
|
| 40 |
<div class="col-xs-12 navbar-fixed-bottom pmfooter">
|
39 |
<div class="col-xs-12 navbar-fixed-bottom pmfooter">
|
| - |
|
40 |
<?php if(strpos($cartskus['estimateString'],"Can't ship here")===false):?>
|
| 41 |
<div class="popover-markup"> Delivery to
|
41 |
<div class="popover-markup" data-str="<?php echo $cartskus['estimateString'];?>"> Delivery to
|
| 42 |
<a href="#" class="trigger "><u><?php echo $cartskus['pincode']; ?></u></a> by <?php echo $cartskus['estimateString'];?>
|
42 |
<a href="#" class="trigger "><u><?php echo $cartskus['pincode']; ?></u></a> by <?php echo $cartskus['estimateString'];?>
|
| 43 |
<div class="content hide">
|
43 |
<div class="content hide">
|
| 44 |
<div class="form-group">
|
44 |
<div class="form-group">
|
| 45 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
45 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
| 46 |
</div>
|
46 |
</div>
|
| 47 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
47 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
| 48 |
Submit
|
48 |
Submit
|
| 49 |
</button>
|
49 |
</button>
|
| 50 |
</div>
|
50 |
</div>
|
| 51 |
</div>
|
51 |
</div>
|
| - |
|
52 |
<?php else:?>
|
| - |
|
53 |
<div class="popover-markup" data-str="<?php echo $cartskus['estimateString'];?>"><span style="color:red"><?php echo $cartskus['estimateString'];?>. Change Pincode:</span>
|
| - |
|
54 |
<a href="#" class="trigger "><span style="color:red"><u><?php echo $cartskus['pincode']; ?></u></span></a>
|
| - |
|
55 |
<div class="content hide">
|
| - |
|
56 |
<div class="form-group">
|
| - |
|
57 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
| - |
|
58 |
</div>
|
| - |
|
59 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
| - |
|
60 |
Submit
|
| - |
|
61 |
</button>
|
| - |
|
62 |
</div>
|
| - |
|
63 |
</div>
|
| - |
|
64 |
<?php endif;?>
|
| - |
|
65 |
|
| - |
|
66 |
|
| 52 |
<?php if($cartskus['shippingCharge']>0):?>
|
67 |
<?php if($cartskus['shippingCharge']>0 && $cartskus['totalAmount']>0):?>
|
| 53 |
<div class="cartitemstotal" data-itemtotal="<?php echo $cartskus['totalAmount']; ?>" data-shipping="<?php echo $cartskus['shippingCharge'];?>">
|
68 |
<div class="cartitemstotal" data-itemtotal="<?php echo $cartskus['totalAmount']; ?>" data-shipping="<?php echo $cartskus['shippingCharge'];?>">
|
| 54 |
<span class="pull-left ">Item Total </span><span class="pull-right itemstotal"> ₹ <?php echo number_format($cartskus['totalAmount']); ?> </span><br>
|
69 |
<span class="pull-left ">Item Total </span><span class="pull-right itemstotal"> ₹ <?php echo number_format($cartskus['totalAmount']); ?> </span><br>
|
| 55 |
<span class="pull-left shipping">Shipping </span><span class="pull-right shippingval"> ₹ <?php echo number_format($cartskus['shippingCharge']);?> </span>
|
70 |
<span class="pull-left shipping">Shipping </span><span class="pull-right shippingval"> ₹ <?php echo number_format($cartskus['shippingCharge']);?> </span>
|
| 56 |
</div>
|
71 |
</div>
|
| 57 |
<?php else:?>
|
72 |
<?php else:?>
|