For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Join Template Variables

Article Topics: Sites, Tour, Templates

Join Template Variables

The following variables can be used in join templates, which are located in the Sites Admin. These Smarty variables allow you to receive information to display on your Join Templates.

Before Visitor Submit

  • {$_siteid}

  • {$_tourid}

  • {$cascade}

  • {$cascade_bundle_billers} (array)

  • {$config} (array)

  • {$countries} (array)

  • {$default_option}

  • {$is_third_party}

  • {$join_option_bundles} (array)

  • {$join_optionids} (array)

  • {$join_options} (array)

  • {$nats_code}

  • {$ncr_option}

  • {$num_join_options}

  • {$payment_options} (array)

  • {$payment_options_section} (array)

  • {$program}

  • {$site}

  • {$site_data} (array)

  • {$site_info} (array)

  • {$states} (array)

  • {$states_au} (array)

  • {$states_ca} (array)

  • {$states_us} (array)

  • {$tour_info} (array)

The {$cascade_bundle_billers} and {$join_option_bundles} variables hold the bundle items of each join option, and are only available when the Signup Bundle Info setting is enabled in the Surfer section of the Configuration Admin.

After Visitor Submit

The following template variables, including the ones mentioned above, can be used after a visitor has submitted the join form and received errors.

  • {$errors} (array)

  • {$vars} (array)

Gateway Join Template Variables

Gateway Join Template Variables are used to pass information a visitor has entered on the join page to the gateway join template. You can use the following variables on the gateway_join template in the Sites Admin, for example, to pass the email address entered by a user on a join template to the gateway join template.

This depends on whether you are using a Gateway Biller.

Before Visitor Submit

  • {$_siteid}

  • {$_tourid}

  • {$billerid}

  • {$bshort}

  • {$bundle_billerid}

  • {$bundle_optionid}

  • {$cascade_bundle_billers} (array)

  • {$cc_months} (array)

  • {$cc_years} (array)

  • {$config} (array)

  • {$countries} (array)

  • {$country}

  • {$join_option_bundles} (array)

  • {$mdata} (array)

  • {$member_ident_details}

  • {$option_info} (array)

  • {$site_info} (array)

  • {$states} (array)

  • {$states_au} (array)

  • {$states_ca} (array)

  • {$states_us} (array)

  • {$xsells} (array)

After Visitor Submit

The following template variables, including the previous ones, can be used after a visitor has submitted the form and received errors.

  • {$errors} (array)

  • {$vars} (array)

Special Template Variables

There also exists another category of Template Variables known as Special Variables, which can be used on Special Site Templates.

mail_affiliate_on_message

  • {$firstname} {$affiliate_email}

Customizing your Join Form

Last updated

Was this helpful?