News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Uncaught TypeError: Object [object Object] has no method 'vm2front'

Started by Filipa-F, January 27, 2014, 13:45:17 PM

Previous topic - Next topic

Filipa-F

Hi,

I'm getting this error on my page, can someone please help.

http://www.gostofino.co.uk/index.php/order-online-menu/cart

and there is also a lot of things like prices not showing up in the cart not sure if it's something to do with it?
I'm not very advanced in web design so may be that it's a simple issue but I don't know how to resolve it.

I have checked previous topics about the conflict between Simple Image Gallery Pro and so I have unpublished it.
Awaiting help :) thanks in advance.

jenkinhill

I did not see that error on your site.  You do seem to have a JavaScript issue with jQuery, here are the versions "loading":

<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>  ------ ?for template
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.6.4/jquery.min.js" type="text/javascript"></script>   ------- for VirtueMart, but not loading
<script src="http://www.gostofino.co.uk/modules/mod_zt_virtuemart_scroller/assets/js/jquery-1.7.1.min.js" type="text/javascript"></script>  ----- for scroller module

As you can see the url for the VM version is incomplete so it is not loaded, which is OK as VM can use the 1.7 version loaded by the template. Then you go and load 1.7.1 for a module. Try turning off that module or maybe edit it so that it does not load its own jQ.

Prices not showing in the cart could be a template issue. What versions of Joomla/VM are you using, and was the template built for that VM version or for an earlier version?

http://forum.virtuemart.net/index.php?topic=119638.0
http://forum.virtuemart.net/index.php?topic=108212.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

Filipa-F

Joomla 2.5.17
and VM 2.0.26d

I think my website template was using VM 2.0.20 or 22b originally before I updated to the latest.

That error only shows up when you go to show shopping cart otherwise it doesn't.
i've tried all the other supports for why the prices may not show but like you say it may be because of template issue.