WooCommerce - excelling eCommerce
Internet Explorer 8 responsiveness issues (7 posts)

  1. lemmonaid
    Posted 2 years ago #

    Hi guys,

    My theme (I am the creator of it) uses http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js to provide responsive functionality for Internet Explorer 8 browsers. This, however, throws a JavaScript error when visitting WooCommerce pages of the website. When viewing a product page for example: http://themes.webmandesign.eu/lespaul/product/weber-one-touch-gold-premium-charcoal-grill-57cm/.

    Can you please have a look at the issue?




  2. Roy Ho
    Posted 2 years ago #

    I believe this is not an issue with WooCommerce plugin but with your theme. How are you including JS files into your theme? And what is the exact error you're getting? So I am assuming this breaks the responsiveness in IE8?

  3. lemmonaid
    Posted 2 years ago #


    The script is being included only on Internet Explorer browser and this is the code I use in HTML head for it:

    <!--[if lt IE 9]>
    <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
    <script>window.html5 || document.write('<script src="<?php echo WM_ASSETS_THEME; ?>js/html5.js"><\/script>')</script>
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js"></script>

    Please try to have a look at the link I've provided. The issue is only occuring when viewing WooCommerce pages, not other pages of the website.

    The JS error is: "SCRIPT5007: Unable to get property 'indexOf' of undefined or null reference css3-mediaqueries.js, line 314 character 1"


  4. Mike Jolley
    Plugin Author

    Posted 2 years ago #

    I'm not seeing any errors on the page you posted - is this IE only?

  5. lemmonaid
    Posted 2 years ago #

    Yes, IE8 only.

  6. Mike Jolley
    Plugin Author

    Posted 2 years ago #

    If its IE8 only, and coming from the css3 JS file which it loads, I fail to see how this is WC..

    The line in question in your JS file:


    I'm not 100% sure what its doing, but it looks like its looking for attributes which aren't there. Why not raise a ticket or view the help files for that particular library?

  7. lemmonaid
    Posted 2 years ago #

    I don't get this JS error on non-WooCommerce pages. That's why I thought it might be related to some WC JavaScripts it uses.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic