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

Make all plugin templates possible to overwrite #116

Merged

Conversation

Zales0123
Copy link
Member

Fixes #84

Ok, I think we've finally managed (kinda) to resolve this problem 😄 There are some problems in Sylius (or even in Symfony itself) with overwriting templates, that are not configured with a one, specific path style. It should always follow @SyliusTestPlugin/Catalog/templateName.html.twig convention - and as you can see, there were some other conventions used :) It would be good if someone could test these changes before merging (cc @itwhy), but I've tested all plugin templates on a fresh Sylius-Standard application and it worked 🚀

@Zales0123 Zales0123 added the Bug Confirmed bugs or bugfixes. label Mar 13, 2019
@Zales0123 Zales0123 requested a review from a team as a code owner March 13, 2019 09:44
@bartoszpietrzak1994 bartoszpietrzak1994 merged commit fb0c8d9 into Sylius:master Mar 13, 2019
@bartoszpietrzak1994
Copy link
Contributor

Thanks, Mateusz! 🎉

GSadee added a commit to Sylius/AdminOrderCreationPlugin that referenced this pull request Nov 22, 2019
…123)

This PR was merged into the 1.1-dev branch.

Discussion
----------

The same changes as in Sylius/InvoicingPlugin#116

Commits
-------

9e1bbe1 Allow to overwrite order created email template
8e85f31 Conflict symfony/cache:^5.0 due to class removal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Confirmed bugs or bugfixes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

customize template
2 participants