VirtueMart Forum

VirtueMart 2 + 3 + 4 => Frontend Modules => Topic started by: ne0beatsm0rp98 on October 17, 2012, 10:09:21 AM

Title: Shopping Cart not popping up and need to refresh to show cart items
Post by: ne0beatsm0rp98 on October 17, 2012, 10:09:21 AM
Shopping cart has been working fine, then all of a sudden (from yesterday) the shopping cart no longer pops up when a item has been added, and you need to refresh the page to see cart items.
I never installed anything yesterday or messed with settings, only thing i did was add products to the catalog.

I have enabled pop up in backend too so cant be that.
Any ideas peeps?
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: bytelord on October 17, 2012, 19:58:42 PM
Hello,

It could be a js conflict, do you have any live url to check it?

Regards
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: ne0beatsm0rp98 on October 19, 2012, 12:52:52 PM
Sorry yes its http://www.computerwormsliverpool.com
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: bytelord on October 19, 2012, 14:07:43 PM
Hello,

You could firebug to examine it: http://forum.virtuemart.net/index.php?topic=102850.0
Also please read: http://dev.virtuemart.net/projects/virtuemart/wiki/General_JS-Problems_with_templates_and_jQuery
http://dev.virtuemart.net/projects/virtuemart/wiki/JavascriptCSS_Template_Overrides_and_Avoiding_Conflicts_between_Libraries

The following error is appearing using firebug that means that facebox from your template js or plugin/modules js conflicts.

TypeError: $.facebox is undefined
[Break On This Error]    

$.facebox.settings.closeImage = closeImage;


btw, try from vm backend under Configuration-> Templates -> Activate Css Styles & Javascripts to enable the options that may be missing.

Regards
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: ne0beatsm0rp98 on October 19, 2012, 15:11:06 PM
Im really confused as theres nothing i can see called Facebox on my site. When i googled it, it is something to do with a facebook box which shows feeds etc, but i dont have anything like that on my site at all.
I have disabled all jqueries running apart from my image scroller as it doesnt work with out running jquery.
Installed buglite but dont have a clue how to use the damn thing.

I have also disabled JQuery in VM too, no change, also tried disabling google jquery too, no good.

By disabling both jquery and google jquery now when you click add to cart it takes you to cart instead of pop up.
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: bytelord on October 19, 2012, 15:26:52 PM
use firebug to see exactly. You are using too much JavaScript on your site from third-party plugins and modules (like chat, etc).
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: ne0beatsm0rp98 on October 19, 2012, 15:44:21 PM
It has been sorted now. For anyone else in case they have the same issue, it was VM Zoom, which is obviously a plug in for zooming images on VM.
Once i disabled jquery for this all has gone back to normal.

Thank you to the mods who helped :)
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: bytelord on October 19, 2012, 15:55:28 PM
Hello,

Take a look on that plugin ... http://forum.virtuemart.net/index.php?topic=105768.0
Is based on forum free solutions and is also free, uses the free js plugin cloud zoom.

Also on that post: http://forum.virtuemart.net/index.php?topic=103306.15
In case you want to made it by your own, without vm plugins or vm modules

Regards
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: ne0beatsm0rp98 on October 19, 2012, 17:23:14 PM
Hi, that was the one i had, i just needed to unselect the jquery option to no and sorted :)
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: bytelord on October 19, 2012, 17:59:06 PM
great, always remember do not load many instances of jquerry, only one.

Regards
Title: Re: Shopping Cart not popping up and need to refresh to show cart items
Post by: CenturionSigns on February 15, 2013, 00:06:32 AM
Same problem here. :(

I have uninstalled as many extensions as I can, and still can't seem to get it to work again?  Can someone help me pinpoint the problem and how to fix?  recogneyes.co.uk