Author Topic: Display modal popup doesn't appear  (Read 5271 times)

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27572
  • Always on vacation
    • Jenkin Hill Internet
Re: Display modal popup doesn't appear
« Reply #15 on: January 25, 2014, 12:04:05 pm »
JavaScript conflict:
TypeError: jQuery(...).fancybox is not a function

You are loading 4 different copies of jQuery. Firstly you correctly load the required VirtueMart version. Then you load these!

<script src="/components/com_imageshow/assets/js/jquery.min.js" type="text/javascript"></script>  ---- Imageshow component
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>  ---- Videobox plugin
<script src="/templates/supersignfactory233/jquery.js"></script> ---- Artisteer template

These later versions prevent the fancybox script from running so you won't get the add to cart popup.

See  http://forum.virtuemart.net/index.php?topic=119638
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VM 3.6.8 10204 on Joomla 3.9.13 PHP 7.0.33