Post by djiz » Thu May 28, 2009 5:26 am

Hello I have a question is their a way to change the columns from 4 to 3 to show the products just in three columns the rows don't matter just the column to 3 for a example

New member

Posts

Joined
Tue May 26, 2009 5:05 pm

Post by supreme » Thu May 28, 2009 8:17 pm

in /catalog/view/theme/default/template/product/category.tpl look for

Code: Select all

  <table class="list">
    <?php for ($i = 0; $i < sizeof($products); $i = $i + 4) { ?>
    <tr>
      <?php for ($j = $i; $j < ($i + 4); $j++) { ?>
and replace 4 with 3. same for other templates.

Newbie

Posts

Joined
Mon May 25, 2009 3:51 pm

Post by djiz » Fri May 29, 2009 1:32 am

Thank you very much that worked perfectly

New member

Posts

Joined
Tue May 26, 2009 5:05 pm
Who is online

Users browsing this forum: No registered users and 5 guests