Add item twice in IE when add cart

Posted in Magento tips & tricks, magento payment tips on February 28, 2011 0 comment(s)  

Hi all,

Some time we use IE to access magento, when add cart we can have twice items on cart.

To sloved that issue you can follow instruction: Open file ../template/catalog/prduct/view/addtocart.phtml in your template and find command with


Replace that string by

onclick="productAddToCartForm.submit(); return false;"

Then upload and refresh you site.

Maybe without return false; IE will submit form twice - one by form defalse and one by Javascript.

Have fun!

This post was posted in Magento tips & tricks, magento payment tips and was tagged with Magento tips, Magento Experts

Leave a comments
Your email address will not published. Required fields are marked *

What Our Clients Say?

  • Oscar Soto MANAGER
    ArrowHiTech has always impressed me! They are professionals and are quick to response to my needs. I have used
    them in the past and will continue to use them in the future. Thanks Martin and all the Staff at ArrowHiTech!!!
  • The guys of AHT solutions did a perfect job and are real profesionals. Definitely recommend them and will use them again!
  • Jonatas Leonel MANAGER
    Martin has a great team of Magento experts, I really liked the work he did for me. I asked him to customize my template following a couple of jpg files that I got from a designer and he worked on that template without the psd's - that was awesome, the result I got was really good.
  • I really enjoy working with ahtsolutions. Quick response to our questions, delivery the project in time and excellent skills. I hope to work with them soon
Request us now! Yahoo:gravitational_boy Skype:hyun_yoo_it +84437955813