Is there a way to listen to an event related to a product being added to the cart when the user clicks the "Add to cart" button on the standard Product Page?
What I would like to do is to add a second product to the cart automatically every time the user adds a certain product.
The way I thought about it was to listen to a "added to cart event" and when that triggers, to add the product I want to the cart.
Any ideas on how to achieve that? The only events available so far on the CartIcon element are only related to mouse movements and the viewport.