Applies to: Cart Updated
The cart_update_type
property represents the specific type of cart update that occurs. There are many different forms of updates, so this event helps you discern between the cart behavior that occurred.
The enum values include
cart_increase_quantity
: When a user updates their cart by increasing the quantity of an item within their cart
cart_decrease_quantity
: When a user updates their cart by decreasing the quantity of an item within their cart
wishlist_cart_add
: When a user updates their cart by adding an item from their wishlist to their cart
cart_direct_add
: When a user updates their cart by adding a new item from directly within their cart (Ex: Route Protection)
collection_quick_add
: When a user updates their cart by adding a new item directly from the collection page
search_quick_add
: When a user updates their cart by adding a new item directly from search
delete
: When a user updates their cart by deleting an item from their cart
automatic
: When an item is automatically added to a user's cart
cart_add_favorites
: When a user updates their cart by adding an item from their favorites
custom_block_add
: When a user updates their cart by adding an item from a custom block
pdp_direct_add
: When a user updates their cart by adding an item directly from the product page