VirtueMart Forum

VirtueMart Dev/Coding Central: VM1 (old version) => Virtuemart 1.1 Development (Archiv) => Quality & Testing VirtueMart 1.1.x => Topic started by: deeptii on April 27, 2008, 16:15:04 pm

Title: Latest Product Add to Cart button not working
Post by: deeptii on April 27, 2008, 16:15:04 pm
Description:
After enabling and displaying latest products on front page, clicking the Add to Cart button does nothing and stays on home page.

Test URL:
http://www.ceintimates.com/

Server environment:
Apache version   2.2.8 (Unix)
PHP version   5.2.5
MySQL version   5.0.45-community-
log
Architecture   x86_64
Operating system   Linux

Software versions:
Joomla 1.5.3
Virtuemart 1.1

Software condition:
SEO disabled, fresh install. Template installation only.
Title: Re: Latest Product Add to Cart button not working
Post by: Lorrie Todd on May 29, 2008, 21:16:44 pm
I was having the same problem.

But I had added some javascript calls to the <head> tag of my template for a home page rollover to work and that was causing the issue.  Once I commented out the javascript calls the Add To Cart Button started to work!
Title: Re: Latest Product Add to Cart button not working
Post by: Jorge Linares on July 02, 2008, 06:42:37 am
ADD TO CART BUTTON not working on IE or OPERA?
Well the only solution I could find was:

1.GO TO ADMIN > CONFIGURATION > SITE
2.On the Layout part, click on Configuration
3.Next you get the PARAMETERS page, go down where it says Use Ajax to add, update or delete products from the cart?
4.Set this option to NO

The problem seems to be AJAX causing an issue making it not work well on INTERNET EXPLORER AND OPERA (only 2 browsers I tested)

After I disabled this option, the problem of ADD TO CART BUTTON was solved.
Hope this helps!
Title: Re: Latest Product Add to Cart button not working
Post by: ArchangelX on January 09, 2009, 11:19:26 am
THANK YOU SO MUCH!  LOL...I about screamed my head off going over this.  Ugh.  Thank god there's a solution!  Thanks!