Account verification template
Email verification result and follow-up actions.
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.
| Field | Type | Meaning | Availability |
|---|---|---|---|
viewModel.accountVerification |
object | Account verification data; check child fields before use. | When the parent is provided; check optional fields. |
viewModel.accountVerification.backHomeLabel |
string | Prepared back home display text. | When the parent is provided; check optional fields. |
viewModel.accountVerification.backHomeUrl |
string | Prepared back home URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.accountVerification.canResend |
boolean | Whether resend applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.accountVerification.message |
string | Message value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.accountVerification.resendEmail |
string | Resend email value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.accountVerification.resendEmailLabel |
string | Prepared resend email display text. | When the parent is provided; check optional fields. |
viewModel.accountVerification.resendEmailPlaceholder |
string | Resend email placeholder value supplied for this context. | When the parent is provided; check optional fields. |
viewModel.accountVerification.resendSubmitLabel |
string | Prepared resend submit display text. | When the parent is provided; check optional fields. |
viewModel.accountVerification.resendSubmitUrl |
string | Prepared resend submit URL; use unchanged. | When the parent is provided; check optional fields. |
viewModel.accountVerification.success |
boolean | Whether success applies; use for display only. | When the parent is provided; check optional fields. |
viewModel.accountVerification.title |
string | Title 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.