some files updated
This commit is contained in:
parent
0d9db814a9
commit
29af1aeff5
|
@ -46,7 +46,7 @@ color:<?php echo $faq_label_text_color; ?>;
|
|||
border-color: <?php echo $cart_btn_bg_color; ?>;
|
||||
}
|
||||
/*Calender Button Style*/
|
||||
.mep-default-sidrbar-calender-btn a, .mep-event-theme-1 .mep-add-calender, .mep-template-2-hamza .mep-add-calender, .mep-tem3-mid-sec .mep-add-calender{
|
||||
.mep-default-sidrbar-calender-btn a, .mep-event-theme-1 .mep-add-calender, .mep-template-2-hamza .mep-add-calender, .mep-tem3-mid-sec .mep-add-calender, #mep_add_calender_button{
|
||||
background: <?php echo $calender_btn_bg_color; ?>;
|
||||
color:<?php echo $calender_btn_txt_color; ?>!important;
|
||||
border-color: <?php echo $calender_btn_bg_color; ?>;
|
||||
|
|
|
@ -7,7 +7,7 @@ Version: 2.1.3
|
|||
Tested up to: 5.2
|
||||
Requires PHP: 5.6
|
||||
WC requires at least: 3.0
|
||||
WC tested up to: 3.5.0
|
||||
WC tested up to: 3.6.3
|
||||
Requires PHP: 5.6
|
||||
License: GPLv2 or later
|
||||
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
||||
|
|
|
@ -97,10 +97,12 @@ function updateTotal() {
|
|||
var n = vallllp.split('_');
|
||||
var price = n[0];
|
||||
total += parseFloat(price);
|
||||
jQuery('#rowtotal').val(total);
|
||||
jQuery('#rowtotal').val(total);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//Bind the change event
|
||||
jQuery(".extra-qty-box").on('change', function() {
|
||||
var sum = 0;
|
||||
|
@ -111,7 +113,7 @@ jQuery(".extra-qty-box").on('change', function() {
|
|||
var count = price.closest('tr').find('.extra-qty-box');
|
||||
sum = (price.html() * count.val());
|
||||
total = total + sum;
|
||||
// price.closest('tr').find('.cart_total_price').html(sum + "₴");
|
||||
// price.closest('tr').find('.cart_total_price').html(sum + "â‚´");
|
||||
|
||||
});
|
||||
|
||||
|
@ -137,16 +139,28 @@ jQuery('#eventpxtp_<?php echo $count; ?>').on('change', function () {
|
|||
var inputs = jQuery('#eventpxtp_<?php echo $count; ?>').val() || 0;
|
||||
var input = parseInt(inputs);
|
||||
var children=jQuery('#dadainfo_<?php echo $count; ?> > div').length || 0;
|
||||
//alert(inputs);
|
||||
if(inputs==0){
|
||||
|
||||
|
||||
|
||||
jQuery(document).on("change", ".etp", function() {
|
||||
var TotalQty = 0;
|
||||
jQuery(".etp").each(function(){
|
||||
TotalQty += +jQuery(this).val();
|
||||
});
|
||||
//alert(sum);
|
||||
|
||||
if(TotalQty == 0){
|
||||
//jQuery('.btn-mep-event-cart').hide();
|
||||
jQuery('.btn-mep-event-cart').attr('disabled','disabled');
|
||||
jQuery('#mep_btn_notice').show();
|
||||
}else if(inputs>0){
|
||||
}else{
|
||||
//jQuery('.btn-mep-event-cart').show();
|
||||
jQuery('.btn-mep-event-cart').removeAttr('disabled');
|
||||
jQuery('#mep_btn_notice').hide();
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
if(input < children){
|
||||
jQuery('#dadainfo_<?php echo $count; ?>').empty();
|
||||
children=0;
|
||||
|
|
|
@ -663,10 +663,10 @@ jQuery("#mep_add_calender_links").toggle()
|
|||
#mep_add_calender_links a{background: none !important; color: #333 !important; line-height: 0.5px !important; padding:10px; margin-bottom: 3px;}
|
||||
#mep_add_calender_links a:hover{color:#ffbe30;}*/
|
||||
#mep_add_calender_button{
|
||||
background: #ffbe30 none repeat scroll 0 0;
|
||||
/*background: #ffbe30 none repeat scroll 0 0;*/
|
||||
border: 0 none;
|
||||
border-radius: 50px;
|
||||
color: #ffffff !important;
|
||||
/*color: #ffffff !important;*/
|
||||
display: inline-flex;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
|
|
Loading…
Reference in New Issue