Home Forums WoodMart support forum Delay javascript mini cart

Delay javascript mini cart

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #529564

    vgnpws
    Participant

    Hi there,

    atm I am trying to optimize speed. Therefore, I activated the perfmatters plugin.

    Unfortunately the delay javascript functions breaks the mini cart widget, because there’s no content visible inside the cart. See screenshot.

    I excluded the following js files, but had no success.

    jquery.min
    helpers.min.js
    clickOnScrollButton.min.js
    menuOffsets.min.js
    menuDropdowns.min.js
    cartWidget.min.js
    mobileNavigation.min.js
    loginSidebar.min.js
    menuSetUp.min.js
    slick.min.js
    productImagesGallery.min.js
    cookie.min.js
    owl.carousel.min.js
    owlCarouselInit.min.js
    imagesLoaded.min.js
    hooks.min.js
    i18n.min.js
    cart-fragments.min.js
    addToCartAllTypes.min.js
    add-to-cart.min.js
    add-to-cart-variation.min.js
    miniCartQuantity.min.js
    updateCartFragmentsFix.js
    woocommerceQuantity.min.js
    jquery.blockUI.min.js
    add-to-cart.min.js
    add-to-cart-variation.min.js
    cart-fragments.min.js
    woocommerce.min.js

    Any idea how to solve this issue?

    Many thanks !

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

    Artem Temos
    Keymaster

    Hello,

    Please, disable all plugins that are not related to our theme and provide us with your admin access. We will log in and check what is wrong there. You can leave only the following plugins that are required for our theme:
    WoodMart core
    WooCommerce
    Elementor/WPBakery page builder

    Thank you in advance

    #531154

    vgnpws
    Participant

    Hi Artem,

    thank you for trying to help me and sorry for the delay in answering.

    I believe I have fixed the issue, but new problems occured, when delay js function is enabled

    1. when adding a product to cart, mini cart does not open automatically
    2. mini cart content appears delayed
    3. Not able to delete products in the mini cart widgets, it loads endlessly
    4. sticky menu not working

    Many thanks in advance!

    #531415

    Artem Temos
    Keymaster

    Hello,

    As we can see, everything works correctly on this website. But you don’t have WP Rocket with the Delay JS option enabled so please, reproduce the error so we can check it.

    Kind Regards

    #531459

    vgnpws
    Participant

    Hi Artem,

    thanks for your prompt reply.

    As I have mentioned in my post, I use the permatters plugin to delay js. I have activated it now.

    Kind Regads

    #531479

    Artem Temos
    Keymaster

    You need to add the following woodmart-theme-js-extra to the exception list.

    Note that adding to the cart still doesn’t work with AJAX. But it seems to be a WooCommerce issue. You can switch to the Storefront theme and see that it doesn’t work there too.

    Kind Regards

    #534722

    vgnpws
    Participant

    Sorry, I thought I have answered already, but it seems I didn’t.

    AJAX add to cart works now, what is fantastic, but the issue with the sticky header and not being able to delete products from mini cart persists.

    Any ideas?

    Thank you again.

    Kind Regads

    #534837

    Artem Temos
    Keymaster

    Hello,

    As we can see, the sticky header works correctly on your website https://gyazo.com/88599de2d70c46b54d53a6ebb23f161b

    But AJAX add to cart still doesn’t work and other AJAX requests don’t work as well.

    Kind Regards

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