The scCartUpdate snippet is used in the scCart Chunk and handles making changes to the cart, such as changing the quantity or removing a product from the cart completely. For adding products to the cart the scAddProduct snippet is used.