Customer Registration Template:
Common and Required Tags

Although there are quite a few pages defined in a customer registration template and they perform different functions, there are some tags that are required on each page and several other tags that you may want to use on most (if not all) of the pages.

  • Each page must start with the [-- DEFINE pagename --] tag and it must end with [-- END_DEFINE pagename --] tag. Your customer registration template will therefore contain a large number of [-- DEFINE --] tags in one file.
  • For each page, the opening <html> and closing </html> tags must be inside the [-- DEFINE pagename --] and [-- END_DEFINE pagename --] tags. (Note that e-mail messages may not be in HTML format and may not have these tags.)
  • Many pages uses JavaScript for some functions, so you must include the [-- CR_JAVASCRIPT --] tag inside <script> tags in the <head> section of the template for those pages.
  • Many pages are HTML forms. You must include the [-- CR_Form --] tag -- which produces the opening <form> tag with the necessary attributes -- near the top of the <body> section of the template, and you must put a </form> tag near the end.
  • The [-- CR_ShopSiteMessages --] tag will produce any error messages. It will not produce anything if there are no errors or messages for the customer.
  • The merchant can define a header and footer to appear on registration pages. Use the [-- CR_Header --] and [-- CR_Footer --] tags anywhere that you want to display that information.
  • Most customer registration pages have one or more buttons on them. They are all produced with the [-- BUTTON name --] tag.
  • There are text fields in the Store Text section of the back office that are designed to be used as the title and heading of the customer registration pages. For example, the [-- STORE.NewRegistration --] tag displays the contents of the "New Registration" field, which has the default value of "New Registration." It works well as the title of the New Registration page.

Example New Registration Page

This example of a new registration page shows all of the above elements in the proper order. The main body of the template has been removed to make it easier to identify the required tags.

Next: Customer Registration Sign Up