Virtuemart: Ajax Effect on IE 8 Fix List based on Virtuemart 1.1.3(stable release since 22, Jan)

Virtuemart utilizes Ajax mostly by mooTools. It works fine in many browsers except microsoft newly released browser IE 8. Especially when user try to add a product to shopping cart using Ajax, the mooPrompt (a pop-up window) fails, and nothing happen on that page… Maybe the first thing you are about to do is to upgrade mooTools. Yes, that’s seems a great idea, however mooTools’s updates from 1.11 to 1.21 is totally a nightmare for developer. Many things change, you have to revise the code manually for Virtuemart. 

The following files should be updated (if you want to satisfy IE 8 users):

  • \components\com_virtuemart\js\mootools\mootools-release-1.11.js  (update to 1.21)
  • \components\com_virtuemart\js\mootools\mooPrompt.js (you have to revise it manually. Should change a lot of JS class definitions in accordance with mootools 1.21 syntax)
  • \components\com_virtuemart\js\slimbox (update to slimbox for mootools 1.21)
  • \components\com_virtuemart\themes\default\theme.js (you have to revise it manually. Should fix a bug on line 59, change to var timeoutID = setTimeout( ‘document.boxB.close()’, 3000 );)

Besides updating corresponding files, you can also disable Ajax function on the administration page. Or.. Wait until next stable release of VM). If you need the files above, just leave me a message, and I will pack them up for you.

13 thoughts on “Virtuemart: Ajax Effect on IE 8 Fix List based on Virtuemart 1.1.3(stable release since 22, Jan)”

  1. it’s easy, but seems it hides deep in the configuration steps. Go to administration page of virtuemart, then click menu “Admin – Configuration” on left panel. Select “site” tab, then you will find a link “Configuration” on the item “select the theme for your shop” in group “layout”. finally, change an option of “Use Ajax to add, update or delete products from the cart?“ .

  2. Never expected anyone will actually reply with the correct solution. Thank you very much!!!!!

  3. What do you think would be a perfect shopping cart gallery for a website selling furniture products around 500 or so?

  4. to leah: I think Virtuemart is my choice. But what I think is not that virtuemart can easily handle large amount of stocks, but because I am familiar with virtuemart. :)

  5. I am using the latest VM and it looks like it still has mootools 1.11. Would you please send the needed files? Thanks

  6. Well – either the patched file or the solution itself, didn’t worked for me that well.

    i mean it’ just the same i did whatever needs to be done.
    we are on vm1.1.3 with joomla 1.5.20.

    site is a adult site so i don’t feel comfortable giving out the link here.

    Thanks

  7. I’m really enjoying the theme/design of your web site. Do you ever run into any browser compatibility issues? A number of my blog visitors have complained about my website not working correctly in Explorer but looks great in Opera. Do you have any tips to help fix this problem?

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">