• Resolved microteq

    (@microteq)


    Hi

    Since the Update to 7.9.0, my mini cart does not open anymore, neither on desktop nor on mobile.

    Best regards.

    PS: For now, I changed back to 7.8.2

    • This topic was modified 1 year, 7 months ago by microteq.

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

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @microteq

    Since the Update to 7.9.0, my mini cart does not open anymore, neither on desktop nor on mobile.

    From what I understand, you’re experiencing issues with your mini cart not opening since you updated to version 7.9.0.

    The Cart Fragments script, responsible for updating the cart widget after a successful add-to-cart event, can cause a performance issue on stores not making use of that functionality. To mitigate this, the script will now only be enqueued if using the Mini Cart widget.

    This change was implemented with WooCommerce 7.8.

    Stores with similar functionality (e.g. from a theme) that are not using the widget can re-enable this functionality by either adding the widget to one of their widget areas/sidebars or by enqueuing the script manually:

    function enqueue_wc_cart_fragments() { wp_enqueue_script( 'wc-cart-fragments' ); }
    add_action( 'wp_enqueue_scripts', 'enqueue_wc_cart_fragments' );

    If you’re looking for an alternative to the Mini Cart widget that does not suffer from the performance issue, try the Mini Cart Block instead.

    You can read more about this change below:

    In case none of the above steps work, could you send us a copy of your site’s System Status? This will give us a clearer picture of your site’s setup and help us pinpoint the problem. You can find it via WooCommerce > Status. Select Get system report and then Copy for support.

    Additionally, could you also provide us with the fatal error logs (if any) under WooCommerce > Status > Logs.

    Once you’ve got that, you can paste them right here in your reply, or use https://pastebin.com/ to paste it there and share it with us.

    Thanks for your patience and cooperation. I’m looking forward to your response so we can resolve this issue for you.

    Thread Starter microteq

    (@microteq)

    Hi

    Many thanks for your answer.

    We do not use any widget. We use a block theme and also use the mini cart block. When we click the mini cart block symbol, the mini cart seems to open for a microsecond and then just closes itself. This is new. When we go back to 7.8.2, everything works fine.

    Best regards.

    • This reply was modified 1 year, 7 months ago by microteq.
    Thread Starter microteq

    (@microteq)

    Here is the link to the status report:

    https://pastebin.com/g2JMP23S

    There are no error logs.

    Best regards.

    Hi @microteq ,

    Thanks for sharing the above, everything looks good in your sites SSR, nothing unusual seems to be standing out.

    This is not something I am able to reproduce on my test site, which uses the latest version of WooCommerce core and WordPress, as well as the default Storefront theme, as the Mini Cart block is functioning as expected on the front end of the site.

    I’d suggest performing a conflict test to rule out any theme/plugin conflicts causing the issue since we are unable to reproduce this.

    You can read more on how to performing a full conflict test, here:

    Should the issue persist, since you have downgraded to WooCommerce 7.8.2 in the meantime, can you please upgrade WooCommerce to 7.9.0, enable the Mini Cart block and then check for any console errors on that page (front end of the site) and share your findings with us here.

    You can read more about?using your browser console to identify errors here.

    Cheers!

    Thread Starter microteq

    (@microteq)

    Ok, it works now, but the solution is VERY strange:

    I changed to TwentyTwentyThree theme, edited the mini cart template part by changing the texts of the two buttons, then changed back to my own theme, and from then it works. I repeated this exact scenario with two web sites, the test web site, which was a copy of the original and then with the productive site, and I had the exact same behaviour.

    Best regards.

    Hi @microteq

    Ok, it works now, but the solution is VERY strange:

    I changed to TwentyTwentyThree theme, edited the mini cart template part by changing the texts of the two buttons, then changed back to my own theme, and from then it works. I repeated this exact scenario with two web sites, the test web site, which was a copy of the original and then with the productive site, and I had the exact same behaviour.

    I’m glad to hear that you found a workaround, although it does sound quite unusual. It’s possible that there was a small conflict or bug that got resolved when you switched themes and edited the mini cart template. Sometimes, these issues can be theme-specific or related to certain customizations.

    I would recommend keeping an eye on the mini cart functionality to make sure it continues to work properly. If the issue reoccurs, it would be helpful to know if there are any specific steps that trigger it. In the meantime, I would also suggest keeping your WordPress, theme, and plugins up-to-date to ensure optimal performance and security.

    I’ll go ahead and mark this thread as resolved. However, if you ever have more questions or issues in the future, don’t hesitate to kick off a new topic.

    I hope you have a wonderful day!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Minicart does not open anymore’ is closed to new replies.