Page 1 of 1

IE10 - Add to Cart not working

Posted: Fri Apr 12, 2013 11:39 pm
by siteadvice
Add to Cart is not working with the latest version of IE10 on my Windows 7 computer.

This might not be a widespread issue, but if it's happened to me, you can bet I'm not the only one.

I first noticed it when setting up a version of my own, but I get exactly the same result when I view the demo on the Opencart website (

I can't add anything to the shopping cart at all.

It doesn't work on the home page (featured product carousel) category pages or product pages.

It's fine in other browsers, of course.

HOWEVER - as soon as I switch IE10 to "compatibility view", the Add to Cart buttons start working.

But of course, most people won't ever figure that out and Compatibility View is not the default setting.

My version of IE is 10.0.9200.16540 Update Versions 10.0.4

I have searched the forums and this doesn't appear to be a known bug.

Any thoughts, people?

Re: IE10 - Add to Cart not working

Posted: Mon Apr 15, 2013 1:24 am
by siteadvice
I have come up with a workaround for this problem.

Add this code immediately after the opening <head> tag before any other meta tags:

Code: Select all

<?php if(strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE 10.') !== false) { ?>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE9">
<?php } ?>

Re: IE10 - Add to Cart not working

Posted: Fri May 10, 2013 9:49 pm
by ronnieb
on which file ?

Re: IE10 - Add to Cart not working

Posted: Fri Nov 21, 2014 3:44 pm
by AliceH
Good Question. On which file?