News:

Support the VirtueMart project and become a member

Main Menu

ad to cart pop up error

Started by StompJames, February 05, 2018, 16:53:27 PM

Previous topic - Next topic

StompJames

Hello,

I have always used my site without the pop up for add to cart but I would like to use it now. When I enable Display modal popup upon 'Add to cart' and Use Fancybox I get the error below:

Uncaught TypeError: $.fancybox.showActivity is not a function
    at Object.cartEffect (update_cart.js?vmver=9293:2)
    at Object.Virtuemart.sendtocart (vmprices.js?vmver=9293:65)
    at HTMLInputElement.Virtuemart.addtocart (vmprices.js?vmver=9293:175)
    at HTMLInputElement.dispatch (jquery.min.js:3)
    at HTMLInputElement.r.handle (jquery.min.js:3)


Does anyone know how to solve this error?

Kind regards,

James

Jörgen

Please
http://forum.virtuemart.net/index.php?topic=79799.0

This is probably a js error (fancybox not loaded) with your template or js configuration in VM, but who knows, You don´t give much.

regards

Jörgen @ Kreativ Fotografi
Joomla 3.9.18
Virtuemart 3.4.x
Olympiantheme Hera (customized)
This reflects current status when viewing old post.

Studio 42

If you have a link, to a page having the problem, we can perhaps help you.

StompJames

Sorry everyone I forgot to add my versions,

VirtueMart 3.0.18
Joomla! 3.6.5

Here is the URL to my staging site:
http://staging.mafiabike.com/index.php/bikes/kush/kush-2
The ssl certificate isn't active currently as it is on the main site so you may see a warning.

Again sorry for my previous post and it's lack of information.

Kind regards,

James

Studio 42

You have a script loading fancybox again
try to disable each modules that can load this second fancybox.
Check in your template setting, or code, if this load fancybox
The second unneeded load is https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.1.25/jquery.fancybox.min.js, i'm pretty sure, it's not the template because https://staging.mafiabike.com/index.php/bikes/kush/kush-2?template=protostar have same error.