• Resolved Sjoerd Blom

    (@vertizio)


    Seeing quite some reports about errors on mobile devices. Have them too. Filter doesn’t work on mobile devices and throws a “Please choose product options” in userland.

    Error console gives me some more details about what happens:

    front.js:36 
    Uncaught ReferenceError: woof_ext_init_functions is not defined
        at HTMLDocument.<anonymous> (front.js:36)
        at i (jquery.js:2)
        at Object.fireWith [as resolveWith] (jquery.js:2)
        at Function.ready (jquery.js:2)
        at HTMLDocument.J (jquery.js:2)
    (anonymous) @ front.js:36
    i           @ jquery.js:2
    fireWith    @ jquery.js:2
    ready       @ jquery.js:2
    J           @ jquery.js:2

    Hope this is enough for you to fix this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mediawebster

    (@mediawebster)

    Hello

    Try in file – wp-content\plugins\woocommerce-products-filter\index.php – delete this code – https://clip2net.com/s/4a3Ocvq

    Thread Starter Sjoerd Blom

    (@vertizio)

    You highlighted a comment. I don’t expect deleting that will work.
    I guess you meant commenting out this:

    woof_ext_init_functions = '<?php echo json_encode(WOOF_EXT::$includes['js_init_functions']); ?>';
    
    Plugin Support mediawebster

    (@mediawebster)

    Hello

    I read this! And I know why such an error can appear. this happens when the user uses plugins to optimize JS

    Please try to follow my recommendations! If no luck – drop me exact link to the issue

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Mobile view of filter gives Uncaught ReferenceError’ is closed to new replies.