News:

Looking for documentation? Take a look on our wiki

Main Menu

Fancy box not showing when adding a product to the cart

Started by Sicos, April 13, 2014, 15:51:45 PM

Previous topic - Next topic

Sicos

Hi,

I upgraded to VirtueMart 2.6.0 today. Everything seems to work fine except for one thing. Normally when I add a product to the cart I would get a fancybox that said "the product xxxx is added to the cart" and I would have the option to show the cart or keep on shopping. When I now add a product to the cart I directly go to the cart checkout page. The selected product is there... but I want to have the fancybox back. In the Configuration --> Templates the option "Use fancybox"  is checked. Am I missing something somewhere?

The site specs:
http://www.wanwiswebwinkel.nl
Upgraded from 2.0.26d to 2.6.0
Linux speedy.nedlinux.com 2.6.18-371.el5xen #1 SMP Tue Oct 1 10:03:20 EDT 2013 i686
Database versie    5.5.32
Database collatie utf8_general_ci
PHP 5.3.17
Joomla! 2.5.19 Stable [ Ember ] 6-March-2014 14:30 GMT

jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Sicos

Woeps... sorry about that. I did make a typo.

http://www.wanwisawebwinkel.nl

Just as an add on. I use one page checkout from www.rupostel.com. Don't know if that has anything to do with it but just to have the complete picture.

I use the latest version --> Apr 09 2014 com_onepage2.0.236.zip

jenkinhill

You have a JavaScript problem preventing fancybox from running. This is due to loading more than one jQuery version - you load three:

<script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js" type="text/javascript"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js" type="text/javascript"></script>
<script type="text/javascript" src="/templates/wanwisawebwinkel/jquery.js"></script>

Fancybox should work OK on versions up to to 1.7.1 so you will have to look at the coding. I'd start by preventing the template jQuery from loading - I have seen to many js problems with Artisteer templates before.  Info on debugging is in http://forum.virtuemart.net/index.php?topic=119638.0
Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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

Sicos

I think i removed the duplicate jquery libraries. But still no lock.

Any more ideas?

Greetings,
Kees

rage76

try installing plugin jqueryintegrator or something similar with noConflict.

that worked for me...