Auto close Quick Buy modal

Hi all, I’m building a website where customers need to add multiple items from a list to the cart. To speed up the interaction, I placed the add to cart button in a quick buy window that opens from each item on the list.

Now. I want to automatically close the modal when an item is successfully added to the cart (using the click on the add to cart button as a trigger for an animation doesn’t work).

How would I go about doing it? Ideally I would like to trigger an animation created with the interaction panel.


1 Like