WordPress.org

Make WordPress Core

Opened 5 years ago

Closed 5 years ago

#33853 closed enhancement (invalid)

Missing button msg for closed bookings-implemented in working copy

Reported by: ghezino Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: General Keywords:
Focuses: Cc:

Description

Hi,

We have encountered a booking with a rsvp date in the past (so booking is already closed), and some seats still remaining. In the event table the status of the booking only shows the number of seats available. Therefore the users assume they can book in that event. They open the booking and see that it is closed for booking. This case is a bit misleading. We'd better display a button message (like the ones we have for "Fully Booked" and "Book Now" in the status column saying "Booking Closed".

I have already implemented it in my working copy. But we really want to have this change to be included in the commercial version.

Changes needed to implement this:

  1. wp-content/plugins/events-manager/admin/settings/tabs/bookings.php added at line 81:
em_options_input_text ( __( 'Booking closed', 'dbem' ), 'dbem_booking_button_msg_closed', ''); 

  1. fill customised feedback in /events/wp-admin/edit.php?post_type=event&page=events-manager-options#bookings
  1. wp-content/plugins/events-manager/templates/placeholders/bookingbutton.php line 36-38:
else { //not open
                if( $EM_Event->get_bookings()->get_available_spaces() <= 0 ){
                ?><span class="em-full-button"><?php echo $notice_full ?></span><?php
                }else {
                        ?><span class="em-booked-button"><?php echo $notice_closed ?></span><?php
                }
        }

Change History (1)

#1 @dd32
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to invalid
  • Status changed from new to closed
  • Version 4.2.2 deleted

Hi @ghezino

This trac instance is for WordPress core development, not for plugin support or other plugin issues.
Please contact the author directly via the plugin page https://wordpress.org/plugins/events-manager/ (Hit the support tab)

Thanks!

Note: See TracTickets for help on using tickets.