• Resolved squinn009

    (@squinn009)


    There is a bug in the new 3.18 version of BC4WP that I noticed where if you click the Add to Cart button for any product and have the mini cart enabled, an “Uncaught TypeError: Cannot read property of undefined” shows up within the console.

    I’ve tracked the issue to this file: /assets/js/src/public/cart/cart-menu-item.js

    Line 46

    The Minicart is completely broken and won’t show the newly added items unless you refresh the page. I had to roll back to version 3.17 in order for it to work again.

    It appears that the targeted node class names were updated from the standard ‘.bc-cart-item__’ to a name convention, I can’t find anywhere within the plugin ‘.header-cart-link .cart-icon strong’

    This looks like a massive break within the plugin and needs to be looked at immediately. Please let me know if anyone has a solution for this. Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Mini-cart Not Updating when add to cart clicked’ is closed to new replies.