Have a look at this event: shopware/jquery.ajax-variant.js at 5.4 · shopware/shopware · GitHub
Kind regards