WordPress.org

Ready to get started?Download WordPress

Forums

Events Manager
[resolved] Recurring Events // early bird tickets // end of booking date dynamically (12 posts)

  1. rainerkormann
    Member
    Posted 1 year ago #

    Hi,

    is it possible, to set the end of booking date for early bird tickets dynamically, when setting up recurring events?
    The only chance to do this seems to edit each event manually, after setting up recurring events. That is kind of sad, because changing the recurring events globally would overwrite the manually set end dates for early bird tickets.

    Do you see any way?

    Thanks in advance,
    Rainer.

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

  2. caimin_nwl
    NetWebLogic Support
    Posted 1 year ago #

    Hi Rainer,

    I don't follow 100% how you want to making the booking dynamic. Do you mean in terms of ticket numbers available or a date / price combination? Thanks.

  3. kevinB
    Member
    Posted 1 year ago #

    Glad to have rediscovered this plugin. After reviewing several others, EM is the only one adjustable enough to meet my goals out of the box.

    But I did run into the same/similar issue with recurring events and multiple tickets. I want different ticket pricing based on number of days from event. But the Start/End dates for each ticket are just copied literally into each recurrence. The result is unexpected availability windows and/or bookings closed.

  4. angelo
    NetWebLogic Support
    Posted 1 year ago #

    maybe you can try to hook into em_ticket_get_price filter which is located at em-ticket.php

    http://codex.wordpress.org/Plugin_API#Filters

  5. kevinB
    Member
    Posted 1 year ago #

    I'll look into that. By the way, I'm using multi-day events with weekly recurrence.

  6. kevinB
    Member
    Posted 1 year ago #

    While looking into this, I discovered a couple mistakes in the ticket API:

    • EM_Ticket::get_booked_spaces() applies filter 'em_ticket_get_available_spaces'
    • EM_Ticket::output_property() does not include function argument $property in the em_ticket_output_property filter application
  7. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    thanks will fix those in next update

  8. kevinB
    Member
    Posted 1 year ago #

    I was able to fix this with some additional date logic in EM_Event::save_events()

    If anyone would like a copy of the revised classes/em-event.php or diff file, drop me a contact.

  9. kevinB
    Member
    Posted 1 year ago #


  10. angelo
    NetWebLogic Support
    Posted 1 year ago #

    hi,

    thanks, you can also put your revised copy at pastebin.com and share the link here.

  11. kevinB
    Member
    Posted 1 year ago #

  12. angelo
    NetWebLogic Support
    Posted 1 year ago #

    thanks for sharing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic