GuidesAPI ReferenceChangelogDiscussions
Log In

Applies to: Cart Updated

The cart_updated_source references the various locations in which a cart can be updated. This means the source in which a cart can have products added or removed

The sources include:

collection_quick_add: When a user is in a collection and selects the quick add in order to add the product to cart


search_quick_add: When a user is given the option to add a product from the search


cart_add_favorites: When in the cart and the option to add different products from your favorites is given to the user. Enabled via theme option.


cart_increase_quantity: When the user is in the cart and presses the ‘+’ to increase the quantity of a single item


pdp_direct_add: When the user is directly in a product page and adds a product to cart


wishlist_cart_add: When the user adds an item to the cart from the (new) wishlist screen


cart_decrease_quantity: Removing a product by decreasing a product quantity in the cart


delete: Removing an item by clicking the delete icon in the cart


custom_block_add: When a user updates their cart by adding a product from a custom block


wishlist_all_add: When a user updates their cart by adding all of their wishlist items to their cart