How to edit address rows order? VENTURE THEME

Solved
New Member
39 0 0

Hi guys,

 

could somebody explain me how to edit the order of the information showed in rows in the Address section of the User account? I'm going crazy because I can't find the right code to edit! I'm using Venture theme.

I attach an image for a better understanding of the topic.

address order.png

0 Likes
Shopify Expert
2652 60 649

The code is in the customers/account.liquid Template:

       {{ customer.default_address | format_address }}

If you're not happy with this, you can output properties of the address object  one by one

(hint -- copy/paste from the customers/addresses.liquid)

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
0 Likes
New Member
39 0 0

Turns out I was looking in the right place at least! I couldn't understand where that "format_address" element could be edited.

So should I change it with something like:

{{ customer.default_address | address.name }}
{{ customer.default_address | address.phone }}
{{ customer.default_address | address.company }}
{{ customer.default_address | address.address1 }}

And so on...

Or is there a different way to code it?

Thank you for the help.

0 Likes

Success.

Shopify Expert
2652 60 649

It's rather:

 

{{ customer.default_address.name }}

and so on. Address object properties and use the hint :)

 

Want to hire me to tweak a theme? Mail me at tairli@yahoo.com!
My post solved your problem? Like it!
0 Likes
New Member
39 0 0

Thank you very much for the help, I managed to fix it in the way I wanted to see it!

0 Likes