Products

Education

Resources

Company

Support

Products

Education

Resources

Company

Support

Thenty

Visibility Overrides

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:

  1. Go to Settings > Visibility Overrides

  2. Copy the Override code

  3. Create a new Code File (Code Overrides > File > New File > New Override (important), Input a name

  4. Paste the code and save

  5. Select the element you want the code applied to

  6. 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:

  1. On the home page, go to User Action section

  2. In here are multiple blocks prebuilt for certain use cases.

  3. 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.