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

kiasati

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

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..

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 26993
  • 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

http://forum.virtuemart.net/index.php?topic=137760
Kelvyn

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.4.0.9935 on Joomla 3.8.12 PHP 7.0.31
Testing VM 3.4.0.9941 on Joomla 3.8.12