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

"check out now" button in cart wont work!

Started by kiasati, May 16, 2018, 09:52:40 AM

Previous topic - Next topic

kiasati

Hi.

the "check out now" button in cart won't work, i think it's because js conflict.
in console i see this error
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

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
Lowestoft, Suffolk, UK

Retired from forum life November 2023

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