PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

Custom Notification Email

  1. I'm trying to have a little more control and power in the Notifcation Message. The {all_fields} message doesn't work for me as I need it in plain text (or at least formatted differently) and only need some of the fields. As a result what I'm having to do is this:

    Product AB12 Qty: {Product AB12:101 }
    Product CD34 Qty: {Product CD34:102 }

    The problem of course is that this means the text on the left shows up regardless of field being empty. What I'd like to be able to do is insert only:

    {Product AB12:101}

    This will display both the field label (or even better the admin label so that the label text can be customized for the message) and the field value, if the field has a value, otherwise it would display neither the label nor the value.

    Is this possible to do this now, or is this coming in future "Notification Email" upgrades / add-ons I've read about?

    Thanks!
    Trevor

    Posted 13 years ago on Sunday November 14, 2010 | Permalink
  2. Trevor,
    This makes a lot of sense, but to be honest is not something we have talked about.
    I will add this feature to our list.
    Currently, the only way to do what you need is through a hook. If you have PHP experience, I can send a code snippet to point you in the right direction

    Posted 13 years ago on Sunday November 14, 2010 | Permalink
  3. Thanks Alex! Glad to know it is now on "the list" because it would be pretty useful for my project.

    I have some PHP experience, but continue to learn more, so if you can send along a code snippet that would be awesome and would really help me get rolling with an interim fix. Thanks again, you guys rock!

    Trevor

    Posted 13 years ago on Monday November 15, 2010 | Permalink