Switching Post Code with City on order confirmation

Hello Shopify Friends & Lovers,

so we have a client who would like to change the Post Code with the City so that it comes first on the order confirmation that the clients get. (seen as on the attached photo)

I can’t find anything at the Notifications setting HTML-code where I could change that and the customer/adresses.liquid is still a bit overwhelming.

So how can I switch those two things?

Thanks in advance for the help.

CommitmentOG

This is PageFly - Free Landing Page Builder. I would love to provide my recommendations for your store based on 6 years of providing solutions for about 100.000 active Shopify merchants.

you can use css code “:before” to solve the problem.

please hide the class of the tag containing the number “64287” then use “:before” to insert it at the top, here I have an example:

here I give the tag containing the number “64287” as tag p

p{ display: none; } p:before { content: "64287"; }

Let me know if this solves your problem or if you need further help!

If you feel my answer is helpful, like it or mark it as a solution. Let me know if you have any questions.

Best regards,

PageFly

Hello PageFly,

thanks a lot for you help!

Sadly it didn’t work.. I tried to implement it at different positions and with different variables.

p{display: none;} p:before {content: "postal-code";}

But as you can see on the screenshot, the postal code is still at the back and it should be before the City.

Any suggestions why it may not work?

Best regards,

Commitment OG