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

Added template as argument to the store address renderer to allow custom formatting #11138

Merged

Conversation

jokeputs
Copy link
Contributor

@jokeputs jokeputs commented Sep 29, 2017

Description

See #10850 for the original pull request.

It's not easy to change the format of the store address used in for example the footer of an e-mail template. By adding the template as an argument in the constructor of Magento\Store\Model\Address\Renderer you can easily change it using dependency injection.

@orlangur orlangur self-assigned this Sep 29, 2017
@orlangur orlangur added this to the September 2017 milestone Sep 29, 2017
@vrann vrann reopened this Sep 29, 2017
@okorshenko okorshenko merged commit 58d96ae into magento:2.2-develop Oct 4, 2017
okorshenko pushed a commit that referenced this pull request Oct 4, 2017
@orlangur
Copy link
Contributor

orlangur commented Oct 5, 2017

@jokeputs thanks for your contribution! It was a pleasure to collaborate with you :)

@jokeputs
Copy link
Contributor Author

jokeputs commented Oct 6, 2017

@orlangur, and thank you for the constructive feedback and help with the squash commit.

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

Successfully merging this pull request may close these issues.

5 participants