Account registration status template
Registration result and optional verification resend.
Output: page body inside the storefront layout.
Shared structures available in recorded contexts: shop, branding, theme, urls, page, navigation, languageSwitcher, currencySwitcher, headerActionContributions, labels, security, footer, cartPreview, accountHeader.
viewModel.account.registrationStatus.labels uses the account-label structure.
| Field | Type | Meaning | Availability |
|---|---|---|---|
viewModel.account |
object | Account data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus |
object | Registration status data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.accountLabel |
string | Prepared account display text. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.accountUrl |
string | Prepared account URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.canOpenAccount |
boolean | Whether open account applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.canResendVerification |
boolean | Whether resend verification applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.email |
string | Email value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.hasVerificationResendNotice |
boolean | Whether verification resend notice applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.homeLabel |
string | Prepared home display text. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.homeUrl |
string | Prepared home URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.labels |
object | Labels data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.message |
string | Message value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.resendEmailLabel |
string | Prepared resend email display text. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.resendSubmitLabel |
string | Prepared resend submit display text. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.resendSubmitUrl |
string | Prepared resend submit URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.status |
string | Status value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.title |
string | Title value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.verificationResendNotice |
object | Verification resend notice data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.verificationResendNotice.message |
string | Message value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.account.registrationStatus.verificationResendNotice.type |
string | Type value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.search |
object | Search data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.search.isEnabled |
boolean | Whether enabled applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.wishlist |
object | Wishlist data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.wishlist.isEmpty |
boolean | Whether empty applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.wishlist.itemCount |
number | Item count numeric value. | When the parent is provided; check optional fields. |
viewModel.wishlist.items |
array | Prepared items collection; may be empty. | When the parent is provided; check optional fields. |
viewModel.wishlist.productIdMap |
object | Product id map data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.wishlist.productIds |
array | Prepared product ids collection; may be empty. | When the parent is provided; check optional fields. |
viewModel.wishlist.wishlistId |
number | wishlist identifier; do not load data with it. | When the parent is provided; check optional fields. |
viewModel.wishlist.wishlistKey |
string | Wishlist key value supplied for this context. | When the parent is provided; check optional fields. |
Assets
Section titled “Assets”The reference package uses its bundled theme CSS, Bootstrap and theme JavaScript. Account and checkout controls use the bundled checkout script. Partials use their caller’s resolved assets.
Example
Section titled “Example”<cfset viewModel = routeConfig.viewModel><cfoutput><h1>#encodeForHtml(viewModel.page.title)#</h1></cfoutput>Use the page-specific structures above for the remaining content.
Behaviour
Section titled “Behaviour”Use prepared form actions, field names and CSRF inputs from the reference implementation. Access checks, validation and commerce decisions remain outside the theme.