Program Fees Form

Command link:     None
HTML document:  program_cart.html

Staging

Ecommerce for Program Registration forms are not stageable.

This form controls the display of the program fees form used by Ecommerce for Program Registration. The system displays this form when patrons are registering for a program for which there is an associated fee.

Valid tokens for this custom form are:

Token Function
<!--{startover}--> The system replaces this token with the value of the BUT_STARTOVER Web option. Clicking this link directs the user to the URL specified in the PSTARTOVER Web option.
<!--{patronrecord}--> This token is replaced by the value defined by the BUT_PLOGOUT Web option. This value serves as a link to the patron record.
<!--{logout}--> This token is replaced by the value defined by the BUT_LOGOUT Web option. Clicking this link takes the user to the mainmenu.html page.
<!--{return}--> The system replaces this token with the value of the ICON_RET2PROG Web option. Clicking this link takes users back to the page from which they accessed the registration page.
<!--{patronname}--> This token is replaced by the value in the PATRN NAME variable-length field in the patron record.
<!--{feesheader}--> The system replaces this token with the text "Registration Fees:" and the name of the program. For example, "Registration Fees: Storytime".
<!--{feestable}--> The system replaces this token with a table containing the registration fees for each seat, and a total amount owed for the registration.
<!--{ifecomlinkenable}--> The system checks to see if Ecommerce is enabled. If it is enabled, the system uses any tokens and displays any HTML text specified between this token and its closing <!--{xif}--> token.
<!--{pflformbegin}--> The system replaces this token with the opening <form> HTML tag, as well as fields needed by the system to operate with Ecommerce. These fields are used to pre-populate the information on PayPal's payment page.
<!--{pflpay}--> The system replaces this token with the value of the ICON_PAY Web option. Clicking this link takes the user to PayPal's payment form.
<!--{ifpaymentoptional}--> The system checks the value of the ECOMM REQ fixed-length field in the program record. If the value is "optional", the system uses any tokens and displays any HTML text specified between this token and its closing <!--{xif}--> token.
<!--{paylaterwarning}--> The system replaces this token with the value of the ICON_CONTINUE_NO_PAY Web option. Clicking this link takes the user to the Program Payment Warning Form (program_paywarn.html).
<!--{xif}--> Closes the <!--{ifpaymentoptional}--> block.
<!--{confirmcancel}--> The system replaces this token with the value of the ICON_CANCEL Web option. Clicking this link takes the user to the Program Cancellation Warning Form (program_cancelwarn.html).
<!--{pflformend}--> The system replaces this token with the closing </form> HTML tag. This tag closes out the form opened by the <!--{pflformbegin}--> token.
<!--{xif}--> Closes the <!--{ifecomlinkenable}--> block.
<!--{ifecomlinknotenabled}--> This block and its tokens are no longer used.
<!--{formbegin}--> This token is no longer used.
<!--{viewpayform}--> This token is no longer used.
<!--{ifpaymentoptional}--> This token is no longer used.
<!--{paylaterwarning}--> This token is no longer used.
<!--{xif}--> Closes the <!--{ifpaymentoptional}--> block. This token is no longer used.
<!--{confirmcancel}--> This token is no longer used.
<!--{formend}--> This token is no longer used.
<!--{xif}--> Closes the <!--{ifecomlinknotenabled}--> block. This token is no longer used.
<!--{botlogo}--> The system replaces this token with the value of the BOTLOGO Web option.

You can create separate custom forms for each language by using the following naming convention:

program_cart_LANG_s#.html

LANG The language code (e.g., spa for Spanish, fre for French).
s# The number of the scope (e.g., s1, s2, s3).