• Resolved gekomees

    (@gekomees)


    My site doesn’t use Woocommerce selectWoo script. I found a filter for this plugin to remove it from the deps of its javascript but this gives an error because the availability of selectWoo is not checked inside the JS file. Commenting out this part fixes the problem.

    Uncaught TypeError: can't access property "amd", $.fn.selectWoo is undefined
        initialize_thwvsf https://---/wp-content/plugins/product-variation-swatches-for-woocommerce/public/assets/js/thwvsf-public.js?ver=2.0.7:610
        thwvsf_public https://---/wp-content/plugins/product-variation-swatches-for-woocommerce/public/assets/js/thwvsf-public.js?ver=2.0.7:664
        <anonymous> https://---/wp-content/plugins/product-variation-swatches-for-woocommerce/public/assets/js/thwvsf-public.js?ver=2.0.7:699
    thwvsf-public.js:610:3
        initialize_thwvsf https://---/wp-content/plugins/product-variation-swatches-for-woocommerce/public/assets/js/thwvsf-public.js?ver=2.0.7:610
        thwvsf_public https://---/wp-content/plugins/product-variation-swatches-for-woocommerce/public/assets/js/thwvsf-public.js?ver=2.0.7:664
        <anonymous> https://---/wp-content/plugins/product-variation-swatches-for-woocommerce/public/assets/js/thwvsf-public.js?ver=2.0.7:699
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ThemeHigh

    (@themehigh)

    Your issue needs a detailed check. Could you please raise a ticket through our website? We hope our technical team will be able to help you.

    Thank you!

    Plugin Author ThemeHigh

    (@themehigh)

    Since we haven’t heard back from you, we believe that your issue is resolved.

    We are going to mark this thread as resolved.

    Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Javascript error when disabling selectWoo script’ is closed to new replies.