Kuvaus
This tag has been deprecated. The use of this tag is not recommended.
To print a list of brands, use the {Brands}
tag.
By default, brands are printed in the form of a <ul>
list that includes each brand's name and logo (if set), as well as a link to the brand page.
You can easily define whether the brand's logo should be included on the list by using the showlogo
attribute.
If you use image size attributes such as width
, height
or imagesize
, the image will appear in the size specified by the attributes.
Syntaksi
{BrandsNavigation(
category: int / string,
showlogo: boolean,
imagesize: string,
width: int,
height: int,
helper: string
)}
Näkyvyys
Toimii näkyvyydessä: globaali
Näkyvyys
Tags with global scope can be used on any template and in any tag.
Attribuutit
category:
Selects for the list only those brands whose products appear in the selected product categories.
Allowed values: pipe-separated product categories' ID numbers or 'CURRENT' to use the product category set in the scope.
E.g. category: '1|5|45' or category: 'CURRENT'
showlogo:
Defines whether to print the brand's logo on the list.
Allowed values:true/false. The default value is true.
imagesize:
Defines printed image's dimensions.
The used values are determined by the values of the
ImageSizes
element of the theme settings.Allowed values: names of image sizes defined in the theme.xml file's
ImageSizes
element.E.g.
imagesize:
'Large'width:
height:
Defines image height given in pixels.
Allowed values:integers.
helper:
Defines the content and output format of a single list element.
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: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:HTML and Interface markup.
E.g.
or:
'Sisältöä ei löytynyt.'