• Resolved nostro

    (@nostro)


    Hi everyone,

    my client booked a 2 tickets trough one booking and was surprised to see the price in the email we send automatically is for one ticket only (#_BOOKINGTICKETPRICE). Is there a placeholder (that I just can’t find) that will display the sum of all tickets, i.e. (#_BOOKINGTICKETPRICE x #_BOOKINGSPACES = ?).

    Thanks for helping

    https://wordpress.org/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hi,

    I think the placeholder you want is: #_BOOKINGSUMMARY

    http://wp-events-plugin.com/documentation/placeholders/

    Thread Starter nostro

    (@nostro)

    Hi Caimin,

    thanks for a fast answer. It does show up some relevant information, but I don’t like the way it’s formatted.

    Is there a way to modify the display of this placeholder (i.e. translate it and format it another way).
    Thanks in advance!

    Thread Starter nostro

    (@nostro)

    Hi Caimin,

    thanks again for helping out.
    For anyone interested:
    I only need the final price SUM, so I basically made a modified placeholder that includes only the following code:

    <?php
    $price_summary = $EM_Booking->get_price_summary_array();
    ?>
    
    <?php _e('','dbem'); ?> <?php echo $price_summary['total']; ?>

    PS: don’t forget to put it under your wp-content/themes/yourtheme/plugins/events-manager/emails/ and edit there, if you ever want to backup again.
    Thanks to Caimin for help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Display full price (price x nu. of tickets)’ is closed to new replies.