I’ve created a new HTML email from scratch in order to get very close to a custom design.
As I started to integrate the template with the COS, I started to see an issue with duplicate fields like so:
However, in the template, each of the two highlighted fields is defined and used only 1 time.
{% image "image_two", label='Small Promo Image', src='https://cdn2.hubspot.net/hubfs/3088750/Images/Email/Sample%20Email/woman-microscope.jpg', export_to_template_context=True %}
{% image "article_image", label="Article Image", src="https://cdn2.hubspot.net/hubfs/3088750/Images/Email/Sample%20Email/geo-material.jpg", export_to_template_context=True %}
Note: the images still only output 1 image to the email, as they should. It’s just a poor user experience for our client to see a bunch of duplicate fields.
I’ve tried removing all of the code, going line by line in order to resolve this, but to no avail.
If I remove all of the code It shows only those two fields but still duplicated.
However, if I remove the export_to_template_context, then they two fields display in the content editor as they should, without the duplicate.
I’ve been really banging my head on this one. Any help would be appreciated.
Thanks!
