| Line 1... |
Line 1... |
| 1 |
<script type="text/javascript" src="/js/checkout.js?v=<?php echo $staticversion;?>"></script>
|
1 |
<script type="text/javascript" src="/js/checkout.js?v=<?php echo $staticversion;?>"></script>
|
| - |
|
2 |
<script type="text/javascript">
|
| - |
|
3 |
$(document).ready(function(){
|
| - |
|
4 |
var cart_details = localStorage.getItem("cart_details");
|
| - |
|
5 |
if(cart_details == undefined){
|
| - |
|
6 |
$('span#totalPayable').text(' ₹ 0');
|
| - |
|
7 |
$('button.confirmcheckout').prop( "disabled", true );
|
| - |
|
8 |
$('.confirmprepaid').prop( "disabled", true );
|
| - |
|
9 |
}else{
|
| - |
|
10 |
$('button.confirmcheckout').prop( "disabled", false );
|
| - |
|
11 |
$('.confirmprepaid').prop( "disabled", false );
|
| 2 |
|
12 |
}
|
| - |
|
13 |
});
|
| - |
|
14 |
</script>
|
| 3 |
<style>
|
15 |
<style>
|
| 4 |
#footer {
|
16 |
#footer {
|
| 5 |
position: fixed;
|
17 |
position: fixed;
|
| 6 |
/*height:50px;*/
|
18 |
/*height:50px;*/
|
| 7 |
/*background-color:red;*/
|
19 |
/*background-color:red;*/
|
| Line 160... |
Line 172... |
| 160 |
<!-- End of address section -->
|
172 |
<!-- End of address section -->
|
| 161 |
|
173 |
|
| 162 |
<!-- Cart section started -->
|
174 |
<!-- Cart section started -->
|
| 163 |
<div class='row' style='padding:0px;' id='footer'>
|
175 |
<div class='row' style='padding:0px;' id='footer'>
|
| 164 |
<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
|
176 |
<div class='col-xs-12' style='background-color:white;padding:5px; width:100%;'>
|
| 165 |
<h4>Total payable Amount: <span style="color:#ff0000;"> ₹ <?php echo number_format($totalPayable);?></span></h4>
|
177 |
<h4>Total payable Amount: <span style="color:#ff0000;" id="totalPayable"> ₹ <?php echo number_format($totalPayable);?></span></h4>
|
| 166 |
<?php if($codAvailable):?>
|
178 |
<?php if($codAvailable):?>
|
| 167 |
<a href="#" style='padding-right:2px;color:blue;font-size:15px;' class="confirmprepaid"><u>Other Pay Option</u></a>
|
179 |
<a href="#" style='padding-right:2px;color:blue;font-size:15px;' class="confirmprepaid"><u>Other Pay Option</u></a>
|
| 168 |
<button class="btn btn-success confirmcheckout pull-right" >Confirm Order via COD</button>
|
180 |
<button class="btn btn-success confirmcheckout pull-right" >Confirm Order via COD</button>
|
| 169 |
<?php else:?>
|
181 |
<?php else:?>
|
| 170 |
<span style='padding-right:2px;color:red;font-size:15px;'>*COD Not Available</span>
|
182 |
<span style='padding-right:2px;color:red;font-size:15px;'>*COD Not Available</span>
|