AnDurugkar
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: There has been a critical error on this website.Thanks for the solution my problem is also solved with manual wordpress update
Forum: Plugins
In reply to: [YITH WooCommerce Wishlist] AJAX calls from Wishlist is taking too longI am also facing the same problem, appreciate if you share those files again want to try them.
ThanksForum: Fixing WordPress
In reply to: I can’t ping or contact api.ww.wp.xz.cnJust Put IP in hosts file
198.143.164.251 api.ww.wp.xz.cn- This reply was modified 6 years, 4 months ago by AnDurugkar. Reason: adding tags
Forum: Reviews
In reply to: [WooCommerce] Woocommerce 3.0 – Too many bugsMy new plugin on the previous version (2.6.4) is been broken. I was masking attributes of variations in the cart and further actions on the front end, but now it is directly getting added to product name, also in the admin order is not displying the attribute of variation unlike previous version
Forum: Plugins
In reply to: [CMB2] can’t bind a function to `beforeShowDay` from jQuery UIThanks
Forum: Plugins
In reply to: [CMB2] can’t bind a function to `beforeShowDay` from jQuery UIHi,
Thanks for your reply,I already tried the quotes arount the ‘check_available’ in the json_encode spot and then tried without it and also I don’t get datepicker is not a function. As you said the error q.apply is once click on the input yes I also have the same.
My loading order of js is
1) jquery.js
2) jquery-migrate.min.js?ver=1.4.1
3) jquery/ui/effect.min.js?ver=1.11.4
4) body
5) jquery/ui/core.min.js?ver=1.11.4
6) jquery/ui/datepicker.min.js?ver=1.11.4
7) wp-content/plugins/cmb2/js/cmb2.min.js?ver=2.2.4
8) wp-content/plugins/events-booking/js/eve_script.js?ver=4.7.3 having the only function check_available(datep) {
availableDates = [“9-5-2017″,”14-5-2017″,”15-5-2017”];
dmy = datep.getDate() + “-” + (datep.getMonth()+1) + “-” + datep.getFullYear();
if (jQuery.inArray(dmy, availableDates) != -1) {
return [true, “”,”Available”];
} else {
return [false,””,”unAvailable”];
}
}I replaced $.inArray(dmy, availableDates) to jQuery.inArray(dmy, availableDates)
Today I have created html version of the datepicker and checked the above function it works perfectly alright.change
$relay_url = get_site_url().’/wc-api/’.get_class( $this );
to $relay_url = get_site_url().’/?wc-api=’.get_class( $this );
to resolve the issue with your plugin.Regards,
AND.