Purpose: This template applies when shoppers are registering a customer record within the store.
Code Blocks
Note: It is important to preserve the commented tags to ensure the software performs correctly.
[view_cart] [catalogid] [registration_header-new-registration] <!--START: CATEGORY_HEADER--> [CONTENT] <!--END: CATEGORY_HEADER--> [group_message] <!--start create account block--> [registration_Header-createnewaccount] [CustomerInfo_email] <!--START: emailrequired--> <!--START: req_email--> <!--END: req_email--> <!--END: emailrequired--> [CustomerInfo_password] <!--START: passwordrequired--> <!--START: req_pass--> <!--END: req_pass--> <!--END: passwordrequired--> <!--START: account_type--> [registration_account-type] [reg_groupdropdown] <!--END: account_type--> <!--END: account_login--> <!--end create account block--> <!--start shipping block--> <!--START: required_fields--> <!--END: required_fields--> [registration_Header-information] [CustomerInfo_firstname] <!--START: req_shipping_firstname--> <!--END: req_shipping_firstname--> [CustomerInfo_lastname] <!--START: req_shipping_lastname--> <!--END: req_shipping_lastname--> [CustomerInfo_company] [CustomerInfo_phone] <!--START: req_shipping_phone--> <!--END: req_shipping_phone--> [CustomerInfo_address] <!--START: req_shipping_address--> <!--END: req_shipping_address--> [CustomerInfo_address2] [CustomerInfo_city] <!--START: req_shipping_city--> <!--END: req_shipping_city--> [CustomerInfo_country] <!--START: req_shipping_country--> <!--END: req_shipping_country--> [CustomerInfo_state] <!--START: req_shipping_state--> <!--END: req_shipping_state--> [CustomerInfo_zip] <!--START: req_shipping_zip--> <!--END: req_shipping_zip--> [registration_verification] [registration_verification] [registration_verification_message] <!-- end shipping block--> [registration_submitbutton] <!--START: CATEGORY_FOOTER--> [CONTENT] <!--END: CATEGORY_FOOTER--> [defaultCountry] [CustomerInfo_email*script] [CustomerInfo_email*script] [CustomerInfo_password*script] [CustomerInfo_password*script] [CustomerInfo_firstname*script] [CustomerInfo_firstname*script] [CustomerInfo_lastname*script] [CustomerInfo_lastname*script] [CustomerInfo_phone*script] [CustomerInfo_phone*script] [CustomerInfo_address*script] [CustomerInfo_address*script] [CustomerInfo_city*script] [CustomerInfo_city*script] [CustomerInfo_state*script] [CustomerInfo_state*script] [CustomerInfo_zip*script] [CustomerInfo_zip*script] [registration_verification*script]
Note: Code blocks and their respective variables will only work with specific template pages.
Variables
Note: Many of the following variables are dynamically inserted from your cart’s Settings ->Design ->Store Language section.
Also, this template will contain special JavaScript validation at the end to validate data entered on the registration form.
- [view_cart] – Used by the Software to reference the Shopper’s cart when registration is part of the purchase.
- [catalogid] – Used by the Software to reference the cart’s item database ID.
- [registration_header-new-registration] – Displays the Title of the “Create an Account” heading on the registration page. (See Settings ->Design ->Store Language)
- [group_message] – If the registration page is linked to an individual Customer Group, this variable will insert the “Message” entry for that customer group. (See Customers ->Customer Groups)
- [registration_Header-createnewaccount] – Displays the Title of the “New Customers” heading of the form. (See Settings ->Design ->Store Language)
- [CustomerInfo_email] – Displays the Title of the Registration Form’s “Email” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_password] – Displays the Title of the Registration Form’s Password field. (See Settings ->Design ->Store Language)
- [registration_account-type] – If shopper is allowed to select which group they are registering for, this variable will display the Title of the Registration Form’s “Account Type” drop down menu. (See Settings ->Design ->Store Language)
- [reg_groupdropdown] – If shopper is allowed to select which group they are registering for, this variable will control the “Account Type” drop down menu. (See Settings ->Design ->Store Language)
- [registration_Header-information] – Displays the Title of the Registration Form’s “Customer Information” heading. (See Settings ->Design ->Store Language)
- [CustomerInfo_firstname] – Displays the Title of the Registration Form’s “First Name” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_lastname] – Displays the Title of the Registration Form’s “Last Name” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_company] – Displays the Title of the Registration Form’s “Company” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_phone] – Displays the Title of the Registration Form’s “Phone” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_address] – Displays the Title of the Registration Form’s “Address” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_address2] – Displays the Title of the Registration Form’s “Suite/Apt#” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_city] – Displays the Title of the Registration Form’s “City” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_country] – Displays the Title of the Registration Form’s “Country” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_state] – Displays the Title of the Registration Form’s “State” field. (See Settings ->Design ->Store Language)
- [CustomerInfo_zip] – Displays the Title of the Registration Form’s “Zip” field. (See Settings ->Design ->Store Language)
- [registration_verification] – Displays the Title of the “Verification” section. (See Settings ->Design ->Store Language)
- [registration_verification_message] – Displays the Text of the “Type the word above…” instructions. (See Settings ->Design ->Store Language)
- [registration_submitbutton] – Displays the Title of the “Proceed” button/link. (See Settings ->Design ->Store Language)
These next variables will be used by the template’s validation script to ensure properly formatted information is entered. It is best to leave these variables intact to ensure software functions properly.
- [defaultCountry] – Used by the Software to validate the store’s Default Country
- [CustomerInfo_email*script] – Used by the Software to validate the form’s entered email information.
- [CustomerInfo_password*script] – Used by the Software to validate the form’s entered password information.
- [CustomerInfo_firstname*script] – Used by the Software to validate the form’s entered First Name information.
- [CustomerInfo_lastname*script] – Used by the Software to validate the form’s entered Last Name information.
- [CustomerInfo_phone*script] – Used by the Software to validate the form’s entered Phone information.
- [CustomerInfo_address*script] – Used by the Software to validate the form’s entered Address information.
- [CustomerInfo_city*script] – Used by the Software to validate the form’s entered City information.
- [CustomerInfo_state*script] – Used by the Software to validate the form’s entered State information.
- [CustomerInfo_zip*script] – Used by the Software to validate the form’s entered Zip/Postal Code information.
- [registration_verification*script] – Used by the Software to validate the form’s verification (CAPTCHA) code.