• Resolved enrique1siv

    (@enrique1siv)


    My issue relates to the update of the minicart widget product when there is an update on the quantity value on the cart page. Basically a theme builder claims that they can’t support this issue because Woocommerce has removed support for the mini cart widget on the Cart page. Is this correct?

Viewing 8 replies - 1 through 8 (of 8 total)
  • Hi @enrique1siv

    Thanks for reaching out!

    I would be happy to assist you, but I am not quite sure I understand your inquiry. Could you please provide additional details or clarify your question, so I can better assist you?

    If a screenshot would be helpful, I’d recommend using https://snipboard.io. You can share the direct link to the image as a response to this topic.

    Once we have more information, we’ll be able to assist you further.

    Thread Starter enrique1siv

    (@enrique1siv)

    Hi there,

    The issue is the autoupdate both cart and minicart on quantity change on woocommerce cart page.

    The problem is described in the Topic 2 of this article https://xtemos.com/forums/topic/wc-minicart-not-updating-how-to-fix/

    It was resolved succesfully by adding a snippet on a particular application

    However, my case is that I bought a Theme from Qode Interactive and the support team is not willing to resolve the same issue claming, I quote:

    As WooCommerce has removed support for the mini cart widget on the Cart page and its scripts in the latest plugin version, we decided to do the same thing because our widget followed that WooCommerce functionality and used the same functions and scripts. Therefore the reason why our cart widget is not working correctly on the Cart page and why we need to disable it.

    In the version woocommerce v7.0.1 the functionallity was Ok but in the current version woocommerce v8.3.1 is not working well.

    My question is is this answer accurate, in other words has woocommerce remove support for the mini cart widget on the cart page?

    If so couldn’t it be reverted so doesn’t affect other people?

    Plugin Support Shameem R. a11n

    (@shameemreza)

    Hi @enrique1siv

    As of WooCommerce version 8.3.1 (or even 8.4.0), there has been no official announcement, documentation, or changelog stating that support for the mini cart widget on the cart page has been removed. I also didn’t notice any open issues related to the Mini cart widget on our GitHub repo here.

    However, I’ve personally tested the mini cart widget across various themes such as Storefront, Astra, and Twenty Seventeen. Everything seems to be working perfectly from my end.

    Direct link: https://vgy.me/u/FE0xu2

    Could you kindly insert this code snippet into your child theme’s functions.php or use a plugin like Code Snippet? After doing this, please check if it works.

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

    If this still doesn’t work, I suggest you use the Mini Cart Block instead of the Mini Cat Widget.

    You can also share this guide with the theme developer. It will help them update their theme to work with the cart fragments API.: https://developer.woo.com/2023/06/16/best-practices-for-the-use-of-the-cart-fragments-api/

    I hope this helps! Please let us know how it goes or if you need further assistance.

    Thread Starter enrique1siv

    (@enrique1siv)

    Hi there,

    The snippet provided work perfectly. Excellent support of all of you 10/10.

    Is the snipet function to disable cart fragments ?

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @enrique1siv,

    Thanks again for getting back to us!

    The given snippet does not disable cart fragments. Instead, it enqueues the WooCommerce cart fragments script. It is used for updating the cart contents count without reloading the page.

    I hope this answers your question.

    Thread Starter enrique1siv

    (@enrique1siv)

    Yes it answers my question. Thanks again.

    Thread Starter enrique1siv

    (@enrique1siv)

    I considered the thread resolved

    Hi @enrique1siv

    I’m glad that @ckadenge answered your question here.

    If you have a moment to spare, we would love it if you could share your thoughts with us by leaving a review or feedback. Your experience and feedback are important to help us improve and ensure we’re always providing the best possible support.

    Thanks!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Has Woocommerce removed support for the mini cart widget on the Cart page’ is closed to new replies.