| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Insert <hr> between product rows on products_t.tpl but not on the last row | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
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:
__________________
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 |
|||||||
#2
|
|||||||
|
|||||||
Re: Insert <hr> between product rows on products_t.tpl but not on the last row
Use {if not $smarty.foreach.products_matrix.last} ...line... {/if}
__________________
Manuka Bay Company X-Cart Version 4.0.19 [Linux] UGG Boots and other fine sheepskin products http://www.snowriver.com |
|||||||
|
#3
|
|||||||
|
|||||||
Re: Insert <hr> between product rows on products_t.tpl but not on the last row
thank you. That did the trick..
__________________
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 |
|||||||
|
|||
X-Cart forums © 2001-2020
|