An event that triggers when a cart is updated.
The onCartUpdated()
event handler runs when a cart is updated. The received CartUpdated
object contains information about the cart that was updated and event metadata.
Note: Backend events don't work when previewing your site.
Information about the cart that was updated and event metadata.