Duplicate Snippet
Embed Snippet on Your Site
Add Custom Field From Donation Form On The Receipt Page
This is an example of how to show a field data someone entered in their donation form to be displayed on a receipt page. The below is a template file you will need to add your child theme and you will need to make sure the custom field "slug" or ID matches to how you defined in elsewhere in your code.
Currently this is the best place to custom information although you can check out these templates as well which may show information on the receipt page depending on your configuration:
donation-receipt/offline-payment-instructions.php
donation-receipt/details.php
Code Preview
php
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
Comments