Customer

Default Customer Address

Outputs the customer's default shipping address when set.

Copy or embed this snippet

{% if customer.default_address %}
  <address>
    {{ customer.default_address.address1 }}<br>
    {{ customer.default_address.city }}, {{ customer.default_address.province_code }} {{ customer.default_address.zip }}
  </address>
{% endif %}

Embed this snippet on your blog or docs — attribution link appreciated: HTMLToLiquid Converter · Convert to Shopify section →

Generate Shopify sections

Free AI-powered converter — OS 2.0 compatible output with schema validation.

Start converting HTML