Problem With 1.5.X.X Default Theme and IE9
Posted: Fri Jun 22, 2012 10:35 pm
The default OpenCart 1.5.X.X template has a serious problem when "Featured" is activated, and the visitor is using IE9.
If, say, "Featured" is set to display fifteen products, then there will be displayed three rows of five products each. However, if IE9 is used in the non-compatibility mode, there will be FOUR rows, the first three displaying FOUR products each, and the final row displaying THREE products.
There is a quick and easy fix. In catalog/view/theme/default/template/common/header.tpl you will see the following code:
Then, change this to:
This will FORCE IE9 to be in the Compatibility mode for as long as the header is being displayed.
If, say, "Featured" is set to display fifteen products, then there will be displayed three rows of five products each. However, if IE9 is used in the non-compatibility mode, there will be FOUR rows, the first three displaying FOUR products each, and the final row displaying THREE products.
There is a quick and easy fix. In catalog/view/theme/default/template/common/header.tpl you will see the following code:
Code: Select all
<head>
Code: Select all
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">