losti 0 Report post Posted August 23, 2006 Hallo zusammen! Wenn ich eine Kategorie auswaehle, werden alle Produkte in dieser Kategorie angezeigt. Leider sind alle Produkte untereinander aufgelistet! Was muss ich in welcher Datei aendern, damit die Produkte in 2 Spalten nebeneinander angezeigt werden? Lieben Dank für Eure Hilfe. LG losti Share this post Link to post Share on other sites
shop-monster 10 Report post Posted October 31, 2006 Stehe vor dem gleichen Problem, möchte auch von der Listenform weg und die Produkte gerne nebeneinander angezeigt bekommen. Jemand eine Lösung bei der Hand ? Grüsse Share this post Link to post Share on other sites
Queen Of Darkness 0 Report post Posted November 1, 2006 ich hätte auch gerne eine lösung, man findet dazu irgend wie nichts... Share this post Link to post Share on other sites
homer_s 0 Report post Posted November 2, 2006 indem das Template für das Produktlisting (product_listing-v1.html) anpasst wird. So als idee wie es aussehen könnte bitte zu beachten, dass nicht alle Smartytags im Standard xtc vorhanden sind, die müssen angepasst werden auf die die bei euch da sind, ich habe die Preisformatierung bei mir geändert und und... <table width="100%" border="0" cellspacing="0" cellpadding="0" valign="top"> <tr> {assign var="rows" value=2} {assign var="counting" value=$module_content|@count} {foreach name=aussen item=module_data from=$module_content} <td valign="top" style="padding-bottom:10px;"> <table cellpadding="0" cellspacing="0" border="0" style="width:360px;"> <tr> <td class="product_list_head" style="width:360px;"><a href="{$module_data.PRODUCTS_LINK}" class="">{$module_data.PRODUCTS_NAME}</a></td> </tr> </table> <table cellpadding="0" cellspacing="0" border="0" style="width:360px;"> <tr> {if $module_data.PRODUCTS_IMAGE!=''}<td class="list_image"><a href="{$module_data.PRODUCTS_LINK}"><img src="{$module_data.PRODUCTS_IMAGE}" alt="{$module_data.PRODUCTS_NAME}" height="150" width="150" class="list_image" /></a>{else}<td class="list_no_image"><div style="">Bild fehlt! </div>{/if}</td> <td style="width:360px; border-right:1px solid #1C4773;"> <table cellpadding="0" cellspacing="0" border="0" width="100%" style="height:150px;"> <tr><td style="vertical-align:top;"> <div class=""> {if $module_data.PRODUCTS_PRICE_OLDPRICE} {assign var="character_count" value=90} {else} {assign var="character_count" value=140} {/if} {$module_data.PRODUCTS_SHORT_DESCRIPTION|truncate:$character_count:"..."} {if $module_data.PRODUCTS_SHORT_DESCRIPTION|count_characters:true >$character_count} <a href="{$module_data.PRODUCTS_LINK}" class="list_mehr"> weiter</a>{/if} </div> </td></tr> <tr> <td style=""> <div class="list_price">{if $module_data.PRODUCTS_PRICE_OLDPRICE}{#instead#} {$module_data.PRODUCTS_PRICE_OLDPRICE}<br /> {#only#}{/if} {$module_data.PRODUCTS_PRICE_PLAIN}</div> <div class="list_text_priceinfo"> {$module_data.PRODUCTS_TAX_INFO}</div> <div class="list_text_priceinfo" style="padding-bottom:3px;"> {if $module_data.PRODUCTS_SHIPPING_LINK} <a href="{$module_data.PRODUCTS_SHIPPING_LINK}" class="list_mehr">{$module_data.PRODUCTS_SHIPPING_TEXT}</a> {/if} </div> </td></tr> </table> </td> </tr> <tr> <td class=""><a href="{$module_data.BUTTON_BUY_NOW_LINK}" class="buy_now_link">{$module_data.BUTTON_BUY_NOW_TEXT}</a></td> <td class="" style=""><a href="{$module_data.PRODUCTS_LINK}" class="">Produktdetails öffnen</a></td> </tr> </table> </td> {if (($smarty.foreach.aussen.iteration)%$rows)}<td width="10"> </td>{/if} {if !(($smarty.foreach.aussen.iteration)%$rows) and !$smarty.foreach.aussen.last}</tr><tr>{/if} {if $smarty.foreach.aussen.last and (($smarty.foreach.aussen.iteration)%$rows)} {if ($rows >$counting)} <td colspan={$rows-$counting*2}> </td> {else} <td colspan="{$rows*2-1-$smarty.foreach.aussen.iteration%$rows*2}"> </td> {/if} {/if} {/foreach} </tr> </table> [/PHP] Share this post Link to post Share on other sites
Rovert 10 Report post Posted November 2, 2006 alternativ schau der categorie-listing.html Template an und entsprechend anpassen. T Share this post Link to post Share on other sites
Tinohunter 10 Report post Posted January 14, 2007 hallo. habe ein kleines Problem.. habe jetzt alles so eingestellt, dass 3 Boxen nebeneinander sind... klappt gut.. allerdings sind die Boxen in der Höhe unterschiedlich.. sieht irgendwie komisch aus... habe mal die 2 Dateien angehangen.. evtl. hat ja jemand eine Idee... ich komme momentan nicht weiter... Das Testprojekt ist unter www . Baum-and-friends .de (Freizeichen entfernen) zu finden. Über Hilfe wäre ich dankbar.... Danke.. Jananew_products.htmlnew_products_default.html Share this post Link to post Share on other sites