JS event is not calling after removing the last item
Ripon Sarkar Shahjahan Jewel There is a JS custom event "fluentCartNotifyCartDrawerItemChanged". It is not calling when we are removing the last item from the cart. If your cart has one item and you are removing it then "fluentCartNotifyCartDrawerItemChanged" event is not calling.
I am not sure that it is a bug. Can you enable this event and it will trigger every time?
Ripon Sarkar let's add this to our dev backlog and make it as a priority.
Noted
Shahjahan Jewel there are any js documentation in your dev docs? If you add all the trigger events details and other things, then it would be very good for us.
If we can also check "cart is empty" vis JS code like woocommerce has one for it, then we can toggle the div/section etc. and it would be very help for the bricks interactions feature. Right now I did not find any thing about it.
FluentBricks Addon We have all the required events, but unfortunately, they are not documented yet. We are hoping to release the documentation soon.
Ripon Sarkar ok. Thank you. Please add the js code Or event for "cart is empty" also. It would be very usefull for the theme builder. We should toggle some items based on it. In woocommerce, it is storing in cookie.