Author Topic: "check out now" button in cart wont work!  (Read 568 times)


  • Jr. Member
  • **
  • Posts: 109
    • JoomlaJoy
"check out now" button in cart wont work!
« on: May 16, 2018, 09:52:40 am »

the "check out now" button in cart won't work, i think it's because js conflict.
in console i see this error
Code: [Select]
Uncaught TypeError: jQuery(...).vm2front is not a function
    at HTMLDocument.<anonymous> (cart:620)
    at i (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
    at Object.fireWith [as resolveWith] (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
    at Function.ready (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
    at HTMLDocument.K (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
dynupdate.js?vmver=33123883:136 Uncaught TypeError: $(...).vm2front is not a function
    at HTMLFormElement.<anonymous> (dynupdate.js?vmver=33123883:136)
    at HTMLFormElement.dispatch (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:3)
    at HTMLFormElement.r.handle (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:3)
    at Object.trigger (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:3)
    at Object.a.event.trigger (jquery-migrate.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
    at HTMLFormElement.<anonymous> (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:3)
    at Function.each (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
    at a.fn.init.each (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:2)
    at a.fn.init.trigger (jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:3)
    at a.fn.init.n.fn.(anonymous function) [as submit] (http://localhost/may/media/jui/js/jquery.min.js?5f244f9a40249b3629bc6e1582f4941d:4:16320)

and vm configuration for loading js files are as shown in picture below:

and js files loaded on page are as shown below:

what should i do to make cart button work?
what conflicts do you find?

any help would be appreciated. thanks..


  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 27669
  • Always on vacation
    • Jenkin Hill Internet
Re: "check out now" button in cart wont work!
« Reply #1 on: May 16, 2018, 10:49:33 am »
You are not loading vmsite.js   - and probably you need to enable Using the Script ajax Countries / Regions

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

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

Currently using VM 3.6.11 10292 on Joomla 3.9.16 PHP 7.0.33