• Resolved jpegman

    (@jpegman)


    Hello. I connect jquery to the header and product-ajax.min.js connects before jquery. I solved the problem by specifying my jQuery dependencies in the public_html/wp-content/plugins/ecommerce-product-catalog/includes/product-ajax.php. I know it’s not right. After that, errors appeared in the console:

    Uncaught TypeError: Cannot read property 'applyFilters' of undefined
        at HTMLDocument.<anonymous> (product-ajax.min.js?1541679452&ver=4.9.8:6)
        at i (jquery-2.2.4.min.js?ver=4.9.8:2)
        at Object.fireWith [as resolveWith] (jquery-2.2.4.min.js?ver=4.9.8:2)
        at Function.ready (jquery-2.2.4.min.js?ver=4.9.8:2)
        at HTMLDocument.J (jquery-2.2.4.min.js?ver=4.9.8:2)

    Please help to solve the problem..

    ru:
    Привет. Я подключаю jquery в header, а product-ajax.min.js подключается перед jquery. Я решил проблему указав в зависимостях мой jquery в файле public_html/wp-content/plugins/ecommerce-product-catalog/includes/product-ajax.php. Я знаю что это не правильно. Пожалуйста помогите решить проблему..

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author ndre

    (@ndre)

    Hello @jpegman,

    Your page doesn’t have the main eCommerce Product Catalog JavaScript file included.

    The problem is probably caused by incorrect jQuery implementation. Why do you implement your own jQuery? WordPress already has jQuery implemented.

    Thread Starter jpegman

    (@jpegman)

    Thanks. Tried to disable my jquery and it worked

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

The topic ‘Ajax sorting does not work’ is closed to new replies.