Loading...
Skip navigation
Please note that this documentation is for the most recent version of this extension. It may not be relevant for older versions. Related documentation can be found in the documentation directory of the extension.

Handle preview images

Put a check in the checkbox "Show in preview" (preview) to decide whether product images should be used in the list or in teasers, for example. This can be one or more images. The following variables can then be used in fluid:

  • {product.imagesPreviewOnly} - Returns all images marked as "Show in preview" (preview)
  • {product.imagesNonPreview} - Returns all images not marked as "Show in preview" (preview)

How to use:

<f:for each="{product.imagesPreviewOnly}" as="image" iteration="imageIteration">
    <f:if condition="{imageIteration.isFirst}">
        <f:then>
            <f:image image="{image}" class="first"
                     width="{settings.list.image.width}" height="{settings.list.image.height}"
                     alt="{product.title}" title="{product.title}" />
        </f:then>
        <f:else>
            <f:image image="{image}" class="non-first"
                     width="{settings.list.image.width}" height="{settings.list.image.height}"
                     alt="{product.title}" title="{product.title}" />
        </f:else>
    </f:if>
</f:for >

Feature icons

You can do the same thing with feature icons:

  • {product.featureIconsPreviewOnly} - Returns all images marked as "Show in preview" (preview)
  • {product.featureIconsNonPreview} - Returns all images not marked as "Show in preview" (preview)
Documentation
TYPO3 Shop Extension

TYPO3 Shop

This extension is an extensive shop for TYPO3 for realizing Webshops, Online-Shops or Payment-Subscriptions (comparable with tt_products, Quick-Shop or Aimeos).

Menu

Contact request

You can contact us at any time

Stop! Playing in the meantime?
Stop! Playing in the meantime?
Stop! Playing in the meantime?

Stop! Playing in the meantime?

Break the highscore

Press Start
Contact request
Screenreader label
Security question
EM6_________DL8______
__G____I____E_R___2Y8
__F___JBX___LQU______
__7____F______C___18P
__R_________F1Q______