brand

Reads data from a specified brand to print to the page.

Example

[%brand id:'[@brand@]'%]
  [%param *body%]
    <p><a href="[%url id:'[@content_id@]'/%]">[@content_name@]</a></p>
    <p><img src="[@brand_image@]"></p>
    <p>[@content_short_description1@]</p>
  [%/param%]
[%/brand%]

Usage

The brand tag let's you target a brand via the id param then print information specific to that brand.

Parameters

Name Options Description
id:'' String Name of the brand
ifempty:'' HTML & b@se tags Renders a block instead of the header, body & footer params when the tag returns no results
*header HTML & b@se tags Renders a single usable space above the body
*body HTML & b@se tags Runs an array for each option in the tag
*footer HTML & b@se tags Renders a single usable space below the body

Data tags

Name Content Field Example Description
[@content_id@] 84 The unique ID of the brand
[@brand@], [@content_name@] Name Apple The name of the brand
[@brand_image@] Main Image /assets/webshop/cms/84/84.jpg The url to the brand main image
[@content_description1@], [@description@] Description

Leading technology company

The full description of the brand
[@content_short_description1@], [@short_description@] Short Description Mac, iPhone and iPad maker The short description of the brand

Was this article useful?

Be notified when this page is updated. Optional.