1

I am having problems with Internet Explorer 7 (unfortunately 20% of our customer base still use IE 7). One of our extensions doesn't seem to be Internet Explorer 7 compatible and is mucking up the look and functionality of our configurable product pages.

Is there a way in the XML file that i can disable this extension or the JavaScript if the user is using IE7?

Adam Allen
  • 2,205
  • 7
  • 37
  • 68

1 Answers1

1

Yes definitely, you can use conditions if your layout like this:

<action method="removeItem"><type>js</type><name>myjavascript.js</name><params/><if>lt IE 7</if></action>

The if tag is what you need. lt means "less than", you can also use lte (less than/equals), gt (greather than), gte (greather than/equals).

Raphael at Digital Pianism
  • 70,385
  • 34
  • 188
  • 352