| 17804 |
manish.sha |
1 |
<script type="text/javascript">
|
|
|
2 |
$(document).ready(function(){
|
| 17881 |
manish.sha |
3 |
$('.popover-markup a.trigger').popover({
|
| 17804 |
manish.sha |
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>
|
| 18298 |
manish.sha |
14 |
<link rel="stylesheet" href="/css/hexdots.css" type="text/css">
|
|
|
15 |
<style>
|
|
|
16 |
#cartloader{
|
|
|
17 |
position:absolute;
|
|
|
18 |
/*top:40%;*/
|
|
|
19 |
left:50%;
|
|
|
20 |
z-index:2001;
|
|
|
21 |
}
|
|
|
22 |
</style>
|
| 17804 |
manish.sha |
23 |
<script type="text/javascript" src="/js/cart.js?v=<?php echo $staticversion;?>"></script>
|
| 17947 |
manish.sha |
24 |
<input type="hidden" id="refresh" value="no">
|
| 17804 |
manish.sha |
25 |
<div class="container">
|
| 17919 |
manish.sha |
26 |
<div class="modal fade" id="cartLoadingModal">
|
|
|
27 |
<div class="modal-dialog">
|
|
|
28 |
<div class="modal-content">
|
|
|
29 |
<div class="modal-body">
|
|
|
30 |
<div class="text-center">
|
|
|
31 |
<img src="/img/ajax-loader.gif"/>
|
|
|
32 |
</div>
|
|
|
33 |
</div>
|
|
|
34 |
</div><!-- /.modal-content -->
|
|
|
35 |
</div><!-- /.modal-dialog -->
|
|
|
36 |
</div><!-- /.modal -->
|
| 17804 |
manish.sha |
37 |
<div class="cartpagedetails">
|
|
|
38 |
<span class="glyphicon glyphicon-arrow-left backtodeals"></span>
|
| 18018 |
manish.sha |
39 |
<span class="cartheader"><span>
|
| 17804 |
manish.sha |
40 |
</div>
|
|
|
41 |
<?php //echo $base_url;?>
|
|
|
42 |
<div class="cartpagemargin">
|
|
|
43 |
</div>
|
| 17871 |
manish.sha |
44 |
<?php foreach($cartskus['cartMessages'] as $itemmessage):?>
|
| 17954 |
manish.sha |
45 |
<div class="cartmsg-<?php echo $itemmessage['type'];?>">
|
| 17955 |
manish.sha |
46 |
<a href="#" class="close" data-dismiss="alert" aria-label="close">×</a>
|
| 17952 |
manish.sha |
47 |
<div class="label label-<?php echo $itemmessage['type'];?>">
|
| 17871 |
manish.sha |
48 |
<strong><?php echo $itemmessage['messageText'];?></strong>
|
| 17952 |
manish.sha |
49 |
</div>
|
| 17871 |
manish.sha |
50 |
</div>
|
|
|
51 |
<?php endforeach;?>
|
| 17804 |
manish.sha |
52 |
|
|
|
53 |
<div class="scroll">
|
|
|
54 |
<?php echo $this->element('cartitems');?>
|
|
|
55 |
</div>
|
|
|
56 |
|
| 18298 |
manish.sha |
57 |
<div class="text-center hidden" id="cartloader">
|
|
|
58 |
<div class="hexdots-loader"></div>
|
|
|
59 |
</div>
|
|
|
60 |
|
|
|
61 |
<div class="modal fade" id="myModal">
|
|
|
62 |
<div class="modal-dialog">
|
|
|
63 |
<div class="modal-content" style="background-color: #f0f0f0;color: #555;">
|
|
|
64 |
<div class="modal-body">
|
|
|
65 |
<p id="shippingText" style="color:#ff0000;"></p>
|
|
|
66 |
</div>
|
|
|
67 |
<div class="modal-footer">
|
|
|
68 |
<button type="button" class="btn btn-md pull-left" id="addItems"><a href="/category/6"><strong>Add Items<br>(आइटम जोड़ें)</strong></a></button>
|
|
|
69 |
<button type="button" class="btn btn-md pull-right" id="continueCheckout"><strong>Continue<br>(आगे बढ़े )</strong></button>
|
|
|
70 |
</div>
|
|
|
71 |
</div><!-- /.modal-content -->
|
|
|
72 |
</div><!-- /.modal-dialog -->
|
|
|
73 |
</div><!-- /.modal -->
|
|
|
74 |
|
| 17804 |
manish.sha |
75 |
<div class="col-xs-12 navbar-fixed-bottom pmfooter">
|
| 17947 |
manish.sha |
76 |
|
|
|
77 |
<?php if($cartskus['maxEstimate']==-1):?>
|
|
|
78 |
<div class="popover-markup" data-str="<?php echo $cartskus['estimateString'];?>"><span style="color:red">Change Pincode:</span>
|
|
|
79 |
<a href="#" class="trigger "><span style="color:red"><u><?php echo $cartskus['pincode']; ?></u> .</span></a>
|
|
|
80 |
<span style="color:red"><?php echo $cartskus['estimateString'];?>.</span>
|
| 17804 |
manish.sha |
81 |
<div class="content hide">
|
|
|
82 |
<div class="form-group">
|
|
|
83 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
|
|
84 |
</div>
|
|
|
85 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
|
|
86 |
Submit
|
|
|
87 |
</button>
|
|
|
88 |
</div>
|
|
|
89 |
</div>
|
| 17957 |
manish.sha |
90 |
<?php elseif($cartskus['maxEstimate']==-2 && count($cartskus['cartItems'])>0):?>
|
| 17948 |
manish.sha |
91 |
<div class="popover-markup" data-str="<?php echo $cartskus['estimateString'];?>"><span style="color:red">All Items are </span>
|
| 17947 |
manish.sha |
92 |
<a href="#" class="trigger "></a>
|
| 17919 |
manish.sha |
93 |
<span style="color:red"><?php echo $cartskus['estimateString'];?>.</span>
|
| 17881 |
manish.sha |
94 |
<div class="content hide">
|
|
|
95 |
<div class="form-group">
|
|
|
96 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
|
|
97 |
</div>
|
|
|
98 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
|
|
99 |
Submit
|
|
|
100 |
</button>
|
|
|
101 |
</div>
|
|
|
102 |
</div>
|
| 18018 |
manish.sha |
103 |
<?php elseif(count($cartskus['cartItems'])>0):?>
|
| 17947 |
manish.sha |
104 |
<div class="popover-markup" data-str="<?php echo $cartskus['estimateString'];?>"> Delivery to
|
|
|
105 |
<a href="#" class="trigger "><u><?php echo $cartskus['pincode']; ?></u></a> by <?php echo $cartskus['estimateString'];?>
|
|
|
106 |
<div class="content hide">
|
|
|
107 |
<div class="form-group">
|
|
|
108 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
|
|
109 |
</div>
|
|
|
110 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
|
|
111 |
Submit
|
|
|
112 |
</button>
|
|
|
113 |
</div>
|
|
|
114 |
</div>
|
| 18018 |
manish.sha |
115 |
<?php else:?>
|
|
|
116 |
<div class="popover-markup" data-str="<?php echo $cartskus['estimateString'];?>">
|
|
|
117 |
<a href="#" class="trigger "></a>
|
|
|
118 |
<div class="content hide">
|
|
|
119 |
<div class="form-group">
|
|
|
120 |
<input type="text" class="form-control pincodeval" placeholder="Pincode…" maxlength="6" >
|
|
|
121 |
</div>
|
|
|
122 |
<button type="submit" class="btn btn-default btn-block changepincode">
|
|
|
123 |
Submit
|
|
|
124 |
</button>
|
|
|
125 |
</div>
|
|
|
126 |
</div>
|
| 17881 |
manish.sha |
127 |
<?php endif;?>
|
|
|
128 |
|
|
|
129 |
|
|
|
130 |
<?php if($cartskus['shippingCharge']>0 && $cartskus['totalAmount']>0):?>
|
| 17853 |
manish.sha |
131 |
<div class="cartitemstotal" data-itemtotal="<?php echo $cartskus['totalAmount']; ?>" data-shipping="<?php echo $cartskus['shippingCharge'];?>">
|
| 18024 |
manish.sha |
132 |
<span class="pull-left ">Item Total </span><span class="pull-right itemstotal">₹ <?php echo number_format($cartskus['totalAmount']); ?></span><br>
|
|
|
133 |
<span class="pull-left shipping">Shipping </span><span class="pull-right shippingval">₹ <?php echo number_format($cartskus['shippingCharge']);?></span><br>
|
| 17905 |
manish.sha |
134 |
<span style="color:red;font-size:8pt">Free Shipping above ₹ 1000</span>
|
| 17804 |
manish.sha |
135 |
</div>
|
|
|
136 |
<?php else:?>
|
| 17853 |
manish.sha |
137 |
<div class="cartitemstotal hidden" data-itemtotal="<?php echo $cartskus['totalAmount']; ?>" data-shipping="<?php echo $cartskus['shippingCharge'];?>">
|
| 18024 |
manish.sha |
138 |
<span class="pull-left total">Item Total </span><span class="pull-right itemstotal">₹ <?php echo number_format($cartskus['totalAmount']); ?></span><br>
|
|
|
139 |
<span class="pull-left shipping">Shipping </span><span class="pull-right shippingval">₹ <?php echo number_format($cartskus['shippingCharge']);?></span><br>
|
| 17905 |
manish.sha |
140 |
<span style="color:red;font-size:8pt">Free Shipping above ₹ 1000</span>
|
| 17804 |
manish.sha |
141 |
</div>
|
|
|
142 |
<?php endif;?>
|
| 17905 |
manish.sha |
143 |
<?php if($cartskus['totalAmount']>0):?>
|
| 17854 |
manish.sha |
144 |
<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>
|
| 17905 |
manish.sha |
145 |
<?php else:?>
|
|
|
146 |
<div class="cartgrandtotal" data-grand="<?php echo ($cartskus['totalAmount']); ?>"><span class="pull-left"><strong>Payable </strong></span><span class="pull-right"> ₹ <?php echo number_format($cartskus['totalAmount']); ?> </span></div>
|
|
|
147 |
<?php endif;?>
|
| 17804 |
manish.sha |
148 |
<div><button type="button" class="btn btn-md checkoutbtn">CHECKOUT</button></div>
|
|
|
149 |
</div>
|
|
|
150 |
</div>
|