Skip to main content
customerContext lets you read basic customer session information. Use it when your extension needs to know whether the customer is authenticated or needs the current customer’s basic profile.

Global Name

API

Methods

isAuthenticated

Returns whether the customer is authenticated.

getCustomer

Returns the current customer information, or null when there is no customer.