Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
{% paginate customer.addresses by 4 %} {% for address in customer.addresses %} ** Code ** {% endfor %} {% endpaginate %}
Hi @coding_beginner
You can use the code below to show the default address first
{% for address in customer.addresses %}
{% if address == customer.default_address %}
{{ address | format_address }}
{% else %}
{{ address | format_address }}
{% endif %}
{% endfor %}
Hello!
Thank you for you reply!
Unfortunately, applying the code displays the same results.
I currently have JANE465 DOE set as the default address, but it's second in the address list (Image included).
Hey Community 👋 Did you know that March 15th is National Everything You Think Is W...
By JasonH Apr 1, 2025Discover how to increase the efficiency of commerce operations with Shopify Academy's l...
By Jacqui Mar 26, 2025Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025