VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: FriendlyGorilla on May 29, 2013, 17:52:14 PM

Title: Add to cart issue
Post by: FriendlyGorilla on May 29, 2013, 17:52:14 PM
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
Title: Re: Add to cart issue
Post by: jenkinhill on May 29, 2013, 18:17:43 PM
http://forum.virtuemart.net/index.php?topic=79799.0
Title: Re: Add to cart issue
Post by: FriendlyGorilla on May 29, 2013, 18:51:31 PM
Virtuemart version 2.0.20b
Title: Re: Add to cart issue
Post by: PRO on May 29, 2013, 20:03:13 PM
username no work
Title: Re: Add to cart issue
Post by: FriendlyGorilla on May 30, 2013, 14:34:31 PM
Sorry, have put the site online now so you can see
Title: Re: Add to cart issue
Post by: PRO on May 30, 2013, 18:08:26 PM


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


Title: Re: Add to cart issue
Post by: FriendlyGorilla on May 30, 2013, 20:46:01 PM
At the risk of sounding dumb here, how do I change it so it works then?
Title: Re: Add to cart issue
Post by: AH on May 30, 2013, 21:35:05 PM
Try not gzipping you JS
Title: Re: Add to cart issue
Post by: PRO on May 31, 2013, 01:35:51 AM
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.

Title: Re: Add to cart issue
Post by: 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.
Title: Re: Add to cart issue
Post by: vaskern on May 31, 2013, 22:15:18 PM
I am guessing they mean Global Conf >> Server >> Gzip Page Compression
Title: Re: Add to cart issue
Post by: AH on June 01, 2013, 12:35:20 PM
yep
Title: Re: Add to cart issue
Post by: PRO on June 01, 2013, 13:29:53 PM
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
Title: Re: Add to cart issue
Post by: PRO on June 01, 2013, 13:31:11 PM
& try loading vmart jquery & not the google jquery.

I notice the   noconflict   is not loading.