Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter nyckl

    (@nyckl)

    Hello,

    Thanks for your quick reply. I’m not very handy with Javascript, so I am trying to do my best explaining what I see in the console. I’m happy to email you, privately, site access if that would help, I would just need a private email – not this forum.

    When both plugins (WC Fields and WooCommerce Smart Coupons) are active, the browser Javascript console shows this error:

    Uncaught ReferenceError: wccpf_opt is not defined wccpf-front-end.js?ver=6605832…:141

    The line marked as an issue is the second one here:

    $(document).ready(function(){
    if( typeof( wccpf_opt.cloning ) != “undefined” && wccpf_opt.cloning == “yes” ) {
    var wcff_cloner_obj = new wcffCloner();
    wcff_cloner_obj.initialize();

    Any thoughts on a solution? I don’t understand Javascript, however I am comfortable cutting and pasting code into my child theme’s functions.php if you have a suggestion.

    Thank you very much.

    Thread Starter nyckl

    (@nyckl)

    Thanks,

    As I said, I’m pretty novice to coding. I can do basic stuff, but I don’t understand how I would use this. Do you have any examples of the code I could use to create a meta tag for email fields created with your plug-in?

    Or if you could direct me to how I would change the code you gave me, would I type something in place of the “your_item_meta_key”? And if so, what would I type in its place or where would I find the information I need? I tried looking in your plugin folders in FTP, but I find them overwhelming and I’m not sure where to look.

    This might be asking a lot and if so feel free to pass. Just searching for help.

    Thanks very much!

Viewing 2 replies - 1 through 2 (of 2 total)