|
||||
|
Hallo XT Juser
habe schon seit einige Zeit versucht mein Problem mit der Suchoption zu l?sen...leider ohne L?sung. OK...meine Frage Besteht die M?glichkeit die Produktlistung auch zwei oder drei Spalten zu Pr?sentieren. Meine Listung sieht zur Zeit so aus Produktlistung Bei der new_products.html geht das ja so weit ich weiss mit Zitat:
w?rde mich ?ber einen Tip freuen Gru? Josef |
|
|||
|
... und zwar so ...
Code:
<table width="100%" border="0" cellspacing="3" cellpadding="0">
<tr>
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php}
<td class="start_prod" width="50%" valign="top">
HIER KOMMT DEINE TABELLE WO ALLE PRODUKTINFOS ZU FINDEN SIND.
</td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr>
</table>
3 Produkte nebeneinander $col>=3 |
|
|||
|
Hier der komplette Quellcode ..
Nenne die Datei z.B. product_listing_2spl.html Code:
{config_load file="$language/lang_$language.conf" section="index"}
<span class="seitenueberschrift">{$CATEGORIES_NAME}</span>
<br><br>
{if $CATEGORIES_DESCRIPTION}
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr valign="top">
<td class="main">{$CATEGORIES_DESCRIPTION}</td>
{if $CATEGORIES_IMAGE}
<td width="140" align="right"><img src="{$CATEGORIES_IMAGE}"></td>
</tr>{/if}
</table>
<img src="{$tpl_path}img/pixel_trans.gif" border="0" width="100%" height="5"><br>
{else}
<img src="{$tpl_path}img/pixel_trans.gif" border="0" width="100%" height="5"><br>
{/if}
{if $MANUFACTURER_DROPDOWN}
<table border="0" align="right" cellpadding="0" cellspacing="0">
<tr>
<td width="10" bgcolor="#eeeeee"></td>
<td bgcolor="#eeeeee" class="main">{#sort#}</td>
<td width="10" bgcolor="#eeeeee"></td>
<td>{$MANUFACTURER_DROPDOWN}</td>
<td width="10"></td>
</tr>
</table>
<br><br>
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td> <div align="center">
<table width="100%" border="0" cellspacing="0" cellpadding="5">
<tr>
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php}
<td class="main" valign="top"><div align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="4" style="border: 1px solid #dddddd;">
<tr>
<td><div align="center"><a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" border="0"></a></div></td>
</tr>
<tr>
<td class="main"><div align="center"><a href="{$module_data.PRODUCTS_LINK}">{$module_data.PRODUCTS_NAME}</a></div></td>
</tr>
<tr>
<td><div align="center"><span class="preis_listing_text">{#preis_text#}</span> <span class="preis_listing">{$module_data.PRODUCTS_PRICE}</span>
{$module_data.BUTTON_BUY_NOW}
</div></td>
</tr>
</table>
</div></td>
{php}
if ($col>=2) {
$col=0;
echo '</tr><tr>';
}
{/php}
{/foreach}
</tr>
</table>
</div></td>
</tr>
</table>
<br>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$NAVIGATION}</td>
</tr>
</table>
{if $result=='false'}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td style="border: 1px solid; border-color: #ff0000;" bgcolor="#FFCCCC"><div align="center"><strong><font size="2" face="Verdana, Arial, Helvetica, sans-serif">{#text_noproduct#}</font></strong></div></td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="right"><br>
{$BUTTON}</td>
</tr>
</table>
{/if}
|
![]() |
| Lesezeichen |
| Stichworte |
| listing, produkt |
| Themen-Optionen | |
| Ansicht | |
|
|