Fly to cart and toggle animation K.O. with add to cart ajax call
-
Hello,
Thanks a lot for this awesome plugin, I have the premium version and is working pretty well, however I’m adding a search bar to my site that throws products upon search and I’m adding an add to cart ajax request through a custom button with:
<form class=”cart” action=”?add-to-cart=XXX”>
<button type=”submit”>Add to Cart</button>
</form>This is working fine adding a product to the side cart/basket. But the problem is that the fly to cart animation and basket toggle are not working for this customization. Also I’m having an error in console:
Uncaught TypeError: imgtodrag.clone is not a function
at fly_to_cart (xoo-wsc-public.js:652)
at HTMLDocument.<anonymous> (xoo-wsc-public.js:156)
at HTMLDocument.dispatch (jquery.js:3)
at HTMLDocument.r.handle (jquery.js:3)
at Object.trigger (jquery.js:3)
at Object.a.event.trigger (jquery-migrate.min.js:2)
at HTMLBodyElement.<anonymous> (jquery.js:3)
at Function.each (jquery.js:2)
at a.fn.init.each (jquery.js:2)
at a.fn.init.trigger (jquery.js:3)Is it possible to somehow bring this fucntions up by using the aforementioned form with anchore links?
Thanks a lot in advance
Branto
- The topic ‘Fly to cart and toggle animation K.O. with add to cart ajax call’ is closed to new replies.