-
Notifications
You must be signed in to change notification settings - Fork 89
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
[ENHANCEMENT] Added province code to AddressView #600
[ENHANCEMENT] Added province code to AddressView #600
Conversation
First of all, thanks for your pull request. This is definitely an improvement. Currently we have two ways of handleing the address, one part is the view factory that you changed which affects how the addresses are rendered in the cart. The other part is the CRUD bundle, that renders the addresses with it's own logic (controlled by the serializer). It would be nice if you could fix the tests and maybe also add one that checks that the cart now shows the correct address fields. |
Sorry for not fixing the tests first but I had to exit my train. I will probably fix them tomorrow morning and add another test. In regards to CRUD etc. from what I can tell everywhere else the provinceCode seems to work fine (when using my JS code with it). The only issue was the AddressView. One thing though that is a bit |
@mamazu Fixed the tests and added a test for address with province codes instead of province names. |
Thanks, this pull request looks great. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @AndreasA
Welcome to our community ;) Nice PR 👍
Thank you, Andreas! 🥇 |
Releates: #506 506