User Functions

The Users/Customer account information can be accessed in a limited fashion using a small family of Smarty functions.

This article offers a brief overview of the functions available in the Aurora front-end for accessing the User/Customer account information and how to use them.

Introduction

The users/customers configured in Aurora can be accessed using a range of simple Smarty Functions designed to allow you to insert customer details and shape page content wherever you need to in the Aurora front-end.

User Email Verification Status (if_user_email_verified)

You are able to check if a user/customer's email address has been verified by the Email Verification Process using the if_user_email_verified if/else Smarty block.

Accepted Parameters

ParameterValueDefaultDescriptionRequired
idIntegerThe User ID of the user/customer currently logged-in.The Internal ID Aurora uses to identify a User/Customer.No

Example template code

{if_user_email_verified}

<div>Congratulations, your email has been verified.</div>

{if_user_email_verified_else}

<div>Your email address has not yet been verified.</div>
 
{/if_user_email_verified}