News:

Looking for documentation? Take a look on our wiki

Main Menu

Add to cart empty cart

Started by Puck, October 16, 2018, 14:52:41 PM

Previous topic - Next topic

Puck

On my test site wich is not ready, I wanted to test my cart but when I add to cart the cart is empty: https://www.ispecial.nl/test/
The version of VM is VirtueMart 3.4.2, Joomla version is 3.8.13.
In the console you see errors and I don't know how to fix it.
I also use SP Pagebuilder.

Thank you in advance
Puck

GJC Web Design

???

Blocked loading mixed active content "http://code.jquery.com/jquery-latest.min.js"[Learn More] nl

why are you loading jquery externally AND by http -- get rid of that call and it should all work

But you are loading 1.06 MB of javascript!!!!  is that all really necessary?

And reloading Jquery at least twice .. get rid of the mod_sp_search load



GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

jenkinhill

For a start you are loading 3 different versions of jQuery  first 1.12.4 (the VM correct version) then 1.11.1 - which as commented above is not loaded! And finaly 1.9.1 - apparently required by a module, mod_sp_vmsearch

It's a mess.
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

Puck

Thank you both for responding. How can I get rid of the unnecessary jQuery's? And how can I load them internally?

GJC Web Design

any well designed template or extension wouldn't have them loading in the first place -
if the designer did think it necessary .. perhaps to make it J2.5 compatible,  they should provide at least a config to stop it

If there is none then it is only possible by digging in the code to find the loads and removing them - for me perhaps half an hour

But it does raise the point about 3rd party extensions and templates .. you should try to limit them as much as possible as the more u have the more rubbish is loaded on the site and the greater the chances of these problems

the same applies to templates .. it may be nice to have bells and whistles on your site but if this is at the expense of poorly coded templates and therefore poor performance ( and the measure of a websites success so much today depends on perceived performance by Google and users)  then you can see where I'm going..

GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation

Puck

Hello, yeah you're so right about that. I'm not a developer, but I do a lot of work with cms and joomla etc. Normally I don't install so much stuff but now I tried to make it more fancy.
I think the best way is to start over, don't you think so?
Thank you so much.

GJC Web Design

are there no configs in the template or search module to switch off THEIR Jquery?

otherwise as I said .. half an hour to do it in the code  - email me if u need this done
GJC Web Design
VirtueMart and Joomla Developers - php developers https://www.gjcwebdesign.com
VM4 AusPost Shipping Plugin - e-go Shipping Plugin - VM4 Postcode Shipping Plugin - Radius Shipping Plugin - VM4 NZ Post Shipping Plugin - AusPost Estimator
Samport Payment Plugin - EcomMerchant Payment Plugin - ccBill payment Plugin
VM2 Product Lock Extension - VM2 Preconfig Adresses Extension - TaxCloud USA Taxes Plugin - Virtuemart  Product Review Component
https://extensions.joomla.org/profile/profile/details/67210
Contact for any VirtueMart or Joomla development & customisation