Home › Forums › WoodMart support forum › Delay javascript mini cart
Delay javascript mini cart
- This topic has 7 replies, 2 voices, and was last updated 1 year, 3 months ago by
Artem Temos.
-
AuthorPosts
-
January 13, 2024 at 3:44 pm #529564
vgnpwsParticipantHi 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.jsAny idea how to solve this issue?
Many thanks !
Attachments:
You must be logged in to view attached files.January 15, 2024 at 10:19 am #529743
Artem TemosKeymasterHello,
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 builderThank you in advance
January 18, 2024 at 1:56 pm #531154
vgnpwsParticipantHi 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 workingMany thanks in advance!
January 19, 2024 at 10:16 am #531415
Artem TemosKeymasterHello,
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
January 19, 2024 at 11:51 am #531459
vgnpwsParticipantHi 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
January 19, 2024 at 12:41 pm #531479
Artem TemosKeymasterYou 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
January 29, 2024 at 10:03 pm #534722
vgnpwsParticipantSorry, 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
January 30, 2024 at 10:26 am #534837
Artem TemosKeymasterHello,
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
-
AuthorPosts
- You must be logged in to create new topics. Login / Register