News:

Looking for documentation? Take a look on our wiki

Main Menu

Products Dont Add to Cart

Started by themichaelminer, October 25, 2011, 20:47:29 PM

Previous topic - Next topic

themichaelminer

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

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
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/

NawtyAtNight

#2
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

NawtyAtNight use the script debugger in IE9 to look for JS conflicts. (hit F12)
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

NawtyAtNight

#4
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.

Quote from: jenkinhill on December 20, 2011, 12:29:35 PM
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

You have disabled jQuery so VirtueMart will not work. IE9 gives:
Line: 1414
Error: 'jQuery' is undefined

I thought JoomlArt megamenu used mootools?
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

NawtyAtNight

#6
Quote from: jenkinhill 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?

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

Error:'jQuery is undefined' seems to begone but i still receive the following errors ( see attachment)

[attachment cleanup by admin]

NawtyAtNight

#8
(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

Quote from: NawtyAtNight 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

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