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.
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.
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.
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?
example;
{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}.....
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.