Hallo
ich bekomme die neuen Produkte doppelt ausgegeben - also jeweils 2 gleiche Produkte
in einer Zeile.
Der Code der new_products.html:
HTML
{config_load file="$language/lang_$language.conf" section="new_products"}
<h2>{#heading_text#}</h2>
{foreach name=aussen item=module_data from=$module_content}
{php} $col++;
{/php}
<div class="{cycle values="list_left,list_right"}">
<div class="product_listing_box">
<div class="product_listing_description left">
<div class="product_listing_image left">
<div align="center"> <a href="{$module_data.PRODUCTS_LINK}" title="{$module_data.PRODUCTS_NAME}"> {if $module_data.PRODUCTS_IMAGE!=''} <img class="img_border" src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" /> {else} <img class="img_border" src="images/product_images/thumbnail_images/no_img.jpg" alt="{$module_data.PRODUCTS_NAME}" /> {/if} </a> </div>
</div>
<h3> <a href="{$module_data.PRODUCTS_LINK}" title="{$module_data.PRODUCTS_NAME}">{$module_data.PRODUCTS_NAME|truncate:20:"...":true}</a> </h3>
{$module_data.PRODUCTS_DESCRIPTION|truncate:100:"...":true}
<div class="product_listing_price_button">
<div class="product_info_price"><strong>{$module_data.PRODUCTS_PRICE}</strong><br />
</div>
<div class="product_info_tax_shipping">
<div class="product_info_tax left">
{$module_data.PRODUCTS_TAX_INFO}</div>
<div class="product_info_shipping_link">
{if $module_data.PRODUCTS_SHIPPING_LINK}{$module_data.PRODUCTS_SHIPPING_LINK}{/if}
</div><br /></div>
<a href="{$module_data.PRODUCTS_LINK}">{php}echo xtc_image_button('button_details.gif','Details');{/php}</a><br />
{$module_data.PRODUCTS_BUTTON_BUY_NOW}</div>
</div>
<br style="clear:both" />
</div>
</div>
{php} if ($col>=2) {
$col=0;
echo '<br style="clear:both" />';
}
{/php}
{/foreach}
<br style="clear:both" />
Alles anzeigen
Hat jemand eine Idee wo ich suchen muss? (products_new.php ?)
Danke & Gruß,
Oliver