I reply to all queries on the forums and via email, once per day, Monday to Friday (not weekends).
If you are new here, please see some information on how to ask for support. Thank you!
-
Hi community, before i go looking through the code, is there an easy way to change the outgoing emails sent on transactions etc. Is it held in a DB or coded into the plugin? I plan to make it pull dynamic content from the database so we can make the emails look nice and set a template for each email in the admin settings page.
Thanks
Hello,
The email texts are based on template files that begin with email-
in the templates
directory:
/wp-content/plugins/wallets/templates/email-*php
To modify the templates, copy them into your theme, or better yet, to a child theme of your theme, under the templates/wallets
directory.
This is described in the documentation under “Wallets Admin Docs” -> “Wallets” -> “Frontend” -> “Modifying the UI appearance” -> “Editing the template files”, also available via github:
https://github.com/dashed-slug/wallets/blob/master/docs/frontend.md#editing-the-template-files-editing-templates
To summarize:
– create a child theme, so that any updates to your theme do not revert your changes
– copy the templates to /wp-content/themes/YOUR_CHILD_THEME/templates/wallets/email-*.php
– edit the templates
Please let me know if you have any questions about this.
with regards,
Alex
- You must be logged in to reply to this topic.