Variable Products initializing intlTelInput issue
-
Hi,
intlTelInput is not initializing for Out Of Stock Variations and Form is not working. It’s occurring when you are changing variations on Frontend. I fixed it with adding a setTimeout. Please check this fix and implement if evrything is okay.
Current code – https://plugins.trac.ww.wp.xz.cn/browser/back-in-stock-notifier-for-woocommerce/trunk/assets/js/frontend-dev.js#L69:
if (phone_field == '1') {
instock_notifier.initialize_phone();
}Fixed version:
if (phone_field == '1') {
setTimeout(function () {
instock_notifier.initialize_phone();
}, 100);
}
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘Variable Products initializing intlTelInput issue’ is closed to new replies.