It contains the details of the current user.
User is not logged in
If a user is not logged in, we get the data of current user in an object with fields isLoggedIn as false, device info and device type (like desktop, laptop) and currency name (like INR, USD), conversion rate as 1 or true.
User is logged in
When a user is logged in, we get the data of current user in an object with fields isLoggedIn as true and detailed information of current user (like first name, last name, email id, phone, user_id etc) according to the user.
|This variable defines that user is logged in or not, if it's value is false, then the user is not logged in and vice-versa.
|This variable gives the name and conversion rate of currency.
|This variable defines that the specific role about user (vendor, admin, member etc).
|This variable defines that user is verified or not, if its value is true or 1, then the user is verified and vice-versa.
|The variable gives the first name of the user.
|The variable gives the last name of the user.
|If a user is logged in, it gives the unique id of the user.
|If a user is logged in, it gives the email id of the user.
|This variable gives the language of the user.
|This variable defines that user is active or not, if its value is true or 1, then user is active and vice-versa.
|This variable contains the product information added to the wishlist, if any.
|This variable sends a temporary password (automatically generated) to the user, if set to 1 or true.
|This variable lets a user to search and order store-based (physical location based) products.