Sync format of address card and the billing/shipping address #46325
nielslange
started this conversation in
WooCommerce, Blocks, and Site Editing
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the format of the address card and the billing/shipping address are different from each other. These are the formats for
HU
:Address card formats
The address card formats can be found on
woocommerce/plugins/woocommerce/includes/class-wc-countries.php
Lines 563 to 610 in a66075e
Billing/shipping address formats
The billing/shipping address formats can be found on
woocommerce/plugins/woocommerce/includes/class-wc-countries.php
Lines 851 to 1666 in a66075e
Proposal
I propose using the same format for both the address card and the billing/shipping address to increase the consistency and readability. This change might also simplify the maintainability.
Additional context
I understood that the address card and the billing/shipping address have different formats since they have different purposes. The purpose of the address card is to display the address, while the purpose of the billing/shipping address is to capture the address.
Similar discussion
Address field layout inconsistency
Beta Was this translation helpful? Give feedback.
All reactions