By default, the Profile model returns the values as shown below To get the required fields values other than in the profile model, update the profile model by extending it and add the field to the response.
Tag: profile model
UserProfile in SCA
The UserProfile component enables you to retrieve information about the current web store user. The information available depends on whether the user is currently logged in, is a registered user but is not logged in, or is an unregistered user. If the visitor is logged in as a user, we can get details such as… Continue reading UserProfile in SCA
Extend Profile model in SCA
We extend the profile model to sign out and sign in a user when they’re first registering to the website. This is done in order to change the subsidiary to a new one
Add Custom Entity Field Data to the Profile Model: SCA
To fetch custom entity custom fields using Commerce API method.