Jump to content
xt:Commerce Community Forum

Produktlisting in 2 Reihen


hifibau

Recommended Posts

Hallo zusammen,

habe schon etliche Threads durchgelesen und gesucht...leider ohne Probleml?sung.

Ich bekomme es einfach nicht hin in der v3.0.4 die product_listing_v1.html und die new_products_overview.html die Produkte in zwei Reihen anzeigen zu lassen.

Ich weis das es irgend was mit $col oder so ist :sad:

Kann mir jemand helfen und mir sagen was ich wo genau in den beiden html Dateien reinkopieren muss... :wub:

Danke!!

meine produkt_listing_v1.html

{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="2" cellspacing="2" 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}{$module_data.PRODUCTS_VPE}{/if}<strong><br />

       </strong>

       <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.SHIPPING_NAME}

             <table width="200" border="0" cellpadding="0" cellspacing="0">

              <tr valign="middle">

               <td class="main">{#text_shippingtime#}</td>

               {if $module_data.SHIPPING_IMAGE}

               <td><img src="{$module_data.SHIPPING_IMAGE}" alt="{$module_data.SHIPPING_NAME}" /></td>

               {/if}

               <td class="main">{$module_data.SHIPPING_NAME}</td>

              </tr>

             </table>

             {/if}

             {$module_data.BUTTON_BUY_NOW}</td>

          </tr>

         </table></td>

        </tr>

      </table>      </td>

     </tr>

     {/foreach} 

   </table>

  </td>

 </tr>

</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

 <tr>

  <td>{$NAVIGATION}</td>

 </tr>

</table>

Link to comment
Share on other sites

{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>

{foreach name=aussen item=module_data from=$module_content}

{php}$col++;{/php}

  <td align="center">

    <table width="50%" border="0" cellpadding="2" cellspacing="2" style="border-top: 2px solid; border-color: #d4d4d4;">

     <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}{$module_data.PRODUCTS_VPE}{/if}<strong><br />

       </strong>

       <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.SHIPPING_NAME}

             <table width="200" border="0" cellpadding="0" cellspacing="0">

              <tr valign="middle">

               <td class="main">{#text_shippingtime#}</td>

               {if $module_data.SHIPPING_IMAGE}

               <td><img src="{$module_data.SHIPPING_IMAGE}" alt="{$module_data.SHIPPING_NAME}" /></td>

               {/if}

               <td class="main">{$module_data.SHIPPING_NAME}</td>

              </tr>

             </table>

             {/if}

             {$module_data.BUTTON_BUY_NOW}</td>

          </tr>

         </table></td>

        </tr>

      </table>      </td>

     </tr>


   </table>

  </td>

{php}if($col>=2){$col=0;echo '</tr><tr>';}{/php} 

{/foreach}

 </tr>

</table>

<table width="100%" border="0" cellspacing="0" cellpadding="0">

 <tr>

  <td>{$NAVIGATION}</td>

 </tr>

</table>

Link to comment
Share on other sites

Archived

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

×
  • Create New...