VirtueMart Forum

VirtueMart 2 + 3 + 4 => Templating & Layouts => Topic started by: Meton on July 19, 2015, 23:53:34 PM

Title: Error on checkout page
Post by: Meton on July 19, 2015, 23:53:34 PM
Hi guys,

I am getting the following error message on the checkout page. It all works but i cannot stand a error.

TypeError: jQuery(...).vm2front is not a function
   jQuery(this).vm2front("stopVmLoading");

Any ideas?

I am using my own written template. (i dont have a live URL atm)

Kind regards,

Meton


<script id="vm.checkoutFormSubmit_js" type="text/javascript">//<![CDATA[
jQuery(document).ready(function($) {
      jQuery(this).vm2front("stopVmLoading");
      jQuery("#checkoutFormSubmit").bind("click dblclick", function(e){
         jQuery(this).vm2front("startVmLoading");
         e.preventDefault();



   
Title: Re: Error on checkout page
Post by: PostHistorie.nl on May 05, 2016, 16:16:26 PM
Did you ever figure this out? I have the same problem...
Title: Re: Error on checkout page
Post by: dennisloyd on August 18, 2016, 07:15:46 AM
Quote from: Meton on July 19, 2015, 23:53:34 PM
Hi guys,

I am getting the following error message on the checkout page. It all works but i cannot stand a error.

TypeError: jQuery(...).vm2front is not a function
   jQuery(this).vm2front("stopVmLoading");

Any ideas?

I am using my own written template. (i dont have a live URL atm)

Kind regards,

Meton


<script id="vm.checkoutFormSubmit_js" type="text/javascript">//<![CDATA[
jQuery(document).ready(function($) {
      jQuery(this).vm2front("stopVmLoading");
      jQuery("#checkoutFormSubmit").bind("click dblclick", function(e){
         jQuery(this).vm2front("startVmLoading");
         e.preventDefault();

Did you solve this buddy? I am also facing the same problem. Pls share with us if you have figured it out. Would appreciate your help!

thx
Title: Re: Error on checkout page
Post by: GJC Web Design on August 18, 2016, 09:30:28 AM
http://forum.virtuemart.net/index.php?topic=79799.0

assume your template is out of date.. not loading vmsite.js?