windpocke02
Aktives Mitglied
Hallo zusammen,
ich bekomme leider keinen Zeilenumbruch in der Artikelergebnisliste hin (Screenshot anbei):
In der .tpl habe ich die Auflistung wie folgt hinterlegt (Ausschnitt):
{$attr = 'ersetzt OEM'}
{if isset($Artikel->AttributeAssoc[$attr])}
{block name='productlist-item-details-ersetzt-oem'}
{col tag='dd' cols=4}ersetzt OEM: {/col}
{col tag='dt' cols=8}{$Artikel->AttributeAssoc[$attr]}{/col}
{/block}
{/if}
{foreach $Artikel->oMerkmale_arr as $attr}
{if $attr->cName === 'Farbe' && isset($attr->oMerkmalWert_arr[0])}
{block name='productlist-item-details-farbe'}
{col tag='dd' cols=4}{$attr->cName}:{/col}
{col tag='dt' cols=8}<img src="{$attr->oMerkmalWert_arr[0]->cBildURLKlein}">{/col}
{/block}
{/if}
{/foreach}
{$attr = 'Reichweite (ISO/IEC 24711)'}
{if isset($Artikel->AttributeAssoc[$attr])}
{block name='productlist-item-details-reichweite-24711'}
{col tag='dd' cols=4}Reichweite **: {/col}
{col tag='dt' cols=8}{$Artikel->AttributeAssoc[$attr]}{/col}
{/block}
{/if}
Kann mir jemand einen Tipp geben?
Danke und Grüßle
ich bekomme leider keinen Zeilenumbruch in der Artikelergebnisliste hin (Screenshot anbei):
In der .tpl habe ich die Auflistung wie folgt hinterlegt (Ausschnitt):
{$attr = 'ersetzt OEM'}
{if isset($Artikel->AttributeAssoc[$attr])}
{block name='productlist-item-details-ersetzt-oem'}
{col tag='dd' cols=4}ersetzt OEM: {/col}
{col tag='dt' cols=8}{$Artikel->AttributeAssoc[$attr]}{/col}
{/block}
{/if}
{foreach $Artikel->oMerkmale_arr as $attr}
{if $attr->cName === 'Farbe' && isset($attr->oMerkmalWert_arr[0])}
{block name='productlist-item-details-farbe'}
{col tag='dd' cols=4}{$attr->cName}:{/col}
{col tag='dt' cols=8}<img src="{$attr->oMerkmalWert_arr[0]->cBildURLKlein}">{/col}
{/block}
{/if}
{/foreach}
{$attr = 'Reichweite (ISO/IEC 24711)'}
{if isset($Artikel->AttributeAssoc[$attr])}
{block name='productlist-item-details-reichweite-24711'}
{col tag='dd' cols=4}Reichweite **: {/col}
{col tag='dt' cols=8}{$Artikel->AttributeAssoc[$attr]}{/col}
{/block}
{/if}
Kann mir jemand einen Tipp geben?
Danke und Grüßle