I want to display Total Amount Paid to Date: ( A$ ) in email template after payment done.
I saw that in email settings it uses [event_price] shortcode to display the price, but I also tried the one with [EVENT_PRICE event_id=1 number=0] , but it does not worked for me , I changed number=0 to 1 but nothing happened. Even if I directly add it to the email settings it appears as it is . So please do let me know shortcode to be added on admin section to get total amount paid.
It turns out that there isn’t an amount paid email shortcode included in Event Espresso core. There is a way to add one and Dean wrote up some ready made code in a gist:
This code is a replacement for the replace_shortcode function in email.php and creates two new shortcodes, [amount_paid] and [amount_owed] which can be used in emails.
Note that modifying core files like this isn’t generally recommended, so please back up your files first, and note that updates to the plugin will over write the code.
Viewing 1 reply thread
The support post ‘shortcode for adding in admin end in email settings of event espresso’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.