Hi there! I’m working on migrating our custom template from the legacy shopify printer app and everything else seems to be populating correctly except our Ship To & Bill To on the template. I tried to see if I had missed something from the legacy variables to be updated but can’t seem to make sense of it.
Can someone take a peek at this code and tell me if I’m missing something to be updated? Thank you!
Ship to
{% if shipping_address != blank %}
{{ shipping_address.name }}
{% if shipping_address.company != blank %}
{{ shipping_address.company }}
{% endif %}
{{ shipping_address.address1 }}
{% if shipping_address.address2 != blank %}
{{ shipping_address.address2 }}
{% endif %}
{{ shipping_address.city }}
{% if shipping_address.province_code != blank %}
{{ shipping_address.province_code }}
{% endif %}
{{ shipping_address.zip | upcase }}
{{ shipping_address.country }}
{% else %}
No shipping address
{% endif %}
Bill to
{% if billing_address != blank %}
{{ billing_address.name }}
{% if billing_address.company != blank %}
{{ billing_address.company }}
{% endif %}
{{ billing_address.address1 }}
{% if billing_address.address2 != blank %}
{{ billing_address.address2 }}
{% endif %}
{{ billing_address.city }}
{% if billing_address.province_code != blank %}
{{ billing_address.province_code }}
{% endif %}
{{ billing_address.zip | upcase }}
{{ billing_address.country }}
{% else %}
No billing address
{% endif %}

