Jump to content
xt:Commerce Community Forum

product_info in 2 Farben


marco501

Recommended Posts

Hallo liebe Community,

ich krieg das einfach nicht hin, das bei der Product_listing_v1.html die tabellen abwechselnd eine andere Farbe haben. im moment sind die spalten weiß und das sieht unübersichtlich aus.

Wäre sehr sehr nett wenn mir jemand weiterhelfen könnte, leider reichen meine HTML und CSS kenntnisse für diese Änderung absolut nicht aus.

Vergleichbare product_listing.html hab ich auch nicht gefunden und daher auch kein Lösungsansatz :(

so sieht momentan meine product_listing.html aus:

{config_load file="$language/lang_$language.conf" section="index"}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td class="contentsTopics">{$CATEGORIES_NAME}</td>
<td align="right"> </td>
</tr>
<tr valign="top">
<td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td>
<td align="right"> </td>
</tr>

</table>
{if $CATEGORIES_DESCRIPTION}<br />
{$CATEGORIES_DESCRIPTION}{/if}<br />{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="border-bottom: 1px solid; border-color: #000000;"> </td>
</tr>
</table>
{/if}
{if $MANUFACTURER_DROPDOWN}<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" align="right"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" align="right">{#text_show#} </td>
<td class="main" align="right">{$MANUFACTURER_DROPDOWN}</td>
</tr>
</table> </td>
</tr>
</table>
<br />
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-top: 2px solid; border-color: #d4d4d4;">
{foreach name=aussen item=module_data from=$module_content}
<tr>
<td rowspan="2" style="border-bottom: 1px solid; border-color: #cccccc;"> {if $module_data.PRODUCTS_IMAGE!=''}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" /></a>{/if}
{if $module_data.PRODUCTS_FSK18=='true'}<br /><img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</td>
<td align="left" class="main"><a href="{$module_data.PRODUCTS_LINK}"><strong>{$module_data.PRODUCTS_NAME}</strong></a></td>
</tr>
<tr>

<td align="left" class="main" style="border-bottom: 1px solid; border-color: #cccccc;">{$module_data.PRODUCTS_SHORT_DESCRIPTION}
<br />
<strong>{$module_data.PRODUCTS_PRICE} </strong><br />
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}
{if $module_data.PRODUCTS_VPE}<br />{$module_data.PRODUCTS_VPE}{/if}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><table width="200" border="0">
<tr>
<td align="right">{if $module_data.PRODUCTS_SHIPPING_NAME}
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td class="main">{#text_shippingtime#}</td>
{if $module_data.PRODUCTS_SHIPPING_IMAGE}
<td><img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" /></td>
{/if}
<td class="main">{$module_data.PRODUCTS_SHIPPING_NAME}</td>
</tr>
</table>
{/if}
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
{/foreach}
</table>
</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$NAVIGATION}</td>
</tr>
</table>[/PHP]

vorab vielen dank für jede Hilfe !

Gruß Marco

Link to comment
Share on other sites

  • 3 weeks later...

{config_load file="$language/lang_$language.conf" section="index"}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr valign="top">
<td class="contentsTopics">{$CATEGORIES_NAME}</td>
<td align="right"> </td>
</tr>
<tr valign="top">
<td class="contentsTopics">{$CATEGORIES_HEADING_TITLE}</td>
<td align="right"> </td>
</tr>

</table>
{if $CATEGORIES_DESCRIPTION}<br />
{$CATEGORIES_DESCRIPTION}{/if}<br />{if $CATEGORIES_IMAGE}<img src="{$CATEGORIES_IMAGE}" alt="{$CATEGORIES_NAME}" />
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td style="border-bottom: 1px solid; border-color: #000000;"> </td>
</tr>
</table>
{/if}
{if $MANUFACTURER_DROPDOWN}<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" align="right"><table border="0" cellspacing="0" cellpadding="0">
<tr>
<td class="main" align="right">{#text_show#} </td>
<td class="main" align="right">{$MANUFACTURER_DROPDOWN}</td>
</tr>
</table> </td>
</tr>
</table>
<br />
{/if}
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" style="border-top: 2px solid; border-color: #d4d4d4;">
{foreach name=aussen item=module_data from=$module_content}
<table width="100%" border="0" cellpadding="0" cellspacing="0" style="background-color: {cycle values="#eee,#fff"}">
<tr>
<td rowspan="2" style="border-bottom: 1px solid; border-color: #cccccc;"> {if $module_data.PRODUCTS_IMAGE!=''}<a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" /></a>{/if}
{if $module_data.PRODUCTS_FSK18=='true'}<br /><img src="{$tpl_path}img/fsk18.gif" alt="" />{/if}</td>
<td align="left" class="main"><a href="{$module_data.PRODUCTS_LINK}"><strong>{$module_data.PRODUCTS_NAME}</strong></a></td>
</tr>
<tr>

<td align="left" class="main" style="border-bottom: 1px solid; border-color: #cccccc;">{$module_data.PRODUCTS_SHORT_DESCRIPTION}
<br />
<strong>{$module_data.PRODUCTS_PRICE} </strong><br />
{$module_data.PRODUCTS_TAX_INFO}{$module_data.PRODUCTS_SHIPPING_LINK}
{if $module_data.PRODUCTS_VPE}<br />{$module_data.PRODUCTS_VPE}{/if}
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><table width="200" border="0">
<tr>
<td align="right">{if $module_data.PRODUCTS_SHIPPING_NAME}
<table width="200" border="0" cellpadding="0" cellspacing="0">
<tr valign="middle">
<td class="main">{#text_shippingtime#}</td>
{if $module_data.PRODUCTS_SHIPPING_IMAGE}
<td><img src="{$module_data.PRODUCTS_SHIPPING_IMAGE}" alt="{$module_data.PRODUCTS_SHIPPING_NAME}" /></td>
{/if}
<td class="main">{$module_data.PRODUCTS_SHIPPING_NAME}</td>
</tr>
</table>
{/if}
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</td>
</tr>
</table></td>
</tr>
</table> </td>
</tr>
</table>
{/foreach}
</td>
</tr>
</table>
<br />
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>{$NAVIGATION}</td>
</tr>
</table> [/PHP]

Bitte schön!

MfG Hetfield :cool:

Link to comment
Share on other sites

Aber wie viele können denn schon unter die Haube des Polos schauen? Und es gibt auch mehr Polos mit Ferrari-Aufklebern als mit Ferrari-Zündkerzen! Du verstehst...? ;):)

MfG Hetfield :cool:

PS: Dieser Thread dient nicht dazu, um dieses Forum auf Platz 1 in den Suchmaschinen zum Keyword Ferrari-Zündkerzen zu bringen. :P

Link to comment
Share on other sites

Archived

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

×
  • Create New...