News:

Support the VirtueMart project and become a member

Main Menu

Add to cart issue

Started by FriendlyGorilla, May 29, 2013, 17:52:14 PM

Previous topic - Next topic

FriendlyGorilla

I'm having the same problem. Tried jquery easy, disabling modules - but still when you press add to cart it goes to the check out screen. The quantity toggle doesnt work either, it's driving me insane!

website is www.mj-golf-online.com

username: test
password: test123

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

FriendlyGorilla

Virtuemart version 2.0.20b

PRO


FriendlyGorilla

Sorry, have put the site online now so you can see

PRO



This is how you are loading the scripts.


  <script src="/cache/plg_scriptmerge/687a139d1d7d49ddc8522caedf2a2250.js" type="text/javascript"></script>
 
 
 
  <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js" type="text/javascript"></script>
 

1st, you are gzipping your JS files WITH the producr scripts.

THEN:

You ar5e loading Jquery after that


Jquery has to be loaded BEFORE the jquery add on scripts (which are the product scripts etc.)


&&

I have never gotten a gzipper to work with vmart 2.0


I use jch optimize for CSS ONLY



FriendlyGorilla

At the risk of sounding dumb here, how do I change it so it works then?

AH

Regards
A

Joomla 3.10.11
php 8.0

PRO

Quote from: Hutson on May 30, 2013, 21:35:05 PM
Try not gzipping you JS

^^^


and you should gzip all those css file

If you have too many js files, I would look at ways around them.


FriendlyGorilla

I have no idea how to do that.

But I have tried using the beez template to see if it was a template issue, same problem. If you click add to cart it just takes you to the check out page, with nothing in the cart and no modal pop up. I've used the jquery easy plug-in, removed all js from my template folder and nothing worked. I've searched through these forums and the hundreds of people complaining of this problem and none of the solutions some people found useful have helped me.

vaskern

I am guessing they mean Global Conf >> Server >> Gzip Page Compression

AH

Regards
A

Joomla 3.10.11
php 8.0

PRO

Quote from: FriendlyGorilla on May 31, 2013, 16:02:51 PM
I have no idea how to do that.

But I have tried using the beez template to see if it was a template issue, same problem. If you click add to cart it just takes you to the check out page, with nothing in the cart and no modal pop up. I've used the jquery easy plug-in, removed all js from my template folder and nothing worked. I've searched through these forums and the hundreds of people complaining of this problem and none of the solutions some people found useful have helped me.


its not always the template.

it could be that "widget kit" thing.

View the source of the page, and look at the JS files that are being loaded

PRO

& try loading vmart jquery & not the google jquery.

I notice the   noconflict   is not loading.