Open Sanj718 opened 3 years ago
Hello! I want to know if you help to understand how events are working on vanilla js?
$(document).on('cart.requestComplete', function(event, cart) { $('#counter').html(cart.item_count); });
This way is not working:
document.addEventListener('cart.requestComplete', function(event, cart) { // Event handling here. console.log(cart) })
Thank you
Yeah, this isn't working for me either.
Hello, yes, I'm also getting the same issue. Is there any fix for this?
Hello! I want to know if you help to understand how events are working on vanilla js?
This way is not working:
Thank you