{{ 'customer.css' | asset_url | stylesheet_tag }} {%- style -%} .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top | times: 0.75 | round: 0 }}px; padding-bottom: {{ section.settings.padding_bottom | times: 0.75 | round: 0 }}px; } @media screen and (min-width: 750px) { .section-{{ section.id }}-padding { padding-top: {{ section.settings.padding_top }}px; padding-bottom: {{ section.settings.padding_bottom }}px; } } {%- endstyle -%} {%- paginate customer.addresses by 5 -%}

{{ 'customer.addresses.title' | t }}

{{ 'customer.account.return' | t }}

{{ 'customer.addresses.add_new' | t }}

{%- form 'customer_address', customer.new_address, aria-labelledBy: 'AddressNewHeading' -%}
{{ form.set_as_default_checkbox }}
{%- endform -%}
{%- if paginate.pages > 1 -%} {%- if paginate.parts.size > 0 -%} {%- endif -%} {%- endif -%}
{%- endpaginate -%} {% schema %} { "name": "t:sections.main-addresses.name", "settings": [ { "type": "header", "content": "t:sections.all.padding.section_padding_heading" }, { "type": "range", "id": "padding_top", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_top", "default": 36 }, { "type": "range", "id": "padding_bottom", "min": 0, "max": 100, "step": 4, "unit": "px", "label": "t:sections.all.padding.padding_bottom", "default": 36 } ] } {% endschema %}