Lately I had to rewrite one of the xCart`s templates to show not one, but two products per row in the homepage at “Featured products” box.
It`s simple as it sounds 🙂
Open template products_list.tpl and on line 23 add this
style="width:45%; float:left;" |
so it should look like this:
<div{interline name=products additional_class=item} style="width:45%; float:left;"> |
Ot line 122 add:
<div style="clear:both;"></div> |
it should look like this:
{/foreach} <div style="clear:both;"></div> </div> |
And now you will have two products per row in your homepage 🙂