Jump to content
xt:Commerce Community Forum

Artikel 3 spaltig was mache ich falsch


Recommended Posts

Also ich habe alles brav nach anleitung gemacht und die artikel erscheinen trotzdem untereinsnder in einer reihe: Sets

Mein stylesheet:

#threecolms{

font-size: 15px;

color: #900;

border: 1px solid;

float: left;

height: auto;

margin-top: 0px;

margin-right: 8px;

margin-bottom: 8px;

margin-left: 0px;

min-height: 280px;

width: 160px;

display: inline;

}

code:

{php}

$i = 0;

{/php}

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

{php}

$i++;

if ($i % 3 == 0){ echo '<div class="prod_nr_'.$i.' threecolms last">';}

else { echo '<div class="prod_nr_'.$i.' threecolms">'; }

{/php}

<table class="productPreview" width="150" border="0" cellspacing="0" cellpadding="0">

<tr>

{if $module_data.products_image!=''}<td class="productPreviewImage"><a href="{$module_data.products_link}">{img img=$module_data.products_image type=m_thumb class=productImageBorder alt=$module_data.products_name}</a></td>{/if}

</tr>

<tr>

<td><a href="{$module_data.products_link}" style="text-decoration:none">{$module_data.products_name}</a></td>

</tr>

<tr>

<td>{if $smarty.const._CUST_STATUS_SHOW_PRICE eq '1'}

<p class="price"><strong>{$module_data.products_price.formated}</strong></p>

<p class="taxandshippinginfo">{$module_data.products_tax_info.tax_desc}{if $module_data.products_shipping_link}<br /><a href="{$module_data.products_shipping_link}" target="_blank" rel="nofollow">{txt key=TEXT_EXCL_SHIPPING}</a>{/if}</p>

{if $module_data.base_price}<p class="vpe">{$module_data.base_price.price} {txt key=TEXT_SHIPPING_BASE_PER} {$module_data.base_price.vpe.name}</p>{/if}

{/if}</td>

</tr>

</table>

</div>

{php}

if ($i % 3 == 0){

echo '

<hr class="listing" />';

}

{/php}

{/foreach}

bitte bitte brauche hilfe versuch es schon seit tagen. :(

Link to comment
Share on other sites

.threecolms{

font-size: 15px;

color: #900;

border: 1px solid;

float: left;

height: auto;

margin-top: 0px;

margin-right: 8px;

margin-bottom: 8px;

margin-left: 0px;

min-height: 280px;

width: 160px;

display: inline;

}

lautet jetzt der code.

er ist ganz am ende des stylesheets eingefügt.

den cache und templates_c hab ich geleert.

Link to comment
Share on other sites

Archived

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

×
  • Create New...