Jump to content
xt:Commerce Community Forum

produkt Info weitere Bilder


dukie6666

Recommended Posts

in der Produktdetailseite werden ja dier weiteren Bilder ineiner Schleife erzeugt:

     {if $more_images !=''}{foreach name=aussen item=img_data from=$more_images}

      <li><a href="{img img=$img_data.file type=m_popup path_only=true}" title="{$products_name}">{img img=$img_data.file type=m_info alt=$products_name}</a></li> {/foreach}{/if}
Ich möchte so wie bei sp2.1 die Bilder einzeln in einer if Schleife einfügen, also so in der Art:
 {if $PRODUCTS_IMAGE_1 != ''}<div><a href="{$PRODUCTS_POPUP_LINK_1}"><img src="{$PRODUCTS_IMAGE_1}" alt="{$PRODUCTS_NAME}" /></a></div> {/if}   

 {if $PRODUCTS_IMAGE_2 != ''}<div><a href="{$PRODUCTS_POPUP_LINK_2}"><img src="{$PRODUCTS_IMAGE_2}" alt="{$PRODUCTS_NAME}" /></a></div> {/if} 

weiss einer da dengenauen Syntax?

Link to comment
Share on other sites

Archived

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

×
  • Create New...