{{tiers}}
is a formatting helper for outputting tier names. It defaults to a comma-separated list with and
as the last separator and tier(s)
as the suffix. Customize the helper by using a custom prefix, separator, last separator, and/or suffix. Note that values are white-space sensitive.
Example code
Use the tiers helper to output tier names in ascending order by price. The examples below use tier names of “bronze,” “silver,” and “gold.”Custom prefix
Use a custom prefix to add text before tier names.Custom separator
Use a custom separator to change the text between tier names.Custom last separator
With multiple tiers, customize the last separator.Custom suffix
Change the term “tier” with a custom suffix.HTML values
separator
, prefix
, lastSeparator
, and suffix
accept HTML values.
Fetching tiers with the {{#get}}
helper
{{tiers}}
helps with formatting your tier names. To fetch tier data, use the {{#get}}
helper.