News:

Looking for documentation? Take a look on our wiki

Main Menu

Error on checkout page

Started by Meton, July 19, 2015, 23:53:34 PM

Previous topic - Next topic

Meton

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();



   
Joomla!         3.6.5
VirtueMart     3.0.18

PostHistorie.nl

Did you ever figure this out? I have the same problem...

dennisloyd

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

GJC Web Design

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation