Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) Safe-mode: OFF (not secure) /var/www/html/dokan/frontend/bigbag/js/ drwxr-xr-x | |
| Viewing file: Select action/file-type: (function ($) {
"use strict";
$('.location').on('change',function(){
var option=$(this).find('option:selected').data('method')
$('.payment_mode').remove();
$.each(option, function(index, value){
var price=parseFloat(value.slug);
var html='<li class="wc_payment_method payment_method_bacs payment_mode"><input id="payment_method_'+value.id+'" type="radio" class="input-radio shipping_mode" name="shipping_mode" data-price="'+price+'" value="'+value.id+'"><label for="payment_method_'+value.id+'">   '+ value.name+'</label></li>';
$('.shipping_methods').append(html);
$('.bigbag-checkout-payment').show();
});
})
$('.create_account').on('click',function(e) {
if($('.create_account').is(":checked")){
$('.password_area').show();
}
else{
$('.password_area').hide();
}
});
$('.checkout_form').on('submit',function(){
var html=$('.checkout_submit_btn').html();
$('.checkout_submit_btn').attr('disabled','disabled');
$('.checkout_submit_btn').html('<div class="spinner-border text-light spinner-border-sm" role="status"><span class="sr-only">Loading...</span></div></div>   Please Wait...</span>');
});
$(document).on('click','.shipping_mode',function(e) {
var price=$(this).data('price');
$('#shipping_charge').html(currncy_format(price));
$('.shipping_charge').show();
var price=parseFloat(price);
var total_amount=parseFloat($('#total_amount').val());
var calculate=total_amount+price;
$('.total_cost_amount').html(currncy_format(calculate));
});
})(jQuery); |
:: Command execute :: | |
--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0063 ]-- |