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!

Best Way To Edit Outgoing Emails?

dashed-slug.net Forums General discussion Best Way To Edit Outgoing Emails?

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #13855
    PumpTrump45
    Participant

    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

    #13857
    alexg
    Keymaster

    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

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.