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

Use blocks instead of directly modifying the template #38

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

kolaente
Copy link

@kolaente kolaente commented Mar 6, 2019

This pr adds a block via for the afterPrice block which can be modified using own custom xml.

Why: we have a very customized Layout in one of our shops. Without this modification, it was not possible to move the price layout where we wanted it.

composer.json Outdated Show resolved Hide resolved
@amenk
Copy link

amenk commented Mar 6, 2019

Looks good to me. Wondering why the initial implementation did not do it like this.

@kolaente
Copy link
Author

kolaente commented Mar 6, 2019

@amenk Same here. It even isn't that difficult as they already created the templates and even the blocks, they just didn't add them as blocks but as html directly...

# Conflicts:
#	Model/Plugin/AfterPrice.php
#	etc/di.xml
@amenk
Copy link

amenk commented Dec 6, 2022

Does this have chances to be merged?

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