News:

Support the VirtueMart project and become a member

Main Menu

quantity and basket not working after J3.9, VM3.4.2, PHP7.2

Started by Ixelink, November 20, 2018, 08:48:40 AM

Previous topic - Next topic

Ixelink

Hi All,

I have gradually updated Joomla and Virtuemart, certainly because of the increase of PHP to 7.2. But suddenly, when everything is up-to-date, the shop is not working anymore. The + and - no longer work and putting in basket stays empty.
That is to my opinion part of VM itself, so outdated plugins should not be a reason.
Any ideas?

Regards,
Maarten

jenkinhill

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

Ixelink

Hi Kelvyn,

URL: http://www.dewijnpurist.nl

Template is Beez20, the shop is in 'Assortiment'.
Already tried Bootstrap 4, but my 3 columns where gone into one. JQuery, I tried things.

Regards,
Maarten

jenkinhill

As expected a lot of errors in the console. These are the relevant ones:

Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/base/jquery-ui.css"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/jquery-ui.min.js"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jqueryui/1.11.0/themes/base/jquery-ui.css"
Blocked loading mixed active content "http://ajax.googleapis.com/ajax/libs/jquery/1.12.0/jquery.min.js"

And then a lot of the same error:
ReferenceError: jQuery is not defined

So you are not loading jQuery.  For a start turn off "Use external google jQuery library" and turn on "Using the VirtueMart jQuery"

Also you do not nneed to use jQueryEasy with VM3 which can cauuse problems - disable it.

The Bootstrap version switch is ready for the next Joomla version, J4, so should be left in its default setting.
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

Ixelink

Wow Kelvyn!

'Also you do not nneed to use jQueryEasy with VM3 which can cauuse problems - disable it.', and perhaps Using Virtuemart JQuery and not the Google one, it WORKS!

Fantastic help from across the North See! ;D

jenkinhill

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