NO BUG: Under certain circumstances, the product will not be removed from the mini cart by ajax

Browser: Chrome 115
OS: Windows

If we disable the Enable AJAX add to cart buttons on archives option in the WooCommerce settings, then the products will not be removed from the Mini cart by AJAX. Is this a normal behavior?

Because the Enable AJAX add to cart buttons on archives option only refers to the addition to the cart.

Hi Jolia,
Thanks so much for your report!

Unfortunately, I cannot reproduce the issue.

Are there any console errors on/after clicking the “remove” icon?
Would you be so kind as to provide a live link?
Have you tried it with disabled plugins too?

Best regards,
timmse

No, no error appears. Only the product is not removed from the mini cart by Ajax. When I re-enable this option, the problem is solved.

I will share a link soon.

Hey Jolia,
Sorry - I overread “in the WooCommerce settings”.

My guess is that we are relying on WooCommerce functions in the mini cart that are no longer available due to the disabled setting. I’ll double-check with our developers :v:

1 Like

Hi Jolia, as suspected:

The native Woo setting controls the mini cart “remove product” action. Disable that will make the whole page refresh. So, it is the expected result. Not bricks related.

You will probably get this behavior with the official Storefront theme as well.

1 Like