I'm trying to get widget data to output within an if statement and for some reason no matter what I try it always returns 0. Other parts of the email template work fine, its just anything within the if. Here's the code I have below.
{% image 'cta1-logo' label='(CTA-1) Logo (220x80)', alt='Logo', src='', export_to_template_context=True %} {% text 'cta1-location1' label='(CTA-1) Location Line 1', value='Location Line', export_to_template_context=True %} {% text 'cta1-location2' label='(CTA-1) Location Line 2', value='Location Line', export_to_template_context=True %} {% text 'cta1-date' label='(CTA-1) Date', value='Date', export_to_template_context=True %} {% text 'cta1-url' label='(CTA-1) URL', value='URL', export_to_template_context=True %}