Object: dw.system.Session

Because you are working in a template, and templates use session as a top-level variable, you can immediately call methods in this class.

Methods Description
getCustomer() : Customer Returns the current customer associated with this storefront session. For a Business Manager session, this method returns null.
isCustomerAuthenticated() : Boolean Identifies if the customer associated with this session is authenticated. This call is equivalent to customerisAuthenticated().

Example:

<isprint value="${session.getCustomer().firstname}"/>
X Privacy Update: We use cookies to make interactions with our websites and services easy and meaningful, to better understand how they are used and to tailor advertising. By continuing to use this site you are giving us your consent to do this.