Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/improved address attribute #7997

Merged

Conversation

ahukkanen
Copy link
Contributor

Fix #7943

In addition, this moves the state/province field under the country field in the address attribute, just like the postal code field. The current order of the fields is illogical and even worse for countries that do not require the state/province field (which is now hidden if it is not needed).

This supersedes PR #7944.

Add integration to commerceguys/addressing and create a new
service to format the addresses within concrete5.
This is required by the address formatting service because
concrete5 wants to print out the state/province names in their
full text format.
- Display the state province field only for countries in which
  that field is being used
- Move the state/province field under the coutry field where it
  is more natural because the country select affects it (just like
  the postal code comes after the country field)
- Refactor some of the code and class names to better reflect
  what they are now doing (not only state/province data)
@aembler aembler merged commit 178bb96 into concretecms:8.6.x-dev Jul 29, 2019
@ahukkanen ahukkanen deleted the feature/improved-address-attribute branch August 29, 2019 11:31
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.

None yet

2 participants