Right now, Liquid variables defined in the email body (e.g. {% assign saving = people.custom.electricityconsumption | times: 0.20 | round %}) are only available within the body's render scope. The subject line and preheader fields render in a separate, isolated scope, so a value computed in the body can't be referenced in the subject or preheader.
The consequence: to surface the same personalized/computed value in the subject AND preheader AND body, I have to paste the same Liquid expression into all three fields. Since Ortto requires these expressions to be single-line, the filter chains get long, and I end up maintaining three copies that all have to stay in sync. Any change means editing three places, and it's easy to introduce a mismatch.
Request: a shared Liquid scope so a variable can be assigned once and referenced across subject, preheader, and body. Either:
- let body-level {% assign %} values be visible to the subject/preheader fields, or
- add a template-level / "global" assign block that runs before all three render.
Use case: data-driven personalization where the headline number (e.g. estimated savings in kr, a uScore value, a renewal date) needs to appear in the subject, the preview text, and the body — computed once, used everywhere.