Jump to content
xt:Commerce Community Forum

GreenVelvet - Productliste nebeneinander


blackmann

Recommended Posts

Hallo,

habe das greenvelvet Templ. gekauft und würde gerne, dass bei der Productliste 2 Artikel nebeneinander stehen und dann erst die nächste Zeile beginnt und dann wieder 2 Artikel stehen usw.

Auszug aus dem Templ. greenvelvet, datei "product_listing_v1.html"

{config_load file="$language/lang_$language.conf" section="index"}

<h1 style="margin-top:0px;">{$CATEGORIES_NAME}</h1>

{if $CATEGORIES_DESCRIPTION}

<p>{$CATEGORIES_DESCRIPTION}</p>{/if}

{if $MANUFACTURER_DROPDOWN}{$MANUFACTURER_DROPDOWN}{/if}

{foreach name=aussen item=module_data from=$module_content}

<div class="productPreviewFloatBox">

{if $module_data.PRODUCTS_IMAGE}<div style="float:left; padding-right:15px; display:table;"><a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" class="productImageBorder" /></a></div>{/if}

<div style="display:table;">

<div style="padding:0px; margin:0px 0px 3px 0px; font-size:14px;"><strong><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></strong></div>

<div style="padding:0px; margin:0px 0px 0px 0px; font-size:13px;">{$module_data.PRODUCTS_SHORT_DESCRIPTION}</div>

<div style="padding:0px; margin:0px 0px 5px 0px;"></div>

<div style="padding:0px; margin:0px 0px 0px 0px;">{if $module_data.BUTTON_BUY_NOW!=''}{$module_data.BUTTON_BUY_NOW} {/if}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$tpl_path}buttons/german/button_product_more.gif" alt="Details" border="0" /></a></div>

</div>

<div style="clear:both;"></div>

</div>

<div class="productPreviewSplitLine"></div>

{/foreach}

{$NAVIGATION}

Danke :o

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...