VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: 2dmaster on July 20, 2018, 14:39:11 PM

Title: $(...).vm2front is not a function
Post by: 2dmaster on July 20, 2018, 14:39:11 PM
Uncaught TypeError: $(...).vm2front is not a function
    at Object.Virtuemart.updateContent (dynupdate.js?vmver=71261f65:32)
    at HTMLAnchorElement.Virtuemart.updL (dynupdate.js?vmver=71261f65:96)
    at HTMLAnchorElement.dispatch (jquery.min.js:3)
    at HTMLAnchorElement.r.handle (jquery.min.js:3)

ajax listening of products not work any solutions please
Title: Re: $(...).vm2front is not a function
Post by: hellorain on July 20, 2018, 14:46:42 PM
Hello,

jQuery is not loaded.
need to pass jQuery instead of  $.
jQuery(...).vm2front

Best Regards,
hellorain.
Title: Re: $(...).vm2front is not a function
Post by: Studio 42 on July 20, 2018, 17:41:10 PM
@2bmaster, i think you should pay a dev, you really need help for problem that is solved faster as searching and answering you in the forum and time you need to fix the problem yourself
Title: Re: $(...).vm2front is not a function
Post by: Milbo on July 23, 2018, 09:37:02 AM
For me it sounds like that the vm js library is just not loaded. Maybe the template disabled it.
Title: Re: $(...).vm2front is not a function
Post by: GJC Web Design on July 24, 2018, 18:04:56 PM
jq easy isn't necessary on a J3/VM3 site .. only causes problems
Title: Re: $(...).vm2front is not a function
Post by: Milbo on July 25, 2018, 21:13:22 PM
Quote from: 2dmaster on July 24, 2018, 17:11:36 PM
No, I'm using jQuery easy plugin but have this error

So yes, disable it, as GJC already mentioned