Changing the fragment variable values after a email fragment is broken | Community
Skip to main content
Selliers
Level 4
November 17, 2025
New

Changing the fragment variable values after a email fragment is broken

  • November 17, 2025
  • 0 replies
  • 24 views

We are facing a editorial challenge when users are creating emails in the email designer. This is regarding the use of email fragments. We have created many different fragments as design elements/modules, and in all of this fragments we are using variables to control how the fragment should look like. F ex we use variables to choose between pre defines background colors, we use variables to set the alignment of the content (can vary from mobile to desktop), we have different styling of CTAs etc. Today this settings needs to be done before the fragment is broken, and the content can be edited. The challenge is after the fragment is broken we cant change the variable settings from the interface.

But there is a work around, and this is not user friendly. From the code editor we can access the fragment code, and by finding the right place in the code we can manually change the chosen value of the variable. And this is reflected in the template when we save the change.

It would be very helpful if it would be able to change the variable values after the fragments is broken. We see that this can manually be done since the values is already present in the code, we just need the interface to do it -and not manually from the code editor.