Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    Our QA will be back from the vacation in a week and check possible issues with WP Rocket.

    I have installation with WP Rocket and our filters and everything is working. Most likely one of the features WP Rocket has is causing the issue. While it is off everything is working.

    Regards,
    Dmytro

    Thread Starter theotheo

    (@theotheo)

    That’s true, wp rocket combining javascript feauture caused the issue. Maybe you can make your filters work even when wp rocket combines your js as an improvement of course if it is possible.

    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    We will check what could be issue and try to fix it in next plugin release.

    Regards,
    Dmytro

    To be specific, I am experiencing problems with price filter when “delayed JS execution” is turned on in WP Rocket.

    The normal slider turns into a text field when that is on. You have an example here: https://shopnetic.de/wirtschaft-industrie/arbeitsschutzausruestung/arbeitshandschuhe/

    If you apply ?nocache, you will see the difference.

    I have tried to exclude things, but without any success…

    • This reply was modified 2 years, 3 months ago by Elliot.
    • This reply was modified 2 years, 3 months ago by Elliot.
    Plugin Author Dmytro Holovnia

    (@dholovnia)

    Hi,

    This file https://shopnetic.de/wp-content/plugins/woocommerce-ajax-filters/assets/frontend/js/main.min.js?ver=1.6.3.1 is expecting to have ionRangeSlider loaded before it.
    Try to exclude file https://shopnetic.de/wp-content/plugins/woocommerce-ajax-filters/template_styles/js/ion.rangeSlider.js.

    Regards,
    Dmytro

    Hi,

    Oh! I have no idea how I missed this reply… Sorry about that.

    Thanks for the tip. In the meanwhile, I-ve alerted WP rocket as well and they have came up with this list for delaying JS execution exclusion:

    /jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
    /jquery-migrate(.min)?.js
    eu-library.klarnaservices.com/lib.js
    /wp-includes/js/thickbox/thickbox.js
    /wp-includes/js/jquery/ui/core.min.js
    /wp-includes/js/jquery/ui/mouse.min.js
    /wp-includes/js/jquery/ui/slider.min.js
    /wp-content/plugins/woocommerce/assets/js/jquery-blockui/jquery.blockUI.min.js
    /wp-content/plugins/woocommerce/assets/js/js-cookie/js.cookie.min.js
    /wp-content/plugins/woocommerce/assets/js/zoom/jquery.zoom.min.js
    /wp-content/plugins/woocommerce/assets/js/flexslider/jquery.flexslider.min.js
    /wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe.min.js
    /wp-content/plugins/woocommerce/assets/js/photoswipe/photoswipe-ui-default.min.js
    /wp-content/plugins/woocommerce-ajax-filters/template_styles/js/ion.rangeSlider.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/woocommerce.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/cart-fragments.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/single-product.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/country-select.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/address-i18n.min.js
    /wp-content/plugins/woocommerce/assets/js/frontend/cart.min.js
    /wp-content/plugins/woocommerce-ajax-filters/assets/frontend/js/main.min.js
    /wp-content/plugins/klarna-onsite-messaging-for-woocommerce/assets/js/klarna-onsite-messaging.js
    /wp-content/plugins/klarna-checkout-for-woocommerce/assets/js/klarna-checkout-for-woocommerce.min.js
    /wp-content/plugins/fifu-premium/includes/html/js/image.js
    /wp-content/plugins/complianz-gdpr-premium/cookiebanner/js/complianz.min.js
    /wp-content/plugins/auto-infinite-scroll/include/js/custom.js
    /wp-content/plugins/oxygen/component-framework/vendor/aos/aos.js

    In my case, this worked like a charm. I also think that they have gone a step further and fixed some “invisible” issues on the way (everything they have seen in console errors). Maybe these exclusions will work for somebody else as well.

    • This reply was modified 2 years, 2 months ago by Elliot.
    • This reply was modified 2 years, 2 months ago by Elliot.
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Wp rocket breaks plugin functionality’ is closed to new replies.