VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Development & Testing => Topic started by: corkys on November 07, 2014, 00:08:29 AM

Title: [solved]Jquery is undefined. Fancybox doesn't work on product details page.
Post by: corkys on November 07, 2014, 00:08:29 AM
As title says, I can't get fancybox to work. I even tried injecting the jquery.min.js file directly into my template, and that helped but gave me additional errors. Fancybox worked until I upgraded Virtuemart.

I'm using Virtuemart 2.9.9.2 on Joomla 2.5.22. 
Title: Re: Jquery is undefined. Fancybox doesn't work on product details page.
Post by: jenkinhill on November 07, 2014, 12:43:26 PM
Using a commercial temlate? What happens with Beez?

2.9.9.3 is the current public testing version.
Title: Re: Jquery is undefined. Fancybox doesn't work on product details page.
Post by: corkys on November 07, 2014, 17:06:22 PM
Niether Beez5, Beez2, or Atomic work either.

I will upgrade to the current testing version
Title: Re: Jquery is undefined. Fancybox doesn't work on product details page.
Post by: corkys on November 07, 2014, 20:45:40 PM
I upgraded and still jquery is undefined. I have checked and unchecked everybox in the virtuemart configuration relating to jquery and nothing changes.
Title: Re: Jquery is undefined. Fancybox doesn't work on product details page.
Post by: Milbo on November 07, 2014, 21:24:24 PM
It works for 1000 others. Do use maybe google jquery and work local without internet? firewall?
Title: Re: Jquery is undefined. Fancybox doesn't work on product details page.
Post by: corkys on November 07, 2014, 22:27:46 PM
I have tried using both the google and the local with same results. By default, it is not loading jquery into the head of the page. Only mootools is loaded.

Do I need to upgrade Joomla?
Title: Re: Jquery is undefined. Fancybox doesn't work on product details page.
Post by: corkys on November 07, 2014, 22:50:22 PM
I still had the old template files from the previous version on the server and they were being loaded instead of the new default template. Deleting those old files made everything work. Thanks for help.