News:

Support the VirtueMart project and become a member

Main Menu

Script ajax problem

Started by maurizius, July 29, 2017, 11:16:51 AM

Previous topic - Next topic

maurizius

Hi to all,
I tryed to found a solution but still now my problem persist.

I've one joomla site (3.7.4) with virtuemart 3.2.2

When I open the shop page I see on the console the following message:

Uncaught TypeError: $(...).vm2front is not a function
    at HTMLDocument.<anonymous> (index.php?option=com_virtuemart&view=virtuemart&productsublayout=0&Itemid=151&lang=it:630)
    at j (jquery-latest.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-latest.min.js:2)
    at Function.ready (jquery-latest.min.js:2)
    at HTMLDocument.J (jquery-latest.min.js:2)
(anonymous) @ index.php?option=com_virtuemart&view=virtuemart&productsublayout=0&Itemid=151&lang=it:630
j @ jquery-latest.min.js:2
fireWith @ jquery-latest.min.js:2
ready @ jquery-latest.min.js:2
J @ jquery-latest.min.js:2

and if I click on one image the link is opened instead showed in a box.

The problem is solved if I deselect the option "Using the Script ajax Countries / Regions"

The really strange behaviour is this. If I use a registered user (not guest or anonymous) the problem is solved.

Any idea?