• Resolved emeraldjava

    (@emeraldjava)


    I’ve been trying to customise the email templates that event manager uses via the bookingrtickets.php file in a custom directory in my theme. I realise the admin section allows me to control this but i have some custom logic i need to add to control the email content. Is there a workaround to ensure the custom bookingrtickets.php is used?

    http://ww.wp.xz.cn/extend/plugins/events-manager/

Viewing 4 replies - 1 through 4 (of 4 total)
  • yes, actually placeholder #_BOOKINGTICKETS is that one who uses that template.

    Thread Starter emeraldjava

    (@emeraldjava)

    Agh – thanks for that.

    Thread Starter emeraldjava

    (@emeraldjava)

    Follow up question. Is is possible to use blocks of custom php code within the email template? In my case i’d like to check the ticket name to ensure a specific message is displayed.

    The sudo code for the template might resemble

    Dear #_BOOKINGNAME,
    <?php
    if(ticketName="X")
    echo "Ticket X";
    ?>
    you have successfully reserved #_BOOKINGSPACES space/spaces for #_EVENTNAME.

    yes, but you can also do some customization using email template at settings > emails > booking email templates

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘[Plugin: Events Manager] bookingtickets.php – customised template’ is closed to new replies.