Author Topic: Products Dont Add to Cart  (Read 8559 times)

themichaelminer

  • Beginner
  • *
  • Posts: 14
Products Dont Add to Cart
« on: October 25, 2011, 20:47:29 pm »
I know this has been asked by other people, because I have been search and reading different cases where people have had issues with the add to cart button not working correctly. So far none of the stuff I have read have helped me so I'm seeking some direct help from someone. Basically the when the add to cart button is pressed it take me to an empty cart and the product is never added to the cart. I'm going out of my mind with this now and don't know what to do to fix this.

Forgot to mention, the increase/decrease quantity buttons don't work either.

What I'm Using:
Joomla 1.7.2
VM 1.9.8j
Linux
PHP 5.2.17
Apache

I don't know what to do about it anymore. Hoping someone might be able to help me out.

Milbo

  • Virtuemart Projectleader
  • Administrator
  • Super Hero
  • *
  • Posts: 10094
  • VM3.2 Cached and Optimized
    • VM3 Extensions
  • VirtueMart Version: VirtueMart 3 on joomla 3
Re: Products Dont Add to Cart
« Reply #1 on: October 26, 2011, 15:46:33 pm »
you missed the most important point, your used template.
Always all posts point to the problem of other jQuery already loaded, so disable the loading of jquery in vm config and hope that your template or extension using the jquery is compatible with vm
I should fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

NawtyAtNight

  • Beginner
  • *
  • Posts: 40
Re: Products Dont Add to Cart
« Reply #2 on: December 20, 2011, 08:38:44 am »
Hello Milbo, I am having the same issue, Add to cart button sends me to an empty cart/checkout page. Also the increase/decrease button is not working.

Info:
Virtuemart 2.0.0 released Dec-19-2011
Joomla : 1.7.3
Template is using the T3Framework

After installing Virtuemart 2.0.0 I noticed that my mega menu was not working on the Home page, after disabling (Un-checking it in Configuration)Virtuemart jQuery It all started working again.

Now I cant add my test product to the cart because Im having OP's same issue, I cant add product to cart & increase/decrease quantity.

I also notice two more things, I have attached a screen shot:

1. My logo does not come out like I changed it to in the template.css file. Its taking the original parameters that were there before I edited the file.
2. And when using google chrome to look at the code I see two error?? messages??

Can some one help please.

[attachment cleanup by admin]

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Products Dont Add to Cart
« Reply #3 on: December 20, 2011, 12:29:35 pm »
NawtyAtNight use the script debugger in IE9 to look for JS conflicts. (hit F12)
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

NawtyAtNight

  • Beginner
  • *
  • Posts: 40
Re: Products Dont Add to Cart
« Reply #4 on: December 20, 2011, 17:38:55 pm »
Ok a little update:

It seems that the logo is showing up ok now, I guess the temp CSS files that where created needed time? to update? because now this morning they are showing up ok.

NawtyAtNight use the script debugger in IE9 to look for JS conflicts. (hit F12)

Since I am not to savy in php, I will have some problems looking for JS Conflicts, i will read up on how to do it and look into it, if any one can help here is the website:
1. I still cannot increase/decrease quantity.
2. when you click on add to cart button you get redirected to shopping cart/check out page with no items in cart.
Info:
Virtuemart 2.0.0 released Dec-19-2011
Joomla : 1.7.3
Template is using the T3Framework

Megamenu was NOT working but got fixed when I disabled VM JQuery in configuration.

http://www.advertisingmediasolution.com/accu/index.php/online-parts-store/motors/manual-detail

jenkinhill

  • UK Web Developer & Consultant
  • Global Moderator
  • Super Hero
  • *
  • Posts: 28117
  • Always on vacation
    • Jenkin Hill Internet
Re: Products Dont Add to Cart
« Reply #5 on: December 20, 2011, 18:24:15 pm »
You have disabled jQuery so VirtueMart will not work. IE9 gives:
Line: 1414
Error: 'jQuery' is undefined

I thought JoomlArt megamenu used mootools?
Kelvyn

Jenkin Hill Internet,
Lowestoft, Suffolk, UK

Unsolicited PMs/emails will be ignored.

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Currently using VirtueMart 3.8.9.10473 on Joomla 3.9.24 PHP 7.4.14

NawtyAtNight

  • Beginner
  • *
  • Posts: 40
Re: Products Dont Add to Cart
« Reply #6 on: December 20, 2011, 18:39:15 pm »
You have disabled jQuery so VirtueMart will not work. IE9 gives:
Line: 1414
Error: 'jQuery' is undefined

I thought JoomlArt megamenu used mootools?

edit - Update: I enabled Virtuemart jQuery. Megamenu stopped working & still cant add items to cart or increase/decrease quantity. All help is much appreciated. Thanks Jenkinhill  :)

NawtyAtNight

  • Beginner
  • *
  • Posts: 40
Re: Products Dont Add to Cart
« Reply #7 on: December 20, 2011, 18:50:30 pm »
Error:'jQuery is undefined' seems to begone but i still receive the following errors ( see attachment)

[attachment cleanup by admin]

NawtyAtNight

  • Beginner
  • *
  • Posts: 40
Re: Products Dont Add to Cart
« Reply #8 on: December 20, 2011, 20:43:53 pm »
(SOLVED)  ;D ;D ;D..... JQuery conflict from template. Switched to various templates that get installed with Joomla 1.7 and noticed everything working. Also Milbo & jenkinhill gave me a clue as to what it could be, java script issues. All i did was go into template managment in joomla , selected my template, looked around for any java script options, and disabled it, all is working like normal now. Thanks again Milbo & JenkinHill

Bigitybossman

  • Beginner
  • *
  • Posts: 31
Re: Products Dont Add to Cart
« Reply #9 on: May 16, 2012, 08:18:56 am »
(SOLVED)  ;D ;D ;D..... JQuery conflict from template. Switched to various templates that get installed with Joomla 1.7 and noticed everything working. Also Milbo & jenkinhill gave me a clue as to what it could be, java script issues. All i did was go into template managment in joomla , selected my template, looked around for any java script options, and disabled it, all is working like normal now. Thanks again Milbo & JenkinHill

Thanks a million NawtyAtNight, this worked for me. I have been trying to find this solution for hours.

I turned off the "optimize JS" option in the T3 template setting and it worked like a champion.

Thanks again