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.

Omit Order Total from Notifications

  1. Is there ANY way to omit the Order Total form the admin and user notifications?

    First, they are not totalling and second, in the context of an online donation form, they just don't work.

    Posted 8 years ago on Friday October 14, 2011 | Permalink
  2. Hi Titusdco,

    The order total section can not be removed from the {all_fields} token in the admin and user notifications. However, you are not locked into using the {all_fields} token. The content of the admin and user notifications can be customized however you'd like via the notifications admin.

    Posted 8 years ago on Friday October 14, 2011 | Permalink
  3. David...thanks. I've got 2 notifications to the admin and to the user. The user notification is an official tax statement. I've got 50 funds and 50 donation amounts. When I put all of them in custom order, I was left with a line for each fund and each amount. If the user just makes a donation on one line, I still get 50 lines. Th

    Any way to omit the null amounts and thus the additional lines?

    {Fund 1 Name:24.1} {Donation Amount for Fund 1 Name :61}
    {Fund 2 Name:24.2} {Donation Amount for Fund 2 Name :62}
    {Fund 3 Name:24.3} {Donation Amount for Fund 3 Name :17}.....

    Posted 8 years ago on Monday October 17, 2011 | Permalink
  4. You can craft a notification in your functions.php and use PHP to not output the headings (Fund 1 Name:24.1 for example) if the Donation Amount is empty.

    It's been covered here a couple times, and uses the gform_pre_submission_filter hook.

    Posted 8 years ago on Tuesday October 18, 2011 | Permalink