WordPress.org

Forums

Events Manager
Pladsholdere to list tickets (8 posts)

  1. jeskrist
    Member
    Posted 3 years ago #

    Is there a pladsholdere to list a users selested tickets.

    I want to list the selected tickets in the confirmation mail

    Thank you

    http://wordpress.org/extend/plugins/events-manager/

  2. agelonwl
    Member
    Posted 3 years ago #

  3. jeskrist
    Member
    Posted 3 years ago #

    Great, thank you

    What if I want to show booked tickets on the My-bookings page

    Regards Jes

  4. agelonwl
    Member
    Posted 3 years ago #

    you can still use that in the template file @ templates/my-bookings.php e.g. <?php echo $EM_Event->output("#_BOOKINGTICKETS"); ?>

    http://wp-events-plugin.com/documentation/using-template-files/

  5. jeskrist
    Member
    Posted 3 years ago #

    hmm, that echo┬┤s only "#_BOOKINGTICKETS" out

  6. agelonwl
    Member
    Posted 3 years ago #

    sorry, try this snippet instead of #_BOOKINGTICKETS

    <?php foreach($EM_Booking->get_tickets_bookings() as $EM_Ticket_Booking): ?>
    <?php echo $EM_Ticket_Booking->get_ticket()->name; ?>
    Quantity: <?php echo $EM_Ticket_Booking->get_spaces(); ?>
    Price: <?php echo em_get_currency_symbol(!get_option('dbem_smtp_html'))." ". number_format($EM_Ticket_Booking->get_price(),2); ?>
    <?php endforeach; ?>
  7. jeskrist
    Member
    Posted 3 years ago #

    That does it, thank you

  8. agelonwl
    Member
    Posted 3 years ago #

    that's great.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Events Manager
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic