I am using Open Cart 1.4.5 and I made some modifications on the look of the shop's index page. I wanted to have 9 items - 3 x 3, but instead I have 8 I am really surprised where that last item went... here is extract from the code from ..template/common/home.tpl that was modified by me:
Code: Select all
<div class="middle">
<div><?php echo $welcome; ?></div>
<div class="heading"><?php echo $text_latest; ?></div>
<table class="list">
<?php for ($i = 0; $i < sizeof($products); $i = $i + 3) { ?>
<tr>
<?php for ($j = $i; $j < ($i + 3); $j++) { ?>
Any tips will be highly appreciated! Thank you.