X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Border around products. (https://forum.x-cart.com/showthread.php?t=46143)

ARW VISIONS 01-06-2012 07:47 AM

Re: Border around products.
 
I am Steve. on another note....


change
<td><img src="skin/common_files/images/spacer.gif" width="10" height="5"/></td>

to

{if !$smarty.foreach.foo.iteration % 3 = 0}<td><img src="skin/common_files/images/spacer.gif" width="10" height="5"/></td>{/if}

and you won't ahve the extra space after the 3rd product in each row. of course change foo to the name of your foreach loop.

xtech 01-07-2012 01:05 AM

Re: Border around products.
 
Thanks...


All times are GMT -8. The time now is 01:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.