setup
COMPONENTS
INTEGRATIONS
FAQ
Important overrides in Thenty
Showing personalized fields using Overrides
You may want to add some personalization to a page such as greeting someone by their provided name once they are logged in.
You can achieve this in two ways:
If using a custom frame/element component that you have built:
Go to Settings > Visibility Overrides
Copy the Override code
Create a new Code File (Code Overrides > File > New File > New Override (important), Input a name
Paste the code and save
Select the element you want the code applied to
Scroll down on the right-hand Properties panel > Code Overrides > Select the file you just made
You can use either
showWhenLoggedIn: show component only when user is logged in
hideWhenLoggedIn: hide component when the user logs in and only show it when they are logged out
If using the prebuilt User Actions components:
On the home page, go to User Action section
In here are multiple blocks prebuilt for certain use cases.
Use the same steps as above and add the code file to the component.
Use our SDK on the developer section in the web dashboard if you would like further custom control.
RELATED DOCUMENTATION