Hi,
the problem is related to the cart ajax update. I've fix the bug by simply changing the file
quantity-increment-buttons-for-woocommerce/assets/js/wc-quantity-increment-buttons.js
at line 23
from this
jQuery(document).ready(function(){
wcqib_refresh_quantity_increments();
});
to this
jQuery(document).ready(function(){
wcqib_refresh_quantity_increments();
jQuery( document ).on( 'updated_wc_div', function() {
wcqib_refresh_quantity_increments();
});
});
the callback "updated_wc_div" is trigger by woocommerce after the cart update.
After change the javascript simply re-minify it and replace to
quantity-increment-buttons-for-woocommerce/assets/js/wc-quantity-increment-buttons.min.js
Please update the plugin code.
Thanks!
WordPress ...
ما را در سایت WordPress دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 299
تاريخ: پنجشنبه
7 مرداد
1395 ساعت: 15:22