con
(@conschneider)
Engineer
Hi there,
Do you mean this one: https://d.pr/i/1OUF8w ?
And you want to disable the function because you don’t want people to be able to remove items from the cart?
Kind regards,
HI Con a11n,
Thank you for your reply.
Yes, that is the remove function I am talking about.
No, I am fine with the user removing the product. It just I have a mini cart function on the site that display the number of products in the cart. But the number of items won’t update itself after products are removed from the cart, therefore, I want to trigger a page reload after products are removed.
Thank you
Steve
con
(@conschneider)
Engineer
Hi there,
But the number of items won’t update itself after products are removed from the cart, therefore, I want to trigger a page reload after products are removed.
Gotcha.
How about: https://stackoverflow.com/questions/39312360/run-jquery-after-woocommerce-ajax-cart-update or https://github.com/woocommerce/woocommerce/issues/11064#issuecomment-351456555
Kind regards,
Hi @steve-8bm
We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.