Search Results for 'booking form'

WordPress Event Management, Calendars & Registration Forums Search Search Results for 'booking form'

Viewing 15 results - 361 through 375 (of 932 total)
  • Author
    Search Results
  • #23464

    Stephen Harris

    Hi Steven,

    This is possible. First you would need to edit the template event-organiser-pro/templates/eo-booking-form.php to replace:

    if ( eo_get_schedule_last( DATETIMEOBJ, $booking_form->get( 'event_id' ) ) < $now ) {
    

    with

    $schedule = eo_get_event_schedule( $booking_form->get( 'event_id' ) );
    if ( $schedule['schedule_finish'] < $now ) {
    

    That conditional alters when the booking form is replaced by a message saying that the event is no longer available for bookings. By default it happens when the last occurrence has started (rather than finished – as you want it to do).

    Then, in a site utility plug-in (or, less desirably, in a theme’s functions.php) you need to use the following snippet to include the current occurrence in the ‘bookable’ dates:

    add_filter( 'eventorganiser_bookable_occurrences', function( $bookable, $event_id ) {
        $now      = new DateTime( 'now', eo_get_blog_timezone() );
        $bookable = eo_get_the_occurrences_of( $event_id );
        foreach( $bookable as $occurrence_id => $occurrence ) {
            //Remove events whose end date is in the past
            if ( $now > $occurrence['end'] ) {
                unset( $bookable[$occurrence_id] );
            }
        }
        return $bookable;
    }, 10, 2 );
    

    Brian Reeves

    I get this error when trying to make any edits to the booking form: “Error: (200) Unreadable response. See console for response recieved.” Here’s a screen shot of the error and my console after I tried to add a Phone field:

    enter image description here

    #23324

    Stephen Harris

    Hi Alex,

    Just to confirm, you want the booking confirmation to go both to the attendee and the coach? The filter you refer to could be used, but this is simply triggered immediately prior to the e-mail being sent and allows you to either abort the e-mail, or do some other action. That could include sending an e-mail to someone else (e.g. the coach).

    There is a better way, however. You can use the e-mail headers CC the coach in. Here I assume that the form field you are using to collect the e-mail has an ID of 123.

    add_filter( 'eventorganiser_booking_confirmed_email_headers', function( $headers, $booking_id ) {
        $coach_email = eo_get_booking_meta( $booking_id, 'meta_123', true );
        $headers[] = "Cc: {$coach_email}";
        return $headers;
    }, 10, 2 );
    

    Alex Hofstra

    Hi Stephen,

    In our case a coach is submitting a attendee to a event. The attendee is receiving a confirmation email and
    the admin emailaddres. I recieved a question if it was possible to send a copy of the confirmation
    email to the coach. I browsed the forum and found this topic:
    http://wp-event-organiser.com/forums/topic/remaining-tickets-and-additional-email/

    For my understanding: If a create a extra e-mail field in the booking form like (E-mailaddress coach) the
    code below will send also the confirmation e-mail to “e-mailaddress coach”?
    Or do I have to tell the script that I added a extra e-mailaddress field so it will send also the confirmation e-mail
    to the coach?

    add_filter( ‘eventorganiser_notify_confirmed_booking’, ‘my_notification_handler’, 10, 2 );
    function my_notification_handler( $notify, $booking_id ){
    //Do notification e-mails…
    //Set $notify to false to disable default behaviour
    return $notify;
    }

    This script is placed also in Your Site’s Functionality Plugin?

    Thanks a lot!

    #23264

    Alex Hofstra

    Hi Stephen,

    I am sorry I am bothering you again. We need to sent some event depending information to the attendees with the confirmation email (or booking_confirmation email)
    First I wanted to use custom fields for this but that is (for me) much too complicated. Than I found the place holder tag %event_excerpt% and my thoughts were as follows: if we add the additional information to the excerpt of a event we can add it to the confirmation email.
    I tried to add this to the confirmation email but it doesn’t work. Within the email it is not recgocnized as a field you can add to the email like %event_date% or %event_venue% .

    Is it possible to add the excerpt to the confirmation email or do I need to approach it differently? Suggestions?

    Thank you for your reply!

    #23214

    Stephen Harris

    Hi Chris,

    Unfortunately the booking by series / occurrence is a global option.

    The ability to toggle it on an event-by-event basis hasn’t really been considered, but I can investigate whether that could be a possibility. This would most likely take the form of a filter which would require you to implement the user-interface for toggling the event’s behaviour.

    This will be problematic in one sense that if you change that setting for an event, you’d have to refresh the event edit page before it’s change will take effect on the event admins screen (i.e. where you are creating tickets).

    #23110

    Niina Pihlava

    That’s unfortunate but no problem.

    Hey, Stephen,

    That’s unfortunate.

    Can you say if this is possible:

    PERFORMANCE A (added to main-category)
    SUB-PERFORMANCE A (morning times, added to sub-category)
    SUB-PERFORMANCE A (evening times, added to sub-category)

    In the navigation I’d show the PERFORMANCE A and it’s time cover the whole time the performance is going. Inside this single Performance I’d use the ‘event-category’ => ‘sub-category’ to get the exact times the performance is going.

    So my question is: Can I print the booking form in the way like this?

    Regards,
    Niina


    Bond Nwonye

    If event is a recurring one, buyer is unable to select more than one ticket in the booking form (bug). The Quantity drop-down selection simply allows a max of one ticket.

    Note that for non-recurring events, buyer is still able to select more than one ticket.

    #22874

    Pep Boix

    Hi, i’m trying to display charts about user bookings vs total events. How I can get the number_format to show the number of events where the user has subscribed?

    For now I can show the total number of events
    $ Count_total_events = wp_count_posts (‘event’);

    #22810

    Stephen Harris

    Hi David,

    Names are entirely optional, and are not used in security checks for credit cards. Stripe doesn’t ask for this information (although you can provide it), so the plug-in doesn’t provide it.

    That said, your question does highlight a potential user experience problem. Clearly you felt that, even if a name field wasn’t required, the booking form would be linking the bookee’s name to the credit card. If that was the impression you had, it’s almost certain that other users (your customers, for example) will also have the same impression. And that might just make the more reluctant click ‘Book’ if they think the information they are providing is being misinterpreted.

    So, although not necessary, there is a case for asking for the name just because it’s what most users expect. I’ll look into adding this into a future update.

    #22809

    Stephen Harris

    I still need to investigate this further, but I may have replicated this issue.

    When editing an a ticket on the event admin screen, there is a datepicker next to the ticket details (when selling by date). Ensure that all dates are correctly selected (blue background).

    The plug-in will automatically select the next available occurrence. I found, though, that if the occurrence didn’t have any tickets, I would see javascript errors in the console. This would also explain why the datepicker doesn’t appear on the booking form when you switch from the dropdown.

    It doesn’t explain why creating another date appears to fix the issue, however.

    #22740

    Stephen Harris

    Hi Bond,

    The tickets UI can be a bit tricky, at least when ‘selling by date’, because tickets are tied to occurrences and then, if the event is updated, potentially occurrences are removed and you end up with tickets that are not associated to any dates (these tickets are visible in the admin, but will not appear on the front-end).

    Here’s my suggestion. If you ever edit the dates of an event, (and there is no harm in doing so when creating a ticket for the first time). Click ‘select all’ under the ticket’s datepicker (this only applies when selling by date).

    Other things to be aware of when creating a ticket:

    1. It will not appear on the booking form outside the sale period, if you have specified one.
    2. It will not appear if you set the quantity to 0 or less (most browsers will prevent you from doing this).
    3. If not tickets appear on the front-end, this should cause the booking form not to appear at all.
    #22647

    Stephen Harris

    Hi Jos,

    This is possible, by using this function: http://codex.wp-event-organiser.com/function-eo_get_bookings.html.

    However, if it’s a recurring event and you’re selling by date, then you will need to specify a the occurrence ID to retrieve the bookings for.

    You can retrieve any data stored against the booking (collected by the booking form), via:

    eo_get_booking_meta( $booking_id, 'meta_123' );
    

    where 123 is the ID of a booking form element.

    #22543

    Boriana Strzok

    Hi There,

    I’ve recently came across an error with my booking form under the ticket field area. When a user goes to select the quantity of tickets they want, the “eo-booking-total-row” content area does not appear so the user can’t see what their total ticket amount would be. In addition, it appears the discount code row in the table is also no longer showing. This issue seemed to have just appeared in the last few weeks or so. Here is the link to the booking form event page

    Upon inspecting the page, there seems to be an Uncaught Error: Syntax error, unrecognized expression: #site-navigation a[href*=#]:not([href=#]). This however is beyond my understanding of code.

    Could you please help resolve this issue?

    Thanks in advance,
    Boriana

    #22448

    Stephen Harris

    Hi Jane,

    Are you selling by date or series?

    If the former, the cap should apply to each date individually. It also shouldn’t be possible to sell an unlimited number of tickets as you are limited by the ticket spaces too.

    Do you offer multiple tickets? If so, is it possible to make an individual ticket sell out.

    Also, just point out that for recurring events when selling by date, if a date sells out it will be disabled. When a user lands on the booking form the next available date is preselected. So that could give the impression the event isnt selling out as the date being booked for is shifting.

Viewing 15 results - 361 through 375 (of 932 total)