Toxenshop.com Posted March 4, 2009 Report Share Posted March 4, 2009 Hallo liebe Community, in der Produkt_info Ansicht, in meinem Shop, variiert die Anzahl der Produktbilder. Ich habe maximal 8 Produktbilder, wenn ich aber weniger haben, zeigt der IE einen Platzhalter an. Wie kann ich das ändern? www.toxenshop.com <p>{config_load file="$language/lang_$language.conf" section="product_info"}{$PRODUCT_NAVIGATOR}{$FORM_ACTION}</p> <table width="505px" border="0" align="center" cellpadding="0" cellspacing="0" style="border: 1px solid; border-color: #999999;"> <tr> <td><table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td class="main"><table width="100%" border="0" cellpadding="2" cellspacing="2" background="images/produkt_listing_gif2.gif"> <tr> <td width="50%" valign="top"><span class="toxen9">{$PRODUCTS_NAME}</span></td> <td width="50%"><table width="100%" height="27" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="right"class="toxen13">{$PRODUCTS_PRICE}</td> </tr> <tr> <td align="right" valign="top"><span class="toxen7">{$PRODUCTS_TAX_INFO} {if $PRODUCTS_SHIPPING_LINK}<br /> {$PRODUCTS_SHIPPING_LINK}{/if}</span></td> </tr> </table></td> </tr> </table></td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tr> <td align="center" valign="top" style="border-right: 0px solid;"> <table width="1" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="center"> <table width="1" border="0" cellpadding="5" cellspacing="5"> <tr> <td>{if $PRODUCTS_IMAGE!=''}<a href="{$PRODUCTS_POPUP_LINK}"><img src="{$PRODUCTS_IMAGE}"></a>{/if}</td> <td><span style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_1}"><img src="{$PRODUCTS_IMAGE_1}"></a></span></td> </tr> <!-- more images --> {if $PRODUCTS_IMAGE_1 != ''} <tr> <td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_2}"><img src="{$PRODUCTS_IMAGE_2}"></a></td> <td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_3}"><img src="{$PRODUCTS_IMAGE_3}"></a></td> </tr> {/if} {if $PRODUCTS_IMAGE_2 != ''} <tr> <td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_4}"><img src="{$PRODUCTS_IMAGE_4}"></a></td> <td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_5}"><img src="{$PRODUCTS_IMAGE_5}"></a></td> </tr> {/if} {if $PRODUCTS_IMAGE_3 != ''} <tr> <td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_6}"><img src="{$PRODUCTS_IMAGE_6}"></a></td> <td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_7}"><img src="{$PRODUCTS_IMAGE_7}"></a></td> </tr> {/if} <!-- more images eof --> </table> <table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td><div align="center"></div></td> </tr> </table> </td> </tr> </table> <table width="100%" border="0" cellpadding="0" cellspacing="0" bordercolor="#999999"> <tr> <td><br /> {if $PRODUCTS_IMAGE_LINK!=''}<a class="toxen2" href="{$PRODUCTS_IMAGE_LINK}" onclick="window.open(this.href); return false;">{$PRODUCTS_TEXT_ZOOM}</a><br /> {/if} {if $PRODUCTS_FSK18=='true'} <br /> <img src="{$tpl_path}img/fsk18.gif" alt="" /> {/if} {if $MODULE_graduated_price !=''} {$MODULE_graduated_price}<br /> <br /> <br /> {/if} </td> </tr> </table></td> </tr> </table> </td> </tr> <tr> <td><table width="100%" height="249" border="0" cellpadding="0" cellspacing="4" bgcolor="#CCCCCC" style="border-top: 1px solid; border-color: #999999;"> <tr> <td height="103" colspan="2" valign="top"><table width="100%" border="0" cellspacing="4" cellpadding="0"> <tr> <td height="95">{if $PRODUCTS_DESCRIPTION !=''}{$PRODUCTS_DESCRIPTION}<br /> {/if}</td> </tr> </table></td> </tr> <tr> <td width="48%" valign="bottom"><table class="toxen10" width="100%" height="46" border="0" cellpadding="4" cellspacing="1"> <tr> <td class="toxen10"><span class="toxen10">{if $MODULE_product_options !=''}{$MODULE_product_options}{/if} </span></td> </tr> </table> <table width="187px" border="0" bgcolor="#CCCCCC"> <tr> <td valign="middle" bgcolor="#CCCCCC" class="main"><table width="187px" border="0" bgcolor="#CCCCCC"> <tr> <td width="33%" bgcolor="#CCCCCC">{$ADD_QTY}</td> <td width="67%" bgcolor="#CCCCCC">{$ADD_CART_BUTTON}</td> </tr> </table></td> </tr> </table></td> <td width="52%" valign="bottom"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td align="right"><table width="100%" border="0" cellspacing="0" cellpadding="0"> <tr> <td colspan="3"><div align="right"><span class="main">{if $PRODUCTS_VPE}{$PRODUCTS_VPE}<br /> {/if} {if $PRODUCTS_MODEL!=''}{#model#} {$PRODUCTS_MODEL}{/if} {$PRODUCTS_DISCOUNT}<br /> {#print#}{$PRODUCTS_PRINT}<br /> {if $SHIPPING_NAME} {/if}</span></div></td> </tr> <tr> <td width="61%"><div align="right"><span class="main">{#text_shippingtime#}</span></div></td> <td colspan="2"><div align="right"><span class="main">{$SHIPPING_NAME}</span></div></td> </tr> </table> <div align="right"></div></td> </tr> </table></td> </tr> </table></td> </tr> </table> <div align="center">{if $PRODUCTS_URL != ''} </div> <table width="415" border="0" class="boxTextBG"> <tr> <td align="center">{$PRODUCTS_URL}<br /></td> </tr></table>{/if}{if $PRODUCTS_DATE_AVIABLE != ''} <table width="415" border="0" class="boxTextBG"> <tr> <td align="center">{$PRODUCTS_DATE_AVIABLE}<br /></td> </tr></table>{/if} {if $PRODUCTS_ADDED != ''} <table width="415" border="0" class="boxTextBG"> <tr> <td align="center">{$PRODUCTS_ADDED}<br /></td> </tr></table>{/if}{if $MODULE_products_reviews != ''}<table width="415" border="0"> <tr> <td>{$MODULE_products_reviews}<br /></td> </tr></table>{/if}{if $MODULE_products_media != ''} <table width="415" border="0"> <tr> <td align="center">{$MODULE_products_media}<br /></td> </tr> </table>{/if} {if $MODULE_cross_selling != ''} <table width="415" border="0"> <tr> <td align="center">{$MODULE_cross_selling}<br /></td> </tr></table>{/if} {if $MODULE_reverse_cross_selling != ''} <table width="415" border="0"> <tr> <td align="center">{$MODULE_reverse_cross_selling}<br /></td> </tr></table>{/if}{if $MODULE_also_purchased != ''} <table width="415" border="0"> <tr> <td align="center">{$MODULE_also_purchased}<br /></td> </tr> </table>{/if}{$FORM_END}[/HTML] Danke für eure Hilfe. Toxenshop.com p.s. Hab die Suche schon benutzt... Link to comment Share on other sites More sharing options...
bri Posted March 4, 2009 Report Share Posted March 4, 2009 Hallo, da ist die Abfrage, ob ein Bild vorhanden ist, durcheinandergeraten. Versuchs mal so: <!-- more images --> {if $PRODUCTS_IMAGE_2 != ''}<tr><td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_2}"><img src="{$PRODUCTS_IMAGE_2}"></a></td> {if $PRODUCTS_IMAGE_3 != ''}<td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_3}"><img src="{$PRODUCTS_IMAGE_3}"></a></td> {/if} </tr>{/if} {if $PRODUCTS_IMAGE_4 != ''}<tr><td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_4}"><img src="{$PRODUCTS_IMAGE_4}"></a></td> {if $PRODUCTS_IMAGE_5 != ''}<td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_5}"><img src="{$PRODUCTS_IMAGE_5}"></a></td> {/if} </tr>{/if} {if $PRODUCTS_IMAGE_6 != ''}<tr><td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_6}"><img src="{$PRODUCTS_IMAGE_6}"></a></td> {if $PRODUCTS_IMAGE_7 != ''}<td style="border-top: 0px solid; border-color: #cccccc;"><a href="{$PRODUCTS_POPUP_LINK_7}"><img src="{$PRODUCTS_IMAGE_7}"></a></td> {/if} </tr>{/if} <!-- more images eof --> Herzliche Grüße Inge Link to comment Share on other sites More sharing options...
Toxenshop.com Posted March 4, 2009 Author Report Share Posted March 4, 2009 Super! Vielen dank Inge, hat super geklappt. LG Carsten Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.