I created a Checkout Block Custom Field “Save Address” and under content chose order note attribute. I added this custom block to my checkout. If the box is checked I want it to show on the New Order email we receive. Right now it shows on the New Order email, but doesn’t show the correct indicator that the box is selected. I did add code to the email. Has anyone ran into this before or have a solution?
Can you share the code that you added to the new order template?
{% if order.attributes.checkoutblocks.save_address_for_future_use == true %} Save Address: True {% else %} Save Address: False {% endif %}
Can you try Capitalizing the True in the liquid tag check, sometimes that is an issue. I would actually recommend trying to get the output displaying before you do the logic check to see if it will render at all, then debugging the logic check if it is.
It might actually be easier to rewrite this whole statement, which would render the same output.
Save Address: {{ order.attributes.checkoutblocks.save_address_for_future_use }}
I replaced the code with the suggestion above. It shows on the email but no checkbox.

You might need to add an HTML checkbox, if I’m understanding correctly.
https://www.w3schools.com/tags/att_input_type_checkbox.asp
You can get the code from here. Set the value to the liquid code and it
should display as checked or unchecked.
Is this code better, still not getting a yes or no.
Save Address
{% unless checkbox == false %}
Save Address {{ checkbox }}
{% endunless %} {{order.metafields.checkoutblocks.save_address_for_future_use}}
