Description
When the tag is used in an environment where visibility is set to product, the tag will by default print the caption of the main image of the product in question.
And if the tag is used in an image list's (e.g. {ProductThumbnails}
) helper
attribute, it will print captions of all images on that list.
Syntax
{ProductImageCaption(
html: boolean
)}
Scope
Required scope: tuote
The required scope is always set in the following templates:
Templates |
---|
Single product template |
Product images |
Attribuutit
html:
Allowed values:true/false
after/before:
By using the
after
andbefore
attributes you can define content that is output either after or before the tag's output.Allowed values:The HTML and Interface markup
E.g.
If the tag does not produce any content, neither the content of the
after
andbefore
attributes will be output.escape:
Allowed values:true/false. The default value is false.
or:
Defines alternative content that is displayed if the tag itself does not produce any content.
Allowed values:The HTML and Interface markup
E.g.
or:
'Sisältöä ei löytynyt.'