Home Forums WoodMart support forum Perfmatters JavaScript optimization – Question

Perfmatters JavaScript optimization – Question

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #648300

    Marco
    Participant

    Hello,

    I would like to use Perfmatters to defer the loading of JavaScripts, but as soon as I activate this, adding to the wish list no longer works.

    The following entries are already in my exclude list:

    add-to-cart
    filter
    elementor-frontend.min.js
    elementorFrontend
    elementor
    jquery.min.js
    imagesloaded.min.js

    Which entry is missing? Which JavaScripts am I not allowed to defer?

    Many thanks for your help!
    Marco

    #648389

    Luke Nielsen
    Keymaster

    Hello,

    Try to disable the “Ajax Add to cart” here – https://prnt.sc/BeEtsaI1uyPI then recheck the issue.

    Kind Regards

    #648805

    Marco
    Participant

    Hi Luke,

    even if I deactivated “Ajax Add to cart” it unfortunately does not work. And of course I want to keep the function to add something to the cart with Ajax, so that the cart widget opens automatically.

    in the attachment you will find another screenshot with the settings of perfmatters.

    Thank you
    Marco

    Attachments:
    You must be logged in to view attached files.
    #648883

    Luke Nielsen
    Keymaster

    Hello,

    Update the list of exclusions to the one below:

    jquery-?[0-9.](.*)(.min|.slim|.slim.min)?.js
    helpers
    clickOnScrollButton
    menuOffsets
    menuDropdownsAJAX
    offCanvasCartWidget
    offCanvasMyAccount
    mobileNavigation
    menuClickEvent
    menuStickyOffsets
    cart-fragments
    swiper
    singleProductGallery
    js.cookie
    imagesLoaded
    ageVerify
    magnific-popup

    Clear the cache and recheck the issue. If it doesn’t help you, send access to the admin panel so I can check what is wrong there.

    Kind Regards

Viewing 4 posts - 1 through 4 (of 4 total)