View Single Post
  #1  
Old 05-13-2009, 01:54 PM
 
Christofer Christofer is offline
 

eXpert
  
Join Date: Apr 2009
Location: Thessaloniki, Greece
Posts: 202
 

Default Insert <hr> between product rows on products_t.tpl but not on the last row

I inserted an line between the products rows on multi column format, but i don't want it to appear on the bottom if there is no other row. IF you can't understand see there : http://www.gsmcorner.gr/handsfree/

on that page you will see two rows of products and two lines. On that exampe i want only one line to appear. Not the second, coz there is no products downside of the line.

The code i added on the .tpl is that : (see it, to tell me what to change if you know)
Code:
<tr> {foreach from=$row item=product} {if $product} <td colspan="3"><div style="border-bottom:1px solid #9d1500; width:100%; margin-top:8px; margin-bottom:1px;"></div></td> {/if} {/foreach} </tr>
__________________
X-Cart Gold : 4.2.1 (on linux parallels plesk / mysql)
Php v5.2.9 (Zend: 2.2.0) - MySql v5.0.79 - LiteSpeed server
Modules : X-Offer & X-Aom & One page checkout
Product tabs & Product downloads & many more
Reply With Quote