Not an exhaustive list.
This is not an exhaustive list of modules for Blesta. This list contains the modules that ship with Blesta, or can be found on our Github. There are many third party modules, and some can be found on the Marketplace.
Welcome Email
When creating or editing a package, a welcome email can be created. Below are a list of tags that will always be available to the package welcome email. Modules also can provide a list of tags for use in the welcome email. For a list of module-specific tags, refer to documentation for the specific module.
Tags | Description | Notes |
---|---|---|
{client.id} | The system-level client ID | |
{client.id_code} | The client number | e.g. "1500" |
{client.first_name} | The client's first name | |
{client.last_name} | The client's last name | |
{pricing.term} | The package pricing recurring term/interval | e.g. "0", "1", "25", etc.; "0" if the term is one time (non-recurring) |
{pricing.period} | The package pricing period as language | e.g. "Day", "Week", "One time", etc. the language may also be plural as well, depending on the term, e.g. "Days" |
{pricing.currency} | The package pricing currency | e.g. "USD", "JPY", "GBP", etc. |
{pricing.price} | The package price of the service, formatted in the currency based on currency settings | e.g. "5.25" (use currency_format filter to format currency values) |
{pricing.setup_fee} | The package setup fee of the service, formatted in the currency based on currency settings | e.g. "5.25" |
{pricing.cancel_fee} | The package cancelation fee of the service, formatted in the currency based on currency settings | e.g. "5.25" |
Configurable Options
If configurable options are used by the package, they are accessible to the Package Welcome Email as well as part of service.options.
Example:
Configurable options: {% for option in service.options %} {option.qty}x {option.option_label}: {option.option_value_name}{% endfor %}
Based on the example above, the following tags are available:
Tags | Description | Notes |
---|---|---|
{option.id} | The system-level option ID | |
{option.service_id} | The system-level service ID | This is the service ID this configurable option is attached to |
{option.option_pricing_id} | The system-level option pricing ID | |
{option.qty} | The quantity for this option | |
{option.option_value} | The value for this option | |
{option.option_value_name} | The name for this option | |
{option.option_id} | ||
{option.option_label} | The label for this option | |
{option.option_name} | The name for this option | This is the hidden "name" for the form field |
{option.option_type} | The type of field for this option | May be "select", "checkbox", "radio", or "quantity". |
{option.option_pricing_term} | The term for this option | Any integer value. A term here of 1 and a period of Month would equal 1 month. |
{option.option_pricing_period} | The period for this option | Can be "day", "week", "month", "year". |
{option.option_pricing_price} | The price for this option | |
{option.option_pricing_setup_fee} | The setup fee for this option | |
{option.option_pricing_currency} | The 3 character currency code |