Skip to content

fixed zipcode ordering#4446

Open
svandeneertwegh wants to merge 1 commit intodjango-oscar:masterfrom
svandeneertwegh:postalcode/ordering
Open

fixed zipcode ordering#4446
svandeneertwegh wants to merge 1 commit intodjango-oscar:masterfrom
svandeneertwegh:postalcode/ordering

Conversation

@svandeneertwegh
Copy link
Contributor

Changed everywhere the ordering of fields in an address.

Maybe changing line4 to city name in model?
Maybe in the settings we can specify one field lists and use it everywhere? Maybe something like this settings:

OSCAR_REQUIRED_ADDRESS_FIELDS = (
"first_name",
"last_name",
"line1",
"postcode",
"line4",
"country",
)

@svandeneertwegh
Copy link
Contributor Author

#4446

@viggo-devries
Copy link
Contributor

viggo-devries commented Apr 4, 2025

I think this is really country specific is it not? In the Netherlands, yes we want this order, but for other countries it may be different.

what could be useful is if we add settings that dictate the order of fields on the forms.

something like

OSCAR_CHECKOUT_SHIPPING_ADDRESS_FORM_FIELD_ORDER = []

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants