Manually edit Bookee information

This topic contains 6 replies, has 4 voices, and was last updated by  Stephen Harris 8 months, 2 weeks ago.

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #9873

    I bet you’re getting tired of me by now =)

    I’ve found myself in a couple of situations where it would be helpful to be able to manually edit the bookee information on a booking. One is the bug I reported where canceling a booking causes the admin who cancelled it to become the bookee.

    The other is in trying to manually add a booking, for instance when an event has sold out but you want to add one more booking, or drop one booking and replace it with another from a waiting list. It seems the only way to do this currently is through the front-end. So, I make a ticket available (either by adding an extra space or cancelling an existing booking), but I don’t want anyone else to take it while I book on behalf of the person I want to have it. To accomplish this, I put the site into maintenance mode with a plugin. But this means I can only see the page and register the user if I’m logged in, so I am automatically made the bookee when I try to submit the booking.

    Anyway, in both cases it would be very convenient to be able to edit the bookee post-registration. Would being able to do this cause any negative ramifications in other areas of the plugin? In both of my cases, my general settings are set to not require or make accounts for bookings, so I can imagine it might actually be problematic in cases where there is a user account tied to the booking…

    Natalie Parisi
    #9977

    Additionally, being able to manually edit booking meta data would also be a welcome feature, as we’re finding that users tend to make a lot of mistakes and request changes.

    Natalie Parisi
    #10006

    Hi Natalie,
    I meant to post an update here. You mentioned:

    …One is the bug I reported where canceling a booking causes the admin who cancelled it to become the bookee.

    just so you know this was fixed in 1.6.2 (released on 6th March 2014).

    Adding a booking via the admin is feature someone else had requested and it was looked into. However they were complications in that if the user is logged in the booking form assumes that it is that individual who is making the booking (rather than on behalf of). Development of this feature was subsequently shelved until the booking form API has been re-factored (there are some fairly important updates for the booking form in progress).

    However, even with that resolved you could only make a booking for available tickets (i.e. tickets which would available on the front-end). The reason is that a booking must reference one or more tickets (and a positive quantity for each). If those tickets are not available or sold out than the booking is rejected.

    As for editing bookings, this is on the todo list. The major difficulty in this is that some fields have restricted input (e.g. the bookee chose one from a list pre-selection options (checkboxes, radios, select etc). If when editing a booking it should also present these options things become ‘messy’ when you consider that the original booking field may have add options removed, changed or form itself deleted. The alternative is a ‘free input’ where the admin can enter almost anything they like – however this wouldn’t be suitable if bookees were to be allowed to edit their bookings.

    As I mentioned the booking form code base is getting a lot of focus in the next few updates – and while I can’t make any gurantees, the changes are being made with the above to features in mind (or at least not to make it more difficult). Of the two, editing bookings is more likely to be happen….

    Stephen Harris
    #18519

    +1 for adding/editing bookings in the admin area. Any update on this please Stephen?

    David McCourt
    #18540

    I’ll look into this for 1.12.0 with the particular aim of allowing a ticket to be added to an existing booking.

    Stephen Harris
    #26693

    Hi Stephen,
    I think this it is really necessary to have an admin feature to allow updating booking data.
    People do make typing mistakes, and I don’t register bookees as users.
    Right now I have a first booking where the email address is missing a character , so the bookee can’t receive any confirmation or other emails.

    Can you please help?

    Sharon McErlane
    #26781

    Hi Sharon,

    The 1.12.0 version will have the ability to change e-mail / name for users without accounts. For the time being, the only way to make this change is by editing the database directly. The appropriate keys are, in the wp_postmeta table (post ID matching the booking ID):

    • _eo_booking_anon_first_name
    • _eo_booking_anon_last_name
    • _eo_booking_anon_display_name
    • _eo_booking_anon_email
    Stephen Harris
Viewing 7 posts - 1 through 7 (of 7 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.