Drei Artikel in einer Reihe anstatt zwei

Hallo!

Ich möchte, dass die Artikel, die als “frisch eingetroffen” im BE zugeordnet sind, im Frontend nicht paarweise erscheinen, sondern jeweils drei Artikel in einer Reihe.

Vermutlich soll ich diesen Schnipsel in product\list.tpl anpassen.



[{if $products|@count gt 0}]
    <ul class="[{$type}]View clear" id="[{$listId}]">
       <!--<ul class="js-articleBox featuredList">-->
        [{assign var="currency" value=$oView->getActCurrency() }]
        [{foreach from=$products item=_product name=productlist}]
        [{assign var="_sTestId" value=$listId|cat:"_"|cat:$smarty.foreach.productlist.iteration}]
        <li class="productData">
            [{oxid_include_widget cl="oxwArticleBox" _parent=$oView->getClassName() nocookie=1 _navurlparams=$oViewConf->getNavUrlParams() iLinkType=$_product->getLinkType() _object=$_product anid=$_product->getId() sWidgetType=product sListType=listitem_$type iIndex=$_sTestId blDisableToCart=$blDisableToCart isVatIncluded=$oView->isVatIncluded() showMainLink=$showMainLink recommid=$recommid owishid=$owishid toBasketFunction=$toBasketFunction removeFunction=$removeFunction altproduct=$altproduct inlist=$_product->isInList() }]
        </li>
        [{if ($type eq "infogrid" AND ($smarty.foreach.productlist.last) AND ($smarty.foreach.productlist.iteration % 2 != 0 )) }]
        <li class="productData"></li>
        [{/if}]
        [{/foreach}]
    </ul>
    [{/if}]



Blicke aber in dieser smarty-Logik nicht sonderlich durch.

Danke für die Tipps!

Gruß,
marsium

[B]ps oder ist es die infogrid.tpl, die man anpassen sollte?[/B]

Habe ich inzwischen selber gelöst.
Reichte nur in oxid.css die .infogridView-Klasse anzupassen.
Nichts mit tpls also.

Gruss,
marsium.