Jump to content
xt:Commerce Community Forum
Sign in to follow this  

produkt Info weitere Bilder

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?

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Create New...