Hi, I’m having some trouble with getting instantsearch results to use the ajax add to cart.
Basically the add-to-cart just works like ‘normal’ reloading the page.
I added a data-mage-init=’{“catalogAddToCart”:{}}’ attribute to the hit form and it works when on a catalog page or reloading the current page with query, but any new item forms generated just show the attribute within the form element instead of replacing it and attaching the event to the element.
How do I go about getting the ajax event attached to the dynamic content?
I’ve seen a few old similar questions but no answers, just abandoned threads.
Magento 2.3.4
Algolia Extension 3.0…2