Profile
profile template page
is for the customer's profile, which is utilised to show customer-related information including, name, email and phone number. The customer can also modify and update their information on this page.
Example

Variables
CustomerProfilePage
page
object
optional
title
string
optional
slug
enum<string>
optional
Allowed value:
customer.profile
Components
master.twig
, and accordingly, it takes the unified look-and-feel. For example, all of the header's
and footer's
components will be added automatically to this page.JS Web Components
<salla-datetime-picker>
<salla-tel-input>
<salla-file-upload>
<salla-button>
<salla-user-settings>
<salla-verify>
Hooks
profile template page
calls for the following hooks in order to inject extra information. These hooks are mainly used for processing the user profile <form>
. Similarly, to add a submit button to the form, the developer may simply use salla-button
component.
Usage
User
model information, which is accessible automatically on this page because it's included in the master.twig
layout file. This information can be displayed as per the developer's needs. Finally, to verify the form's input, the salla-verify-modal
component can be used.The following is a full example for all of the above.
salla-tel-input
component to display the user's mobile field.
Modified at 2025-03-04 12:54:02