FIX for Uncaught ReferenceError: wcff_fields_cloning is not defined
-
On Woocommerce checkout page the error Uncaught ReferenceError: wcff_fields_cloning is not defined.
If you make the following changes beginning on line 118 in wccpf-front-end.js the error resolves:
$(document).ready(function(){ if( typeof(wcff_fields_cloning) != "undefined" && wcff_fields_cloning == "yes" ) { var wcff_cloner_obj = new wcffCloner(); wcff_cloner_obj.initialize(); } if( typeof(wcff_client_side_validation) != "undefined" && wcff_client_side_validation == "yes" ) { var wcff_validator_obj = new wcffValidator(); wcff_validator_obj.initialize(); } });
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘FIX for Uncaught ReferenceError: wcff_fields_cloning is not defined’ is closed to new replies.