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 Surfer Submit

  • {$_siteid}

  • {$_tourid}

  • {$cascade}

  • {$config} (array)

  • {$countries} (array)

  • {$default_option}

  • {$is_third_party}

  • {$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)

After Surfer Submit

The following template variables, including the ones mentioned above, can be used after a surfer 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 surfer 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 Surfer Submit

  • {$_siteid}

  • {$_tourid}

  • {$billerid}

  • {$bshort}

  • {$cc_months} (array)

  • {$cc_years} (array)

  • {$config} (array)

  • {$countries} (array)

  • {$country}

  • {$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 Surfer Submit

The following template variables, including the previous ones, can be used after a surfer 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 Formchevron-right

Last updated

Was this helpful?