FriendsOfShopware / FroshPlatformTemplateMail

This plugin allows you to use twig mails in Shopware 6.
MIT License
22 stars 17 forks source link

how to use the plugin? templates not picked up from theme folder #58

Open unr3al011 opened 10 months ago

unr3al011 commented 10 months ago

Question

i created the file/folder structure email/global/delivery_mail/html.twig within my template directory, compiled template, cleared cache, but whenever i try to send a delivery note for example from an order, the default message text is used.

i can not see that the tempalte files are picked up, i also changed the "global" path to "de-DE" for example, but still no change.

am i missing something? would be happy if you could help me to get it working. my shopware version is 6.5.7.3. thank you very much

grafik
amenk commented 8 months ago

@unr3al011 In the admin panel, are you seeing the green indicators?

image

@shyim Is it correct, that after we moved the templates to the filesystem, we should purge them from the database? In our tests, the database version was used, not the one from the template.

EDIT: I guess this is related: https://github.com/FriendsOfShopware/FroshPlatformTemplateMail/issues/34