Plugin Directory

Changeset 3831477


Ignore:
Timestamp:
11/28/2026 01:22:59 PM (17 hours ago)
Author:
themology
Message:

Release 1.2.0

Location:
evenzo-events-manager/trunk
Files:
9 added
30 edited

Legend:

Unmodified
Added
Removed
  • evenzo-events-manager/trunk/assets/css/emwc-my-account.css

    r3520666 r3831477  
    1616        padding: 5px 10px;
    1717        font-size: 12px;
     18}
     19
     20.emwc-transfer-ticket {
     21        display: flex;
     22        flex-direction: column;
     23        gap: 6px;
     24        align-items: flex-start;
     25}
     26
     27.emwc-transfer-ticket-form[hidden] {
     28        display: none;
     29}
     30
     31.emwc-transfer-ticket-form p {
     32        margin: 0 0 8px;
     33}
     34
     35.emwc-transfer-ticket-form label {
     36        display: block;
     37        font-size: 12px;
     38        margin-bottom: 2px;
     39}
     40
     41.emwc-transfer-ticket-form input[type="text"],
     42.emwc-transfer-ticket-form input[type="email"] {
     43        width: 100%;
     44        min-width: 180px;
    1845}
    1946
  • evenzo-events-manager/trunk/assets/js/admin.js

    r3807738 r3831477  
    403403                                $( '#emwc_event_data .emwc-sales-end-fields' ).toggle( ! isSeries );
    404404                                $( '#emwc_event_data .emwc-series-sales-note' ).prop( 'hidden', ! isSeries );
     405                        } );
     406
     407                        // Fixed dates or a window relative to the event start.
     408                        $( document ).on( 'change', '#_emwc_sales_window', function() {
     409                                const relative = 'relative' === $( this ).val();
     410                                $( '#emwc_event_data .emwc-sales-fixed-fields' ).prop( 'hidden', relative );
     411                                $( '#emwc_event_data .emwc-sales-relative-fields' ).prop( 'hidden', ! relative );
     412                        } );
     413
     414                        // The same choice on each variation.
     415                        $( document ).on( 'change', '.emwc-var-sales-window', function() {
     416                                const relative = 'relative' === $( this ).val();
     417                                const $box = $( this ).closest( '.emwc-var-ticket-fields' );
     418                                $box.find( '.emwc-var-sales-fixed' ).prop( 'hidden', relative );
     419                                $box.find( '.emwc-var-sales-relative' ).prop( 'hidden', ! relative );
    405420                        } );
    406421
  • evenzo-events-manager/trunk/assets/js/emwc-my-account.js

    r3520666 r3831477  
     1(function() {
     2        document.querySelectorAll('.emwc-cancel-ticket-form, .emwc-transfer-ticket-form').forEach(function(form) {
     3                form.addEventListener('submit', function(e) {
     4                        if (!window.confirm(form.dataset.confirm)) {
     5                                e.preventDefault();
     6                        }
     7                });
     8        });
     9
     10        document.querySelectorAll('.emwc-transfer-toggle').forEach(function(button) {
     11                button.addEventListener('click', function() {
     12                        var form = document.getElementById(button.getAttribute('aria-controls'));
     13                        if (!form) return;
     14                        var open = form.hidden;
     15                        form.hidden = !open;
     16                        button.setAttribute('aria-expanded', open ? 'true' : 'false');
     17                        if (open) {
     18                                var first = form.querySelector('input');
     19                                if (first) first.focus();
     20                        }
     21                });
     22        });
     23})();
     24
    125(function() {
    226        var modal = document.getElementById('emwc-qr-modal');
  • evenzo-events-manager/trunk/evenzo-events-manager.php

    r3829439 r3831477  
    44 * Plugin URI:        https://themology.com/products/event-tickets-for-woocommerce/
    55 * Description:       Create and manage events with WooCommerce. Sell tickets, manage attendees, scan QR codes at check-in, print PDF tickets, and display events with calendar views and blocks.
    6  * Version:           1.1.7
     6 * Version:           1.2.0
    77 * Requires at least: 6.0
    88 * Requires PHP:      7.4
    … …  
    3131 * @since 1.0.0
    3232 */
    33 define( 'EMWC_VERSION', '1.1.7' );
     33define( 'EMWC_VERSION', '1.2.0' );
    3434
    3535/**
  • evenzo-events-manager/trunk/includes/admin/class-emwc-admin-attendees.php

    r3815280 r3831477  
    291291                        'emwc_seat_invalid'            => __( 'Not moved: that seat is not part of the seating chart.', 'evenzo-events-manager' ),
    292292                        'emwc_reactivate_full'         => __( 'Not reactivated: the event is full. Places held by orders waiting for payment count too. Free a place or raise the capacity, then try again.', 'evenzo-events-manager' ),
     293                        'emwc_reactivate_changed'      => __( 'Not reactivated: the ticket changed in the meantime. Reload the page and try again.', 'evenzo-events-manager' ),
    293294                );
    294295                return isset( $messages[ $code ] ) ? $messages[ $code ] : __( 'Something went wrong. Try again.', 'evenzo-events-manager' );
    … …  
    337338
    338339                $ids   = array_filter( array_map( 'absint', wp_unslash( $_GET['attendee'] ) ) );
    339                 $count = 0;
     340                $count = self::run_bulk_action( $action, $ids );
     341
     342                $redirect = add_query_arg(
     343                        array(
     344                                'page'         => 'emwc-attendees',
     345                                'bulk_action'  => $action,
     346                                'bulk_count'   => $count,
     347                                'event_id'     => isset( $_GET['event_id'] ) ? absint( $_GET['event_id'] ) : 0,
     348                        ),
     349                        admin_url( 'admin.php' )
     350                );
     351                wp_safe_redirect( $redirect );
     352                exit;
     353        }
     354
     355        /**
     356         * Run one bulk action on attendees.
     357         *
     358         * A bulk delete is silent: it sends no cancellation email. A bulk cancel doesn't email inside the
     359         * request either; the emails are queued and go out in batches.
     360         *
     361         * @since 1.2.0
     362         *
     363         * @param string $action checkin, checkout, cancel or delete.
     364         * @param int[]  $ids    Attendee IDs.
     365         * @return int Attendees the action applied to.
     366         */
     367        public static function run_bulk_action( $action, array $ids ) {
     368                $count     = 0;
     369                $cancelled = array();
    340370
    341371                foreach ( $ids as $attendee_id ) {
    … …  
    357387                                        break;
    358388                                case 'cancel':
    359                                         if ( self::cancel_attendee( $attendee ) ) {
     389                                        if ( self::cancel_attendee( $attendee, array( 'skip_emails' => true ) ) ) {
     390                                                $cancelled[] = $attendee->get_id();
    360391                                                ++$count;
    361392                                        }
    362393                                        break;
    363394                                case 'delete':
    364                                         self::cancel_attendee( $attendee );
     395                                        self::cancel_attendee( $attendee, array( 'skip_emails' => true ) );
    365396                                        $attendee->delete();
    366397                                        ++$count;
    … …  
    369400                }
    370401
    371                 $redirect = add_query_arg(
    372                         array(
    373                                 'page'         => 'emwc-attendees',
    374                                 'bulk_action'  => $action,
    375                                 'bulk_count'   => $count,
    376                                 'event_id'     => isset( $_GET['event_id'] ) ? absint( $_GET['event_id'] ) : 0,
    377                         ),
    378                         admin_url( 'admin.php' )
    379                 );
    380                 wp_safe_redirect( $redirect );
    381                 exit;
     402                if ( $cancelled && class_exists( 'EMWC_Emails' ) ) {
     403                        EMWC_Emails::queue_ticket_cancelled_emails( $cancelled );
     404                }
     405
     406                return $count;
    382407        }
    383408
    … …  
    388413         *
    389414         * @param EMWC_Attendee $attendee Attendee object.
     415         * @param array         $context  Extra cancel context, such as `skip_emails`.
    390416         * @return bool True when the ticket was cancelled.
    391417         */
    392         public static function cancel_attendee( $attendee ) {
    393                 if ( ! $attendee->get_id() || 'cancelled' === $attendee->get( 'status' ) ) {
    394                         return false;
    395                 }
    396 
    397                 $attendee_id = $attendee->get_id();
    398                 $attendee->set( 'status', 'cancelled' );
    399                 $attendee->save();
    400 
    401                 if ( 'yes' === get_option( 'emwc_enable_seating_charts', 'no' ) && class_exists( 'EMWC_Seating' ) ) {
    402                         EMWC_Seating::release_attendee_seat( $attendee_id );
    403                 }
    404 
    405                 do_action( 'emwc_ticket_cancelled', $attendee_id, $attendee );
    406 
    407                 return true;
     418        public static function cancel_attendee( $attendee, array $context = array() ) {
     419                return true === EMWC_Ticket_Cancellation::cancel( $attendee, array_merge( $context, array( 'by' => 'admin' ) ) );
    408420        }
    409421
    … …  
    11021114                        $attendee = new EMWC_Attendee( $attendee_id );
    11031115                        if ( $attendee->get_id() && 'cancelled' === $attendee->get( 'status' ) ) {
    1104                                 // The freed place may have gone to someone else, so a full event keeps the ticket cancelled.
    1105                                 if ( class_exists( 'EMWC_WC_Integration' ) && EMWC_WC_Integration::is_event_at_capacity( absint( $attendee->get( 'event_id' ) ) ) ) {
    1106                                         wp_safe_redirect( admin_url( 'admin.php?page=emwc-attendees&attendee_id=' . $attendee_id . '&emwc_error=emwc_reactivate_full' ) );
     1116                                $result = EMWC_Ticket_Cancellation::reactivate( $attendee );
     1117                                if ( is_wp_error( $result ) ) {
     1118                                        wp_safe_redirect( admin_url( 'admin.php?page=emwc-attendees&attendee_id=' . $attendee_id . '&emwc_error=' . rawurlencode( $result->get_error_code() ) ) );
    11071119                                        exit;
    11081120                                }
    1109 
    1110                                 $attendee->set( 'status', 'active' );
    1111                                 $attendee->save();
    1112 
    1113                                 do_action( 'emwc_ticket_reactivated', $attendee_id, $attendee );
    11141121
    11151122                                wp_safe_redirect( admin_url( 'admin.php?page=emwc-attendees&attendee_id=' . $attendee_id . '&reactivated=1' ) );
  • evenzo-events-manager/trunk/includes/admin/class-emwc-admin-meta-boxes.php

    r3716241 r3831477  
    6464                // Ticket configuration meta box (only if WooCommerce is active).
    6565                if ( class_exists( 'WooCommerce' ) ) {
     66                        add_meta_box(
     67                                'emwc-event-notify',
     68                                __( 'Notify ticket holders', 'evenzo-events-manager' ),
     69                                array( __CLASS__, 'render_event_notify_meta_box' ),
     70                                'emwc_event',
     71                                'side',
     72                                'default'
     73                        );
     74
    6675                        add_meta_box(
    6776                                'emwc-event-tickets',
    … …  
    982991                $old_copied_meta = EMWC_Recurrence::get_parent_snapshot( $post_id );
    983992
     993                $old_schedule = self::get_schedule_snapshot( $post_id );
     994                $old_series   = ! empty( $_POST['emwc_notify_holders'] ) ? self::get_series_snapshots( $post_id ) : array(); // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Nonce checked at the top of this method.
     995
    984996                $event->save( $data );
     997
     998                self::maybe_notify_ticket_holders( $post_id, $post, $old_schedule );
    985999
    9861000                // The recurrence is saved further down, so on the first save as a series is_parent() is still false:
    … …  
    11841198                        }
    11851199
     1200                        // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce checked at the top of this method.
     1201                        if ( ! empty( $changed_ids ) && ! empty( $_POST['emwc_notify_holders'] ) && 'publish' === $post->post_status && class_exists( 'EMWC_Emails' ) ) {
     1202                                $series_message = isset( $_POST['emwc_update_message'] ) ? substr( sanitize_textarea_field( wp_unslash( $_POST['emwc_update_message'] ) ), 0, 1000 ) : '';
     1203                                self::notify_series_dates( $post_id, $changed_ids, $old_series, $series_message );
     1204                        }
     1205                        // phpcs:enable WordPress.Security.NonceVerification.Missing
     1206
    11861207                        if ( ! empty( $changed_ids ) ) {
    11871208                                set_transient(
    … …  
    11951216                                );
    11961217                        }
     1218                }
     1219        }
     1220
     1221        /**
     1222         * Render the notify ticket holders meta box.
     1223         *
     1224         * @since 1.2.0
     1225         *
     1226         * @param WP_Post $post Post object.
     1227         * @return void
     1228         */
     1229        public static function render_event_notify_meta_box( $post ) {
     1230                ?>
     1231                <p>
     1232                        <label for="emwc_notify_holders">
     1233                                <input type="checkbox" id="emwc_notify_holders" name="emwc_notify_holders" value="1" checked="checked" />
     1234                                <?php esc_html_e( 'Email ticket holders about date, time or venue changes', 'evenzo-events-manager' ); ?>
     1235                        </label>
     1236                </p>
     1237                <p>
     1238                        <label for="emwc_update_message"><?php esc_html_e( 'Message to ticket holders (optional)', 'evenzo-events-manager' ); ?></label>
     1239                        <textarea id="emwc_update_message" name="emwc_update_message" rows="3" class="widefat" maxlength="1000"></textarea>
     1240                </p>
     1241                <p class="description">
     1242                        <?php esc_html_e( 'Sent when you update a published event whose date, time or venue changed. Cancelled tickets are skipped.', 'evenzo-events-manager' ); ?>
     1243                </p>
     1244                <?php
     1245        }
     1246
     1247        /**
     1248         * Ticket holders queued for the update email in this request, by post the notice belongs to.
     1249         *
     1250         * @var int[]
     1251         */
     1252        private static $queued_for_notice = array();
     1253
     1254        /**
     1255         * Read what ticket holders care about: when and where.
     1256         *
     1257         * Values are normalized, so how a time is written (19:00, 19:00:00, 7:00 PM) or an empty
     1258         * venue against 0 doesn't count as a change: start and end are timestamps, the venue an integer.
     1259         *
     1260         * @since 1.2.0
     1261         *
     1262         * @param int $post_id Event ID.
     1263         * @return array Normalized when and where.
     1264         */
     1265        private static function get_schedule_snapshot( $post_id ) {
     1266                $snapshot   = array(
     1267                        'venue' => absint( get_post_meta( $post_id, '_emwc_venue_id', true ) ),
     1268                );
     1269                $start_date = trim( (string) get_post_meta( $post_id, '_emwc_start_date', true ) );
     1270                foreach ( array( 'start', 'end' ) as $part ) {
     1271                        $date = trim( (string) get_post_meta( $post_id, '_emwc_' . $part . '_date', true ) );
     1272                        $time = trim( (string) get_post_meta( $post_id, '_emwc_' . $part . '_time', true ) );
     1273                        if ( '' === $date && '' !== $time ) {
     1274                                // An end time without an end date ends on the start date.
     1275                                $date = $start_date;
     1276                        }
     1277                        $ts = EMWC_Recurring_Tickets::get_timestamp( $post_id, $date, $time );
     1278
     1279                        // A value that doesn't parse still counts as a change when its text changes.
     1280                        $snapshot[ $part ] = $ts ? $ts : $date . ' ' . $time;
     1281                }
     1282                return $snapshot;
     1283        }
     1284
     1285        /**
     1286         * Queue the update email when a published event's date, time or venue changed on save.
     1287         *
     1288         * @since 1.2.0
     1289         *
     1290         * @param int     $post_id      Event ID.
     1291         * @param WP_Post $post         Post object.
     1292         * @param array   $old_schedule Schedule before the save.
     1293         * @return void
     1294         */
     1295        private static function maybe_notify_ticket_holders( $post_id, $post, $old_schedule ) {
     1296                // phpcs:disable WordPress.Security.NonceVerification.Missing -- Nonce checked in save_event_meta().
     1297                if ( empty( $_POST['emwc_notify_holders'] ) || 'publish' !== $post->post_status || ! class_exists( 'EMWC_Emails' ) ) {
     1298                        return;
     1299                }
     1300                $message = isset( $_POST['emwc_update_message'] ) ? substr( sanitize_textarea_field( wp_unslash( $_POST['emwc_update_message'] ) ), 0, 1000 ) : '';
     1301                // phpcs:enable WordPress.Security.NonceVerification.Missing
     1302
     1303                if ( self::get_schedule_snapshot( $post_id ) === $old_schedule ) {
     1304                        return;
     1305                }
     1306
     1307                self::queue_update_email( $post_id, $message );
     1308        }
     1309
     1310        /**
     1311         * Queue the update email for one event or series date, unless it has ended, and add to the notice.
     1312         *
     1313         * @since 1.2.0
     1314         *
     1315         * @param int    $event_id Event or series date ID.
     1316         * @param string $message  Message for the email.
     1317         * @param int    $notice   Post the save notice belongs to; the event itself when 0.
     1318         * @return int Ticket holders queued.
     1319         */
     1320        private static function queue_update_email( $event_id, $message, $notice = 0 ) {
     1321                $ends = EMWC_Booking::get_end( $event_id );
     1322                if ( $ends && $ends < time() ) {
     1323                        return 0;
     1324                }
     1325
     1326                $queued = EMWC_Emails::queue_event_update( $event_id, $message );
     1327                if ( $queued > 0 ) {
     1328                        $notice_post                             = $notice ? $notice : $event_id;
     1329                        $key                                     = 'emwc_update_email_notice_' . $notice_post;
     1330                        self::$queued_for_notice[ $notice_post ] = ( isset( self::$queued_for_notice[ $notice_post ] ) ? self::$queued_for_notice[ $notice_post ] : 0 ) + $queued;
     1331                        set_transient(
     1332                                $key,
     1333                                sprintf(
     1334                                        /* translators: %d: number of ticket holders */
     1335                                        _n( 'Update email queued for %d ticket holder.', 'Update email queued for %d ticket holders.', self::$queued_for_notice[ $notice_post ], 'evenzo-events-manager' ),
     1336                                        self::$queued_for_notice[ $notice_post ]
     1337                                ),
     1338                                120
     1339                        );
     1340                }
     1341                return $queued;
     1342        }
     1343
     1344        /**
     1345         * Read the schedule of each date of a series, to see which ones a series save changed.
     1346         *
     1347         * @since 1.2.0
     1348         *
     1349         * @param int $parent_id Series parent ID.
     1350         * @return array[] Snapshots by date ID.
     1351         */
     1352        private static function get_series_snapshots( $parent_id ) {
     1353                $snapshots = array();
     1354                $ids       = EMWC_Recurrence::get_instances(
     1355                        $parent_id,
     1356                        array(
     1357                                'post_status' => EMWC_Recurrence::LIVE_STATUSES,
     1358                                'fields'      => 'ids',
     1359                        )
     1360                );
     1361                foreach ( (array) $ids as $id ) {
     1362                        $snapshots[ (int) $id ] = self::get_schedule_snapshot( (int) $id );
     1363                }
     1364                return $snapshots;
     1365        }
     1366
     1367        /**
     1368         * Queue the update email for each date of a series whose date, time or venue a series save changed.
     1369         *
     1370         * The parent holds no tickets of its own (except orders from before 1.1.0), so the holders to tell
     1371         * are those of the dates.
     1372         *
     1373         * @since 1.2.0
     1374         *
     1375         * @param int     $parent_id   Series parent ID.
     1376         * @param int[]   $changed_ids Dates the save changed.
     1377         * @param array[] $old         Snapshots from before the save, by date ID.
     1378         * @param string  $message     Message for the email.
     1379         * @return void
     1380         */
     1381        private static function notify_series_dates( $parent_id, $changed_ids, $old, $message ) {
     1382                foreach ( array_unique( array_map( 'intval', (array) $changed_ids ) ) as $date_id ) {
     1383                        if ( ! isset( $old[ $date_id ] ) || self::get_schedule_snapshot( $date_id ) === $old[ $date_id ] ) {
     1384                                continue;
     1385                        }
     1386                        self::queue_update_email( $date_id, $message, $parent_id );
    11971387                }
    11981388        }
  • evenzo-events-manager/trunk/includes/admin/class-emwc-admin-settings.php

    r3826082 r3831477  
    144144                register_setting( 'emwc_tickets_settings', 'emwc_collect_attendee_info', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) );
    145145                register_setting( 'emwc_tickets_settings', 'emwc_allow_mixed_cart', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) );
     146                register_setting( 'emwc_tickets_settings', 'emwc_customer_cancel', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) );
     147                register_setting( 'emwc_tickets_settings', 'emwc_customer_cancel_hours', array( 'sanitize_callback' => 'absint' ) );
     148                register_setting( 'emwc_tickets_settings', 'emwc_customer_transfer', array( 'sanitize_callback' => array( __CLASS__, 'sanitize_checkbox' ) ) );
     149                register_setting( 'emwc_tickets_settings', 'emwc_customer_transfer_hours', array( 'sanitize_callback' => 'absint' ) );
    146150                register_setting( 'emwc_tickets_settings', 'emwc_min_tickets_default', array( 'sanitize_callback' => 'absint' ) );
    147151                register_setting( 'emwc_tickets_settings', 'emwc_max_tickets_default', array( 'sanitize_callback' => 'absint' ) );
    … …  
    573577                $ticket_code_prefix    = get_option( 'emwc_ticket_code_prefix', 'EMWC' );
    574578                $ticket_code_length    = get_option( 'emwc_ticket_code_length', 8 );
     579                $customer_cancel       = get_option( 'emwc_customer_cancel', 'no' );
     580                $customer_cancel_hours = get_option( 'emwc_customer_cancel_hours', 24 );
     581                $customer_transfer       = get_option( 'emwc_customer_transfer', 'no' );
     582                $customer_transfer_hours = get_option( 'emwc_customer_transfer_hours', 24 );
    575583                ?>
    576584                <h2><?php esc_html_e( 'Ticket Options', 'evenzo-events-manager' ); ?></h2>
    … …  
    648656                                        <input type="number" id="emwc_persons_per_ticket_default" name="emwc_persons_per_ticket_default" value="<?php echo esc_attr( $persons_per_ticket ); ?>" min="1" class="small-text" />
    649657                                        <span class="description"><?php esc_html_e( 'persons per ticket', 'evenzo-events-manager' ); ?></span>
     658                                </td>
     659                        </tr>
     660                </table>
     661
     662                <h2><?php esc_html_e( 'Changes by customers', 'evenzo-events-manager' ); ?></h2>
     663                <table class="form-table">
     664                        <tr>
     665                                <th scope="row" class="titledesc"><?php esc_html_e( 'Cancellations', 'evenzo-events-manager' ); ?></th>
     666                                <td class="forminp forminp-checkbox">
     667                                        <fieldset>
     668                                                <label for="emwc_customer_cancel">
     669                                                        <input type="checkbox" id="emwc_customer_cancel" name="emwc_customer_cancel" value="yes" <?php checked( $customer_cancel, 'yes' ); ?> />
     670                                                        <?php esc_html_e( 'Let customers cancel tickets from My Account', 'evenzo-events-manager' ); ?>
     671                                                </label>
     672                                                <p class="description"><?php esc_html_e( 'Each ticket gets a Cancel button under My Account > My Tickets. Cancelling frees the place and tells the waitlist. Refunds are not made automatically.', 'evenzo-events-manager' ); ?></p>
     673                                        </fieldset>
     674                                </td>
     675                        </tr>
     676                        <tr>
     677                                <th scope="row" class="titledesc">
     678                                        <label for="emwc_customer_cancel_hours"><?php esc_html_e( 'Cancellation deadline', 'evenzo-events-manager' ); ?></label>
     679                                </th>
     680                                <td class="forminp">
     681                                        <input type="number" id="emwc_customer_cancel_hours" name="emwc_customer_cancel_hours" value="<?php echo esc_attr( $customer_cancel_hours ); ?>" min="0" class="small-text" />
     682                                        <span class="description"><?php esc_html_e( 'hours before the event starts', 'evenzo-events-manager' ); ?></span>
     683                                        <p class="description"><?php esc_html_e( 'Set 0 to allow cancelling until the event starts.', 'evenzo-events-manager' ); ?></p>
     684                                </td>
     685                        </tr>
     686                        <tr>
     687                                <th scope="row" class="titledesc"><?php esc_html_e( 'Transfers', 'evenzo-events-manager' ); ?></th>
     688                                <td class="forminp forminp-checkbox">
     689                                        <fieldset>
     690                                                <label for="emwc_customer_transfer">
     691                                                        <input type="checkbox" id="emwc_customer_transfer" name="emwc_customer_transfer" value="yes" <?php checked( $customer_transfer, 'yes' ); ?> />
     692                                                        <?php esc_html_e( 'Let customers transfer tickets to another person', 'evenzo-events-manager' ); ?>
     693                                                </label>
     694                                                <p class="description"><?php esc_html_e( 'Each ticket gets a Transfer button under My Account > My Tickets. The ticket gets a new code, so the old QR code and PDF stop working, and the new holder receives it by email. The seat stays the same. The buyer still sees and manages the ticket under My Tickets after a transfer.', 'evenzo-events-manager' ); ?></p>
     695                                        </fieldset>
     696                                </td>
     697                        </tr>
     698                        <tr>
     699                                <th scope="row" class="titledesc">
     700                                        <label for="emwc_customer_transfer_hours"><?php esc_html_e( 'Transfer deadline', 'evenzo-events-manager' ); ?></label>
     701                                </th>
     702                                <td class="forminp">
     703                                        <input type="number" id="emwc_customer_transfer_hours" name="emwc_customer_transfer_hours" value="<?php echo esc_attr( $customer_transfer_hours ); ?>" min="0" class="small-text" />
     704                                        <span class="description"><?php esc_html_e( 'hours before the event starts', 'evenzo-events-manager' ); ?></span>
     705                                        <p class="description"><?php esc_html_e( 'Set 0 to allow transfers until the event starts.', 'evenzo-events-manager' ); ?></p>
    650706                                </td>
    651707                        </tr>
  • evenzo-events-manager/trunk/includes/admin/class-emwc-admin.php

    r3807738 r3831477  
    3232                add_action( 'admin_notices', array( $this, 'display_capacity_sync_warnings' ) );
    3333                add_action( 'admin_notices', array( $this, 'display_dates_sync_notice' ) );
     34                add_action( 'admin_notices', array( $this, 'display_update_email_notice' ) );
    3435                add_action( 'admin_notices', array( $this, 'display_recurrence_kept_notice' ) );
    3536                add_action( 'admin_notices', array( $this, 'display_closed_sales_notice' ) );
    … …  
    101102
    102103                delete_transient( 'emwc_dates_sync_notice_' . $post->ID );
     104                ?>
     105                <div class="notice notice-success is-dismissible">
     106                        <p><?php echo esc_html( $message ); ?></p>
     107                </div>
     108                <?php
     109        }
     110
     111        /**
     112         * Tell the editor an update email was queued for ticket holders.
     113         *
     114         * @since 1.2.0
     115         *
     116         * @return void
     117         */
     118        public function display_update_email_notice() {
     119                $screen = get_current_screen();
     120                if ( ! $screen || 'emwc_event' !== $screen->post_type ) {
     121                        return;
     122                }
     123
     124                global $post;
     125                if ( ! $post || ! isset( $post->ID ) ) {
     126                        return;
     127                }
     128
     129                $message = get_transient( 'emwc_update_email_notice_' . $post->ID );
     130                if ( empty( $message ) ) {
     131                        return;
     132                }
     133
     134                delete_transient( 'emwc_update_email_notice_' . $post->ID );
    103135                ?>
    104136                <div class="notice notice-success is-dismissible">
  • evenzo-events-manager/trunk/includes/api/class-emwc-rest-attendees-controller.php

    r3716241 r3831477  
    305305                        'status'     => '%s',
    306306                );
     307
     308                // Cancelling goes through the cancellation core, so stock, the order note and the emails follow.
     309                if ( $request->has_param( 'status' ) && 'cancelled' === sanitize_text_field( $request->get_param( 'status' ) ) ) {
     310                        unset( $fields['status'] );
     311                        if ( 'cancelled' !== $attendee['status'] ) {
     312                                $cancelled = EMWC_Ticket_Cancellation::cancel( new EMWC_Attendee( absint( $attendee['attendee_id'] ) ), array( 'by' => 'admin' ) );
     313                                if ( is_wp_error( $cancelled ) ) {
     314                                        if ( ! is_array( $cancelled->get_error_data() ) || empty( $cancelled->get_error_data()['status'] ) ) {
     315                                                $cancelled->add_data( array( 'status' => 400 ) );
     316                                        }
     317                                        return $cancelled;
     318                                }
     319                        }
     320                }
    307321
    308322                foreach ( $fields as $field => $fmt ) {
  • evenzo-events-manager/trunk/includes/class-emwc-deactivator.php

    r3660972 r3831477  
    3636                wp_clear_scheduled_hook( 'emwc_waitlist_expiration_check' );
    3737                wp_clear_scheduled_hook( 'emwc_release_expired_seats' );
     38                wp_clear_scheduled_hook( 'emwc_cleanup_update_jobs' );
    3839
    3940                // Flush rewrite rules to remove custom post type rules.
  • evenzo-events-manager/trunk/includes/class-emwc-schema.php

    r3716241 r3831477  
    520520                        if ( class_exists( 'EMWC_Recurring_Tickets' ) && EMWC_Recurring_Tickets::is_series_product( $product ) ) {
    521521                                // A series ticket's stock is not its capacity; each date has its own.
     522                                // A date outside this ticket's sales window is not offered.
     523                                if ( 'open' !== EMWC_WC_Integration::get_sales_window_state( $product, $event_id ) ) {
     524                                        continue;
     525                                }
    522526                                $status   = '' !== $date_status ? $date_status : EMWC_Recurring_Tickets::get_date_status( $event_id, false );
    523527                                $sellable = 'available' === $status;
  • evenzo-events-manager/trunk/includes/class-emwc.php

    r3814747 r3831477  
    9898                require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-attendee-fields.php';
    9999                require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-attendee-query.php';
     100                require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-ticket-cancellation.php';
     101                require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-ticket-transfer.php';
    100102                require_once EMWC_PLUGIN_DIR . 'includes/lib/qrcode/qrcode.php';
    101103                require_once EMWC_PLUGIN_DIR . 'includes/core/class-emwc-qr-code.php';
    … …  
    166168                require_once EMWC_PLUGIN_DIR . 'includes/woocommerce/class-emwc-attendee-details.php';
    167169
     170                // Guests claim their tickets into an account.
     171                require_once EMWC_PLUGIN_DIR . 'includes/woocommerce/class-emwc-guest-claim.php';
     172
    168173                // Checkout attendee fields.
    169174                require_once EMWC_PLUGIN_DIR . 'includes/woocommerce/class-emwc-wc-checkout.php';
  • evenzo-events-manager/trunk/includes/emails/class-emwc-email-event-update.php

    r3520666 r3831477  
    5353         * @param int    $event_id Event ID.
    5454         * @param string $update_message Update message.
     55         * @param array  $recipients     Optional. People to mail, each with email, first_name and last_name. Empty means every active attendee.
    5556         */
    56         public function trigger( $event_id, $update_message = '' ) {
     57        public function trigger( $event_id, $update_message = '', $recipients = array() ) {
    5758                if ( ! $event_id ) {
    5859                        return;
    … …  
    6768                $this->placeholders['{event_venue}'] = $this->get_event_venue_string();
    6869
    69                 $attendees = $this->get_event_attendees( $event_id );
     70                $attendees = $recipients ? array_map(
     71                        function ( $recipient ) {
     72                                return (object) $recipient;
     73                        },
     74                        $recipients
     75                ) : $this->get_event_attendees( $event_id );
    7076
    7177                foreach ( $attendees as $attendee ) {
  • evenzo-events-manager/trunk/includes/emails/class-emwc-emails.php

    r3829439 r3831477  
    2525
    2626        /**
     27         * Action Scheduler hook that sends one batch of event update emails.
     28         *
     29         * @since 1.2.0
     30         */
     31        const UPDATE_BATCH_HOOK = 'emwc_send_event_update_batch';
     32
     33        /**
     34         * Ticket holders mailed per batch.
     35         *
     36         * @since 1.2.0
     37         */
     38        const UPDATE_BATCH_SIZE = 50;
     39
     40        /**
     41         * Daily sweep of event update jobs that never finished.
     42         *
     43         * @since 1.2.0
     44         * @var string
     45         */
     46        const JOB_CLEANUP_HOOK = 'emwc_cleanup_update_jobs';
     47
     48        /**
     49         * Action Scheduler hook that sends one batch of ticket cancelled emails.
     50         *
     51         * @since 1.2.0
     52         */
     53        const CANCEL_BATCH_HOOK = 'emwc_send_ticket_cancelled_batch';
     54
     55        /**
     56         * Ticket cancelled emails sent per batch.
     57         *
     58         * @since 1.2.0
     59         */
     60        const CANCEL_BATCH_SIZE = 20;
     61
     62        /**
    2763         * Initialize emails.
    2864         */
    … …  
    3066                add_filter( 'woocommerce_email_classes', array( __CLASS__, 'register_emails' ) );
    3167                add_action( 'emwc_attendee_created', array( __CLASS__, 'send_registration_emails' ), 10, 4 );
     68                add_action( 'emwc_ticket_cancelled', array( __CLASS__, 'send_ticket_cancelled_emails' ), 10, 3 );
    3269                add_action( 'emwc_event_status_changed', array( __CLASS__, 'handle_event_status_change' ), 10, 3 );
    3370                add_action( 'emwc_send_event_reminders', array( __CLASS__, 'send_event_reminders' ) );
     71                add_action( self::UPDATE_BATCH_HOOK, array( __CLASS__, 'send_event_update_batch' ), 10, 3 );
     72                add_action( self::CANCEL_BATCH_HOOK, array( __CLASS__, 'send_ticket_cancelled_batch' ) );
    3473                add_filter( 'woocommerce_email_preview_get_content', array( __CLASS__, 'handle_email_preview' ), 10, 2 );
    3574
    3675                add_action( 'init', array( __CLASS__, 'schedule_cron' ) );
     76                add_action( self::JOB_CLEANUP_HOOK, array( __CLASS__, 'cleanup_update_jobs' ) );
    3777        }
    3878
    … …  
    115155                if ( ! wp_next_scheduled( 'emwc_send_event_reminders' ) ) {
    116156                        wp_schedule_event( time(), 'daily', 'emwc_send_event_reminders' );
     157                }
     158                if ( ! wp_next_scheduled( self::JOB_CLEANUP_HOOK ) ) {
     159                        wp_schedule_event( time() + HOUR_IN_SECONDS, 'daily', 'emwc_cleanup_update_jobs' );
    117160                }
    118161        }
    … …  
    152195                require_once $email_dir . 'class-emwc-email-event-cancellation.php';
    153196                require_once $email_dir . 'class-emwc-email-admin-new-registration.php';
     197                require_once $email_dir . 'class-emwc-email-ticket-cancelled.php';
     198                require_once $email_dir . 'class-emwc-email-admin-ticket-cancelled.php';
    154199
    155200                $emails['EMWC_Email_Registration_Confirmation'] = new EMWC_Email_Registration_Confirmation();
    … …  
    159204                $emails['EMWC_Email_Event_Cancellation']        = new EMWC_Email_Event_Cancellation();
    160205                $emails['EMWC_Email_Admin_New_Registration']    = new EMWC_Email_Admin_New_Registration();
     206                $emails['EMWC_Email_Ticket_Cancelled']          = new EMWC_Email_Ticket_Cancelled();
     207                $emails['EMWC_Email_Admin_Ticket_Cancelled']    = new EMWC_Email_Admin_Ticket_Cancelled();
    161208
    162209                self::$emails = $emails;
    … …  
    208255                if ( isset( $emails['EMWC_Email_Admin_New_Registration'] ) ) {
    209256                        $emails['EMWC_Email_Admin_New_Registration']->trigger( $attendee_id, $attendee_data, $event_id, $order_id );
     257                }
     258        }
     259
     260        /**
     261         * Tell the buyer and the admin that a ticket was cancelled.
     262         *
     263         * @since 1.2.0
     264         *
     265         * @param int           $attendee_id Attendee ID.
     266         * @param EMWC_Attendee $attendee    Attendee.
     267         * @param array         $context     Who cancelled, and the order and item.
     268         * @return void
     269         */
     270        public static function send_ticket_cancelled_emails( $attendee_id, $attendee, $context = array() ) {
     271                if ( ! function_exists( 'WC' ) || ! WC()->mailer() ) {
     272                        return;
     273                }
     274
     275                // Cancelling a whole event has its own email.
     276                if ( isset( $context['by'] ) && 'event' === $context['by'] ) {
     277                        return;
     278                }
     279
     280                // A bulk delete is silent, and a bulk cancel queues its emails (queue_ticket_cancelled_emails()).
     281                if ( ! empty( $context['skip_emails'] ) ) {
     282                        return;
     283                }
     284
     285                $emails = WC()->mailer()->get_emails();
     286
     287                if ( isset( $emails['EMWC_Email_Ticket_Cancelled'] ) ) {
     288                        $emails['EMWC_Email_Ticket_Cancelled']->trigger( $attendee_id, $attendee, $context );
     289                }
     290                // The shop needs telling only when a customer cancels; a shop manager already knows.
     291                if ( isset( $emails['EMWC_Email_Admin_Ticket_Cancelled'], $context['by'] ) && 'customer' === $context['by'] ) {
     292                        $emails['EMWC_Email_Admin_Ticket_Cancelled']->trigger( $attendee_id, $attendee, $context );
     293                }
     294        }
     295
     296        /**
     297         * Queue the ticket cancelled email for tickets an admin cancelled in bulk, in batches.
     298         *
     299         * A bulk action can cancel hundreds of tickets, so the emails go out through Action Scheduler
     300         * instead of inside the admin request.
     301         *
     302         * @since 1.2.0
     303         *
     304         * @param int[] $attendee_ids Cancelled attendee IDs.
     305         * @return int Emails queued.
     306         */
     307        public static function queue_ticket_cancelled_emails( array $attendee_ids ) {
     308                $attendee_ids = array_values( array_unique( array_filter( array_map( 'absint', $attendee_ids ) ) ) );
     309
     310                foreach ( array_chunk( $attendee_ids, self::CANCEL_BATCH_SIZE ) as $chunk ) {
     311                        if ( function_exists( 'as_enqueue_async_action' ) ) {
     312                                as_enqueue_async_action( self::CANCEL_BATCH_HOOK, array( $chunk ), 'emwc' );
     313                        } else {
     314                                wp_schedule_single_event( time(), self::CANCEL_BATCH_HOOK, array( $chunk ) );
     315                        }
     316                }
     317
     318                return count( $attendee_ids );
     319        }
     320
     321        /**
     322         * Send one batch of ticket cancelled emails for tickets cancelled in bulk.
     323         *
     324         * Tickets that were reactivated or deleted since are skipped.
     325         *
     326         * @since 1.2.0
     327         *
     328         * @param int[] $attendee_ids Attendee IDs.
     329         * @return void
     330         */
     331        public static function send_ticket_cancelled_batch( $attendee_ids ) {
     332                if ( ! is_array( $attendee_ids ) ) {
     333                        return;
     334                }
     335                foreach ( array_map( 'absint', $attendee_ids ) as $attendee_id ) {
     336                        $attendee = new EMWC_Attendee( $attendee_id );
     337                        if ( ! $attendee->get_id() || 'cancelled' !== $attendee->get( 'status' ) ) {
     338                                continue;
     339                        }
     340                        $order = $attendee->get_order();
     341                        self::send_ticket_cancelled_emails(
     342                                $attendee_id,
     343                                $attendee,
     344                                array(
     345                                        'by'    => 'admin',
     346                                        'order' => $order instanceof WC_Order ? $order : null,
     347                                )
     348                        );
    210349                }
    211350        }
    … …  
    336475
    337476        /**
     477         * Get the people to tell when an event changes.
     478         *
     479         * Active and checked-in attendees plus the buyers of their orders, once per email address.
     480         * Cancelled tickets are skipped.
     481         *
     482         * @since 1.2.0
     483         *
     484         * @param int $event_id Event or series date ID.
     485         * @return array[] Each with email, first_name and last_name.
     486         */
     487        public static function get_event_update_recipients( $event_id ) {
     488                global $wpdb;
     489
     490                $table_name = $wpdb->prefix . 'emwc_attendees';
     491
     492                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching, PluginCheck.Security.DirectDB.UnescapedDBParameter -- Custom table, table name is safe.
     493                $rows = $wpdb->get_results(
     494                        $wpdb->prepare(
     495                                "SELECT attendee_id, order_id, email, first_name, last_name FROM {$table_name} WHERE event_id = %d AND status IN ( 'active', 'checked_in' ) ORDER BY attendee_id", // phpcs:ignore WordPress.DB.PreparedSQL.InterpolatedNotPrepared
     496                                $event_id
     497                        )
     498                );
     499
     500                $recipients = array();
     501                $orders     = array();
     502                foreach ( (array) $rows as $row ) {
     503                        $email = sanitize_email( $row->email );
     504                        if ( is_email( $email ) && ! isset( $recipients[ strtolower( $email ) ] ) ) {
     505                                $recipients[ strtolower( $email ) ] = array(
     506                                        'email'      => $email,
     507                                        'first_name' => $row->first_name,
     508                                        'last_name'  => $row->last_name,
     509                                );
     510                        }
     511
     512                        $order_id = (int) $row->order_id;
     513                        if ( $order_id && ! isset( $orders[ $order_id ] ) ) {
     514                                $orders[ $order_id ] = true;
     515                                $order               = wc_get_order( $order_id );
     516                                $buyer               = $order ? sanitize_email( $order->get_billing_email() ) : '';
     517                                if ( is_email( $buyer ) && ! isset( $recipients[ strtolower( $buyer ) ] ) ) {
     518                                        $recipients[ strtolower( $buyer ) ] = array(
     519                                                'email'      => $buyer,
     520                                                'first_name' => $order->get_billing_first_name(),
     521                                                'last_name'  => $order->get_billing_last_name(),
     522                                        );
     523                                }
     524                        }
     525                }
     526
     527                /**
     528                 * Filter the people mailed when an event changes.
     529                 *
     530                 * @since 1.2.0
     531                 *
     532                 * @param array[] $recipients Each with email, first_name and last_name.
     533                 * @param int     $event_id   Event or series date ID.
     534                 */
     535                $recipients = apply_filters( 'emwc_event_update_recipients', array_values( $recipients ), $event_id );
     536
     537                return is_array( $recipients ) ? array_values( $recipients ) : array();
     538        }
     539
     540        /**
     541         * Queue the update email for an event's ticket holders, in batches.
     542         *
     543         * @since 1.2.0
     544         *
     545         * @param int    $event_id       Event or series date ID.
     546         * @param string $update_message Message shown in the email.
     547         * @return int Ticket holders queued.
     548         */
     549        public static function queue_event_update( $event_id, $update_message = '' ) {
     550                $recipients = self::get_event_update_recipients( $event_id );
     551                if ( ! $recipients ) {
     552                        return 0;
     553                }
     554
     555                // The list stays out of the action's arguments, which Action Scheduler caps in size.
     556                $batches = (int) ceil( count( $recipients ) / self::UPDATE_BATCH_SIZE );
     557                $job     = strtolower( wp_generate_password( 12, false ) );
     558                update_option(
     559                        'emwc_update_job_' . $job,
     560                        array(
     561                                'recipients' => $recipients,
     562                                'message'    => $update_message,
     563                                'batches'    => $batches,
     564                                'created'    => time(),
     565                        ),
     566                        false
     567                );
     568
     569                for ( $i = 0; $i < $batches; $i++ ) {
     570                        $args = array( (int) $event_id, $job, $i );
     571                        if ( function_exists( 'as_enqueue_async_action' ) ) {
     572                                as_enqueue_async_action( self::UPDATE_BATCH_HOOK, $args, 'emwc' );
     573                        } else {
     574                                wp_schedule_single_event( time() + $i, self::UPDATE_BATCH_HOOK, $args );
     575                        }
     576                }
     577
     578                return count( $recipients );
     579        }
     580
     581        /**
     582         * Send one batch of an event update.
     583         *
     584         * @since 1.2.0
     585         *
     586         * @param int    $event_id Event or series date ID.
     587         * @param string $job      Job key.
     588         * @param int    $batch    Batch number, from 0.
     589         */
     590        public static function send_event_update_batch( $event_id, $job, $batch ) {
     591                $option = 'emwc_update_job_' . sanitize_key( $job );
     592                $data   = get_option( $option );
     593                if ( ! is_array( $data ) || empty( $data['recipients'] ) || ! function_exists( 'WC' ) || ! WC()->mailer() ) {
     594                        return;
     595                }
     596
     597                $emails = WC()->mailer()->get_emails();
     598                $people = array_slice( $data['recipients'], (int) $batch * self::UPDATE_BATCH_SIZE, self::UPDATE_BATCH_SIZE );
     599                if ( $people && isset( $emails['EMWC_Email_Event_Update'] ) ) {
     600                        $emails['EMWC_Email_Event_Update']->trigger( $event_id, $data['message'], $people );
     601                }
     602
     603                self::finish_update_batch( $option, $data, (int) $batch );
     604        }
     605
     606        /**
     607         * Record that a batch ran, and drop the job after its last batch.
     608         *
     609         * Each batch writes its own marker option. add_option() fails when the
     610         * marker exists, so a retried batch is counted once and no two batches
     611         * race over a shared counter.
     612         *
     613         * @since 1.2.0
     614         *
     615         * @param string $option Job option name.
     616         * @param array  $data   Job data.
     617         * @param int    $batch  Batch number.
     618         */
     619        private static function finish_update_batch( $option, $data, $batch ) {
     620                global $wpdb;
     621
     622                add_option( $option . '_b' . $batch, time(), '', 'no' );
     623
     624                $ran = (int) $wpdb->get_var(
     625                        $wpdb->prepare( "SELECT COUNT(*) FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( $option . '_b' ) . '%' )
     626                );
     627                if ( $ran >= (int) $data['batches'] ) {
     628                        self::delete_update_job( $option );
     629                }
     630        }
     631
     632        /**
     633         * Delete a job option and its batch markers.
     634         *
     635         * @since 1.2.0
     636         *
     637         * @param string $option Job option name.
     638         */
     639        private static function delete_update_job( $option ) {
     640                global $wpdb;
     641
     642                $names = $wpdb->get_col(
     643                        $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( $option . '_b' ) . '%' )
     644                );
     645                foreach ( $names as $name ) {
     646                        delete_option( $name );
     647                }
     648                delete_option( $option );
     649        }
     650
     651        /**
     652         * Remove event update jobs older than two days.
     653         *
     654         * A job that lost its batches (a cleared queue, a failed deploy) would
     655         * otherwise keep its recipient list in the options table for good.
     656         *
     657         * @since 1.2.0
     658         */
     659        public static function cleanup_update_jobs() {
     660                global $wpdb;
     661
     662                $names = $wpdb->get_col(
     663                        $wpdb->prepare( "SELECT option_name FROM {$wpdb->options} WHERE option_name LIKE %s", $wpdb->esc_like( 'emwc_update_job_' ) . '%' )
     664                );
     665                $limit = time() - 2 * DAY_IN_SECONDS;
     666                foreach ( $names as $name ) {
     667                        if ( preg_match( '/_b\d+$/', $name ) ) {
     668                                continue;
     669                        }
     670                        $data = get_option( $name );
     671                        if ( ! is_array( $data ) || empty( $data['created'] ) || (int) $data['created'] < $limit ) {
     672                                self::delete_update_job( $name );
     673                        }
     674                }
     675
     676                // Markers whose job is already gone.
     677                foreach ( $names as $name ) {
     678                        if ( preg_match( '/^(emwc_update_job_[a-z0-9]+)_b\d+$/', $name, $m ) && false === get_option( $m[1] ) ) {
     679                                delete_option( $name );
     680                        }
     681                }
     682        }
     683
     684        /**
    338685         * Send event cancellation notification.
    339686         *
    … …  
    378725        public static function deactivate() {
    379726                wp_clear_scheduled_hook( 'emwc_send_event_reminders' );
     727                wp_clear_scheduled_hook( self::JOB_CLEANUP_HOOK );
    380728        }
    381729}
  • evenzo-events-manager/trunk/includes/import/tec/class-emwc-tec-importer.php

    r3716241 r3831477  
    202202                        'undo_kept_sales'                    => __( 'Kept: the event has Evenzo tickets the import did not create', 'evenzo-events-manager' ),
    203203                        'undo_kept_edited'                   => __( 'Kept: its Evenzo ticket settings changed after the import', 'evenzo-events-manager' ),
    204                         'undo_kept_backup'                   => __( 'Kept: the undo backup on this product cannot be read', 'evenzo-events-manager' ),
     204                        'undo_kept_backup'                   => __( 'Kept: the undo backup on this product can\'t be read', 'evenzo-events-manager' ),
    205205                        'undo_kept_product'                  => __( 'Kept: a ticket product that stays still sells this event', 'evenzo-events-manager' ),
    206206                        'undo_kept_in_use'                   => __( 'Kept: still used by an event or category that stays', 'evenzo-events-manager' ),
  • evenzo-events-manager/trunk/includes/pdf/class-emwc-pdf-ticket.php

    r3520666 r3831477  
    8080         */
    8181        public function is_valid() {
    82                 return $this->attendee && $this->event;
     82                return $this->attendee && $this->event && 'cancelled' !== $this->attendee->status;
    8383        }
    8484
  • evenzo-events-manager/trunk/includes/waitlist/class-emwc-pricing.php

    r3716241 r3831477  
    2626
    2727        /**
     28         * Membership keys by user ID, for this request.
     29         *
     30         * @var array
     31         */
     32        private static $member_levels = array();
     33
     34        /**
    2835         * Initialize pricing functionality.
    2936         */
    … …  
    4047                add_filter( 'woocommerce_cart_item_price', array( __CLASS__, 'cart_item_price' ), 10, 3 );
    4148                add_action( 'woocommerce_before_calculate_totals', array( __CLASS__, 'apply_cart_quantity_pricing' ), 20 );
     49
     50                // A membership gained or lost mid-request must not be hidden by the per-request cache.
     51                foreach ( array( 'wc_memberships_user_membership_saved', 'wc_memberships_user_membership_status_changed', 'wc_memberships_user_membership_deleted', 'pmpro_after_change_membership_level' ) as $emwc_hook ) {
     52                        add_action( $emwc_hook, array( __CLASS__, 'flush_member_levels' ), 1 );
     53                }
    4254
    4355                // Admin meta box.
    … …  
    214226                <?php
    215227
     228                self::render_member_pricing_fields( $post->ID );
     229
    216230                echo '</div>';
     231        }
     232
     233        /**
     234         * Memberships a ticket can offer a member price for, from the active membership plugins.
     235         *
     236         * @since 1.2.0
     237         *
     238         * @return array<string, string> Typed key such as pmpro:3 or wcm:123 => label.
     239         */
     240        public static function get_membership_options() {
     241                $options = array();
     242
     243                if ( function_exists( 'pmpro_getAllLevels' ) ) {
     244                        $levels = pmpro_getAllLevels( true, true );
     245                        foreach ( is_array( $levels ) ? $levels : array() as $level ) {
     246                                /* translators: %s: membership level name */
     247                                $options[ 'pmpro:' . absint( $level->id ) ] = sprintf( __( '%s (Paid Memberships Pro)', 'evenzo-events-manager' ), $level->name );
     248                        }
     249                }
     250
     251                if ( function_exists( 'wc_memberships_get_membership_plans' ) ) {
     252                        $plans = wc_memberships_get_membership_plans();
     253                        foreach ( is_array( $plans ) ? $plans : array() as $plan ) {
     254                                /* translators: %s: membership plan name */
     255                                $options[ 'wcm:' . absint( $plan->get_id() ) ] = sprintf( __( '%s (WooCommerce Memberships)', 'evenzo-events-manager' ), $plan->get_name() );
     256                        }
     257                }
     258
     259                /**
     260                 * Filters the memberships offered in the Member prices panel.
     261                 *
     262                 * @since 1.2.0
     263                 *
     264                 * @param array<string, string> $options Typed key such as pmpro:3 or wcm:123 => label.
     265                 */
     266                $options = apply_filters( 'emwc_membership_options', $options );
     267
     268                return is_array( $options ) ? $options : array();
     269        }
     270
     271        /**
     272         * Typed membership keys a user holds right now, such as pmpro:3 and wcm:123.
     273         *
     274         * Both plugins report a membership as active only once its order is paid.
     275         *
     276         * @since 1.2.0
     277         *
     278         * @param int $user_id User ID.
     279         * @return string[]
     280         */
     281        public static function get_member_levels( $user_id ) {
     282                $user_id = absint( $user_id );
     283
     284                // The plugin lookups run once per user per request. The filter runs every time.
     285                if ( ! isset( self::$member_levels[ $user_id ] ) ) {
     286                        self::$member_levels[ $user_id ] = self::lookup_member_levels( $user_id );
     287                }
     288                $ids = self::$member_levels[ $user_id ];
     289
     290                return $ids;
     291        }
     292
     293        /**
     294         * Forget the cached membership lookups.
     295         *
     296         * Runs on membership changes, so a price read after one sees it.
     297         *
     298         * @since 1.2.0
     299         *
     300         * @param int $user_id One user to forget. Everyone when empty or not a user ID.
     301         */
     302        public static function flush_member_levels( $user_id = 0 ) {
     303                $user_id = is_scalar( $user_id ) ? absint( $user_id ) : 0;
     304                if ( $user_id ) {
     305                        unset( self::$member_levels[ $user_id ] );
     306                } else {
     307                        self::$member_levels = array();
     308                }
     309        }
     310
     311        /**
     312         * Ask the membership plugins what a user holds.
     313         *
     314         * @param int $user_id User ID.
     315         * @return string[]
     316         */
     317        private static function lookup_member_levels( $user_id ) {
     318                $ids = array();
     319
     320                if ( $user_id && function_exists( 'pmpro_getMembershipLevelsForUser' ) ) {
     321                        $levels = pmpro_getMembershipLevelsForUser( $user_id );
     322                        foreach ( is_array( $levels ) ? $levels : array() as $level ) {
     323                                $ids[] = 'pmpro:' . absint( $level->id );
     324                        }
     325                }
     326
     327                if ( $user_id && function_exists( 'wc_memberships_get_user_active_memberships' ) ) {
     328                        $memberships = wc_memberships_get_user_active_memberships( $user_id );
     329                        foreach ( is_array( $memberships ) ? $memberships : array() as $membership ) {
     330                                $ids[] = 'wcm:' . absint( $membership->get_plan_id() );
     331                        }
     332                }
     333
     334                /**
     335                 * Filters the memberships a user holds.
     336                 *
     337                 * @since 1.2.0
     338                 *
     339                 * @param string[] $ids     Typed keys such as pmpro:3 or wcm:123.
     340                 * @param int      $user_id User ID.
     341                 */
     342                $ids = apply_filters( 'emwc_user_membership_ids', $ids, $user_id );
     343
     344                return is_array( $ids ) ? array_values( array_unique( array_map( 'strval', $ids ) ) ) : array();
     345        }
     346
     347        /**
     348         * Output the Member prices fields.
     349         *
     350         * @since 1.2.0
     351         *
     352         * @param int $product_id Ticket product ID.
     353         */
     354        private static function render_member_pricing_fields( $product_id ) {
     355                $options = self::get_membership_options();
     356                if ( empty( $options ) ) {
     357                        return;
     358                }
     359
     360                echo '<hr style="margin:10px 12px;">';
     361
     362                woocommerce_wp_checkbox(
     363                        array(
     364                                'id'          => '_emwc_enable_member_pricing',
     365                                'label'       => __( 'Member prices', 'evenzo-events-manager' ),
     366                                'description' => __( 'Offer a price to logged-in members. A membership bought in the same order counts only after the order is paid. A fixed member price applies to every variation.', 'evenzo-events-manager' ),
     367                        )
     368                );
     369
     370                $rules = get_post_meta( $product_id, '_emwc_member_discounts', true );
     371                if ( ! is_array( $rules ) ) {
     372                        $rules = array();
     373                }
     374                ?>
     375                <p class="form-field emwc_member_discounts_field">
     376                        <label><?php esc_html_e( 'Member discounts', 'evenzo-events-manager' ); ?></label>
     377                        <span class="emwc-member-discounts">
     378                                <?php foreach ( $options as $emwc_key => $emwc_label ) : ?>
     379                                        <?php
     380                                        $emwc_rule = isset( $rules[ $emwc_key ] ) && is_array( $rules[ $emwc_key ] ) ? $rules[ $emwc_key ] : array();
     381                                        $emwc_type = isset( $emwc_rule['type'] ) && 'fixed' === $emwc_rule['type'] ? 'fixed' : 'percent';
     382                                        ?>
     383                                        <span class="emwc-member-row" style="display:block; margin-bottom:5px;">
     384                                                <input type="number" name="_emwc_member_discounts[<?php echo esc_attr( $emwc_key ); ?>][amount]" value="<?php echo esc_attr( isset( $emwc_rule['amount'] ) ? $emwc_rule['amount'] : '' ); ?>" style="width:80px;" step="0.01" min="0" />
     385                                                <select name="_emwc_member_discounts[<?php echo esc_attr( $emwc_key ); ?>][type]" style="width:auto;">
     386                                                        <option value="percent" <?php selected( $emwc_type, 'percent' ); ?>><?php esc_html_e( '% off', 'evenzo-events-manager' ); ?></option>
     387                                                        <option value="fixed" <?php selected( $emwc_type, 'fixed' ); ?>><?php esc_html_e( 'Fixed price', 'evenzo-events-manager' ); ?></option>
     388                                                </select>
     389                                                <span><?php echo esc_html( $emwc_label ); ?></span>
     390                                        </span>
     391                                <?php endforeach; ?>
     392                        </span>
     393                        <span class="description"><?php esc_html_e( '100% off or a fixed price of 0 makes the ticket free for that membership. When several rules apply, the lowest price wins.', 'evenzo-events-manager' ); ?></span>
     394                </p>
     395                <?php
    217396        }
    218397
    … …  
    285464                        update_post_meta( $post_id, '_emwc_role_discounts', $role_discounts );
    286465                }
     466
     467                // Member prices.
     468                // The panel is absent when no membership plugin is active; then the saved setting is left alone.
     469                // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce handles nonce.
     470                if ( isset( $_POST['_emwc_enable_member_pricing'] ) ) {
     471                        update_post_meta( $post_id, '_emwc_enable_member_pricing', 'yes' );
     472                        // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce handles nonce.
     473                } elseif ( isset( $_POST['_emwc_member_discounts'] ) ) {
     474                        update_post_meta( $post_id, '_emwc_enable_member_pricing', 'no' );
     475                }
     476
     477                // phpcs:ignore WordPress.Security.NonceVerification.Missing -- WooCommerce handles nonce.
     478                if ( isset( $_POST['_emwc_member_discounts'] ) && is_array( $_POST['_emwc_member_discounts'] ) ) {
     479                        $member_discounts = array();
     480                        // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.InputNotSanitized -- Sanitized in loop below.
     481                        $member_raw = map_deep( wp_unslash( $_POST['_emwc_member_discounts'] ), 'sanitize_text_field' );
     482                        foreach ( $member_raw as $key => $rule ) {
     483                                $key = (string) $key;
     484                                if ( ! preg_match( '/^(pmpro|wcm):\d+$/', $key ) || ! is_array( $rule ) || ! isset( $rule['amount'] ) || '' === $rule['amount'] ) {
     485                                        continue;
     486                                }
     487                                $type   = isset( $rule['type'] ) && 'fixed' === $rule['type'] ? 'fixed' : 'percent';
     488                                $amount = max( 0.0, (float) $rule['amount'] );
     489                                if ( 'percent' === $type ) {
     490                                        $amount = min( 100.0, $amount );
     491                                        if ( $amount <= 0 ) {
     492                                                continue;
     493                                        }
     494                                }
     495                                $member_discounts[ $key ] = array(
     496                                        'type'   => $type,
     497                                        'amount' => $amount,
     498                                );
     499                        }
     500                        update_post_meta( $post_id, '_emwc_member_discounts', $member_discounts );
     501                }
    287502        }
    288503
    … …  
    550765                }
    551766
     767                // Member discount.
     768                if ( 'yes' === get_post_meta( $product_id, '_emwc_enable_member_pricing', true ) ) {
     769                        if ( null === $user ) {
     770                                $user = wp_get_current_user();
     771                        } elseif ( ! $user instanceof WP_User ) {
     772                                $user = new WP_User( absint( $user ) );
     773                        }
     774                        $member_discount = $user->exists() ? self::get_member_discount( $product, $product_id, (int) $user->ID ) : 0;
     775                        if ( $member_discount > $discount ) {
     776                                $discount = $member_discount;
     777                        }
     778                }
     779
    552780                return min( $discount, 100 ); // Cap at 100%.
     781        }
     782
     783        /**
     784         * The member discount for a user, as a percentage of the product's own price.
     785         *
     786         * Each matching membership rule gives a price; the lowest wins. A fixed price is turned into
     787         * the equivalent percentage so it competes with the other discounts on the same scale.
     788         *
     789         * @since 1.2.0
     790         *
     791         * @param WC_Product $product    Product or variation.
     792         * @param int        $product_id Ticket product ID (the parent for a variation).
     793         * @param int        $user_id    User ID.
     794         * @return float Discount percentage.
     795         */
     796        private static function get_member_discount( $product, $product_id, $user_id ) {
     797                $rules   = get_post_meta( $product_id, '_emwc_member_discounts', true );
     798                $base    = self::get_base_price( $product );
     799                $base    = '' === $base ? 0.0 : (float) $base;
     800                $held    = self::get_member_levels( $user_id );
     801                $price   = null;
     802                $percent = 0.0;
     803
     804                foreach ( is_array( $rules ) ? $rules : array() as $key => $rule ) {
     805                        if ( ! in_array( (string) $key, $held, true ) || ! is_array( $rule ) || ! isset( $rule['amount'] ) ) {
     806                                continue;
     807                        }
     808                        $amount = (float) $rule['amount'];
     809                        if ( isset( $rule['type'] ) && 'fixed' === $rule['type'] ) {
     810                                if ( $base > 0 && ( null === $price || $amount < $price ) ) {
     811                                        $price = $amount;
     812                                }
     813                        } elseif ( $amount > $percent ) {
     814                                $percent = min( $amount, 100.0 );
     815                        }
     816                }
     817
     818                if ( $base > 0 ) {
     819                        $percent_price = $percent > 0 ? $base * ( 1 - $percent / 100 ) : null;
     820                        if ( null !== $percent_price && ( null === $price || $percent_price < $price ) ) {
     821                                $price = $percent_price;
     822                        }
     823                }
     824
     825                /**
     826                 * Filters the member price of a ticket.
     827                 *
     828                 * @since 1.2.0
     829                 *
     830                 * @param float|null $price   Lowest price from the user's memberships, or null when none apply.
     831                 * @param WC_Product $product Product or variation.
     832                 * @param int        $user_id User ID.
     833                 */
     834                $price = apply_filters( 'emwc_member_ticket_price', $price, $product, $user_id );
     835
     836                if ( null === $price || false === $price || '' === $price ) {
     837                        return 0.0;
     838                }
     839                if ( $base <= 0 ) {
     840                        // No price to compare with: only a percentage rule can apply.
     841                        return $percent;
     842                }
     843
     844                return max( 0.0, min( 100.0, ( 1 - max( 0.0, (float) $price ) / $base ) * 100 ) );
    553845        }
    554846
    … …  
    647939                                                return __( 'Member Price', 'evenzo-events-manager' );
    648940                                        }
     941                                }
     942                        }
     943                }
     944
     945                // Member prices.
     946                if ( 'yes' === get_post_meta( $product_id, '_emwc_enable_member_pricing', true ) && is_user_logged_in() ) {
     947                        $held  = self::get_member_levels( get_current_user_id() );
     948                        $rules = get_post_meta( $product_id, '_emwc_member_discounts', true );
     949                        foreach ( is_array( $rules ) ? array_keys( $rules ) : array() as $key ) {
     950                                if ( in_array( (string) $key, $held, true ) ) {
     951                                        return __( 'Member Price', 'evenzo-events-manager' );
    649952                                }
    650953                        }
  • evenzo-events-manager/trunk/includes/waitlist/class-emwc-waitlist.php

    r3716241 r3831477  
    571571                $valid = EMWC_Recurring_Tickets::validate_date( $product_id, $date_id );
    572572                // Places the customer holds in their own cart don't make the date sold out for them.
    573                 if ( true === $valid || 'available' === EMWC_Recurring_Tickets::get_date_status( $date_id, false ) ) {
     573                if ( true === $valid || ( 'emwc_date_sold_out' === $valid->get_error_code() && 'available' === EMWC_Recurring_Tickets::get_date_status( $date_id, false ) ) ) {
    574574                        return new WP_Error(
    575575                                'emwc_date_on_sale',
    … …  
    850850                $notifications = 0;
    851851
     852                // A place on a ticket whose sales window is not open can't be bought, so nobody is offered it.
     853                if ( ! $product || 'open' !== EMWC_WC_Integration::get_sales_window_state( $product, $event_id ? $event_id : EMWC_WC_Integration::get_ticket_event_id( $product ) ) ) {
     854                        return 0;
     855                }
     856
    852857                foreach ( $entries as $entry ) {
    853858                        self::notify_entry( $entry, $product );
    … …  
    972977         */
    973978        public static function check_stock_change( $product ) {
     979                // A ticket cancellation frees one place and notifies once itself; its stock give-back must not notify again.
     980                if ( class_exists( 'EMWC_Ticket_Cancellation' ) && EMWC_Ticket_Cancellation::is_running() ) {
     981                        return;
     982                }
     983
    974984                if ( ! $product->is_in_stock() ) {
    975985                        return;
    … …  
    11711181                $products = array();
    11721182                foreach ( EMWC_WC_Integration::get_ticket_products_for_event( EMWC_Recurring_Tickets::get_series_of( $date_id ) ) as $product ) {
    1173                         if ( EMWC_Recurring_Tickets::is_series_product( $product ) ) {
     1183                        // A ticket whose sales window is closed for this date can't sell the place, so its list isn't told.
     1184                        if ( EMWC_Recurring_Tickets::is_series_product( $product ) && 'open' === EMWC_WC_Integration::get_sales_window_state( $product, $date_id ) ) {
    11741185                                $products[ $product->get_id() ] = $product;
    11751186                        }
  • evenzo-events-manager/trunk/includes/woocommerce/class-emwc-recurring-tickets.php

    r3814747 r3831477  
    101101         *
    102102         * @since 1.1.0
    103          *
    104          * @param int  $parent_id    Series parent ID.
    105          * @param bool $include_cart Whether the current cart's quantities count against capacity.
    106          * @return array[] Each with id, start (timestamp), label and status (available, sold_out or closed), sorted by start.
    107          */
    108         public static function get_dates( $parent_id, $include_cart = true ) {
     103         * @since 1.2.0 Added $tickets.
     104         *
     105         * @param int          $parent_id    Series parent ID.
     106         * @param bool         $include_cart Whether the current cart's quantities count against capacity.
     107         * @param WC_Product[] $tickets      Ticket products the dates are offered with. A date outside the sales window of
     108         *                                   all of them gets the status not_open or closed; none given keeps the plain status.
     109         * @return array[] Each with id, start (timestamp), label and status (available, sold_out, not_open or closed), sorted by start.
     110         */
     111        public static function get_dates( $parent_id, $include_cart = true, $tickets = array() ) {
    109112                $parent_id = absint( $parent_id );
    110113                $cache_key = $parent_id . ( $include_cart ? ':cart' : ':nocart' );
    111                 if ( isset( self::$dates_cache[ $cache_key ] ) ) {
    112                         return self::$dates_cache[ $cache_key ];
    113                 }
    114 
    115                 $dates                           = self::query_dates( $parent_id, (bool) $include_cart );
    116                 self::$dates_cache[ $cache_key ] = $dates;
     114                if ( ! isset( self::$dates_cache[ $cache_key ] ) ) {
     115                        self::$dates_cache[ $cache_key ] = self::query_dates( $parent_id, (bool) $include_cart );
     116                }
     117
     118                $dates = self::$dates_cache[ $cache_key ];
     119                if ( empty( $tickets ) ) {
     120                        return $dates;
     121                }
     122
     123                foreach ( $dates as $index => $date ) {
     124                        $dates[ $index ]['status'] = self::apply_window( $date['status'], $date['id'], $tickets );
     125                }
    117126                return $dates;
     127        }
     128
     129        /**
     130         * Apply the tickets' sales windows to a date's status.
     131         *
     132         * A date stays as it is when any of the tickets can sell it now. When none can, a date whose
     133         * windows open later is not_open and one whose windows closed is closed. A date that was
     134         * already closed stays closed.
     135         *
     136         * @since 1.2.0
     137         *
     138         * @param string                  $status  Date status from get_date_status().
     139         * @param int                     $date_id Date ID.
     140         * @param WC_Product|WC_Product[] $tickets Ticket products.
     141         * @return string
     142         */
     143        public static function apply_window( $status, $date_id, $tickets ) {
     144                if ( ! in_array( $status, array( 'available', 'sold_out' ), true ) ) {
     145                        return $status;
     146                }
     147
     148                $not_open = false;
     149                $checked  = false;
     150                foreach ( is_array( $tickets ) ? $tickets : array( $tickets ) as $ticket ) {
     151                        if ( ! $ticket instanceof WC_Product || ! self::is_series_product( $ticket ) ) {
     152                                continue;
     153                        }
     154                        $checked = true;
     155                        $state   = EMWC_WC_Integration::get_sales_window_state( $ticket, $date_id );
     156                        if ( 'open' === $state ) {
     157                                return $status;
     158                        }
     159                        $not_open = $not_open || 'not_open' === $state;
     160                }
     161
     162                if ( ! $checked ) {
     163                        return $status;
     164                }
     165                return $not_open ? 'not_open' : 'closed';
    118166        }
    119167
    … …  
    181229         * @since 1.1.0
    182230         *
    183          * @param int $parent_id Series parent ID.
     231         * @param int             $parent_id Series parent ID.
     232         * @param WC_Product|null $ticket    A ticket on a relative sales window also needs a date inside its window.
    184233         * @return bool
    185234         */
    186         public static function has_sellable_date( $parent_id ) {
     235        public static function has_sellable_date( $parent_id, $ticket = null ) {
    187236                $parent_id = absint( $parent_id );
     237                if ( $ticket instanceof WC_Product && EMWC_WC_Integration::has_relative_window( $ticket ) ) {
     238                        return self::has_sellable_date( $parent_id ) && in_array( 'available', wp_list_pluck( self::get_dates( $parent_id, false, array( $ticket ) ), 'status' ), true );
     239                }
    188240                if ( isset( self::$sellable_cache[ $parent_id ] ) ) {
    189241                        return self::$sellable_cache[ $parent_id ];
    … …  
    393445                        return new WP_Error( 'emwc_date_closed', __( 'Ticket sales for the chosen date are closed.', 'evenzo-events-manager' ) );
    394446                }
     447
     448                // A relative sales window counts from this date's own start. Not yet open wins over sold out.
     449                $ticket = is_numeric( $product ) ? wc_get_product( $product ) : $product;
     450                if ( $ticket instanceof WC_Product ) {
     451                        $window_state = EMWC_WC_Integration::get_sales_window_state( $ticket, $date_id );
     452                        if ( 'not_open' === $window_state ) {
     453                                return new WP_Error( 'emwc_date_not_open', __( 'Ticket sales for the chosen date have not started yet.', 'evenzo-events-manager' ) );
     454                        }
     455                        if ( 'ended' === $window_state ) {
     456                                return new WP_Error( 'emwc_date_window_closed', __( 'Ticket sales for the chosen date have ended.', 'evenzo-events-manager' ) );
     457                        }
     458                }
    395459                if ( 'sold_out' === $status ) {
    396460                        return new WP_Error( 'emwc_date_sold_out', __( 'The chosen date is sold out.', 'evenzo-events-manager' ) );
    … …  
    423487                }
    424488
    425                 foreach ( self::get_dates( $series_id ) as $date ) {
     489                // A date whose sales window closed is passed over; one that has not opened yet still shows, as coming soon.
     490                $first_not_open = 0;
     491                foreach ( self::get_dates( $series_id, true, array( self::to_product( $product ) ) ) as $date ) {
    426492                        if ( 'available' === $date['status'] ) {
    427493                                return $date['id'];
    428494                        }
    429                 }
    430 
    431                 return 0;
     495                        if ( ! $first_not_open && 'not_open' === $date['status'] ) {
     496                                $first_not_open = (int) $date['id'];
     497                        }
     498                }
     499
     500                return $first_not_open;
    432501        }
    433502
    … …  
    454523                if ( $asked ) {
    455524                        $valid = self::validate_date( $product, $asked );
    456                         if ( true === $valid || 'emwc_date_sold_out' === $valid->get_error_code() ) {
     525                        if ( true === $valid || in_array( $valid->get_error_code(), array( 'emwc_date_sold_out', 'emwc_date_not_open', 'emwc_date_window_closed' ), true ) ) {
    457526                                return $asked;
    458527                        }
    … …  
    460529
    461530                $first_sold_out = 0;
    462                 foreach ( self::get_dates( $series_id ) as $date ) {
     531                $first_not_open = 0;
     532                foreach ( self::get_dates( $series_id, true, array( self::to_product( $product ) ) ) as $date ) {
    463533                        if ( 'available' === $date['status'] ) {
    464534                                return (int) $date['id'];
    … …  
    467537                                $first_sold_out = (int) $date['id'];
    468538                        }
     539                        if ( ! $first_not_open && 'not_open' === $date['status'] ) {
     540                                $first_not_open = (int) $date['id'];
     541                        }
     542                }
     543
     544                // A date that opens later shows as coming soon, ahead of a sold out date.
     545                if ( $first_not_open ) {
     546                        return $first_not_open;
    469547                }
    470548
    … …  
    544622         * links replaces the select.
    545623         *
    546          * @param int  $parent_id           Series parent ID.
    547          * @param int  $selected_id         Selected date ID.
    548          * @param bool $sold_out_selectable Whether sold out dates can be chosen, for their waitlist.
     624         * @param int          $parent_id           Series parent ID.
     625         * @param int          $selected_id         Selected date ID.
     626         * @param bool         $sold_out_selectable Whether sold out dates can be chosen, for their waitlist.
     627         * @param WC_Product[] $tickets             Tickets the page sells; dates outside their sales windows can't be chosen. Since 1.2.0.
    549628         * @return string Picker HTML, or an empty string when the series has no dates.
    550629         */
    551         public static function render_date_picker( $parent_id, $selected_id, $sold_out_selectable = false ) {
    552                 $dates = self::get_dates( $parent_id );
     630        public static function render_date_picker( $parent_id, $selected_id, $sold_out_selectable = false, $tickets = array() ) {
     631                $dates = self::get_dates( $parent_id, true, $tickets );
    553632                if ( empty( $dates ) ) {
    554633                        return '';
    … …  
    661740
    662741        /**
     742         * A product object from an ID or object.
     743         *
     744         * @param int|WC_Product $product Product ID or object.
     745         * @return WC_Product|null
     746         */
     747        private static function to_product( $product ) {
     748                $product = is_numeric( $product ) ? wc_get_product( $product ) : $product;
     749                return $product instanceof WC_Product ? $product : null;
     750        }
     751
     752        /**
    663753         * Get the series parent a date belongs to.
    664754         *
    … …  
    9521042                if ( 'closed' === $date['status'] ) {
    9531043                        return $date['label'] . ' ' . __( '(sales closed)', 'evenzo-events-manager' );
     1044                }
     1045                if ( 'not_open' === $date['status'] ) {
     1046                        return $date['label'] . ' ' . __( '(not on sale yet)', 'evenzo-events-manager' );
    9541047                }
    9551048                return $date['label'];
  • evenzo-events-manager/trunk/includes/woocommerce/class-emwc-wc-integration.php

    r3826082 r3831477  
    4545                add_filter( 'woocommerce_is_purchasable', array( __CLASS__, 'check_purchasable' ), 10, 2 );
    4646                add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'prevent_mixed_cart' ), 10, 3 );
    47                 add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_ticket_date' ), 10, 2 );
     47                add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_ticket_date' ), 10, 4 );
    4848                add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_seat_selection' ), 10, 5 );
    4949                add_filter( 'woocommerce_add_to_cart_validation', array( __CLASS__, 'validate_event_capacity' ), 10, 5 );
    … …  
    101101         * @since 1.1.0
    102102         *
    103          * @param bool $passed     Whether validation passed.
    104          * @param int  $product_id Product ID being added.
     103         * @param bool $passed       Whether validation passed.
     104         * @param int  $product_id   Product ID being added.
     105         * @param int  $quantity     Quantity being added.
     106         * @param int  $variation_id Variation being added, or 0.
    105107         * @return bool
    106108         */
    107         public static function validate_ticket_date( $passed, $product_id ) {
     109        public static function validate_ticket_date( $passed, $product_id, $quantity = 1, $variation_id = 0 ) {
    108110                if ( ! $passed || ! EMWC_Recurring_Tickets::is_series_product( $product_id ) ) {
    109111                        return $passed;
    … …  
    113115                // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Add to cart validation doesn't use a nonce; the value is validated below.
    114116                $date_id = isset( $_POST['emwc_event_date'] ) ? absint( wp_unslash( $_POST['emwc_event_date'] ) ) : 0;
    115                 $result  = EMWC_Recurring_Tickets::validate_date( $product_id, $date_id );
     117                $result  = EMWC_Recurring_Tickets::validate_date( $variation_id ? $variation_id : $product_id, $date_id );
    116118                if ( is_wp_error( $result ) ) {
    117119                        wc_add_notice( $result->get_error_message(), 'error' );
    … …  
    228230
    229231                        if ( $is_ticket !== $cart_is_ticket ) {
    230                                 wc_add_notice( __( 'Event tickets cannot be purchased with other products. Please complete your current order first or empty your cart.', 'evenzo-events-manager' ), 'error' );
     232                                wc_add_notice( __( 'Event tickets can\'t be purchased with other products. Please complete your current order first or empty your cart.', 'evenzo-events-manager' ), 'error' );
    231233                                return false;
    232234                        }
    … …  
    408410                                        sprintf(
    409411                                                /* translators: 1: persons to add, 2: remaining capacity */
    410                                                 __( 'Cannot add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event.', 'evenzo-events-manager' ),
     412                                                __( 'Can\'t add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event.', 'evenzo-events-manager' ),
    411413                                                $persons_to_add,
    412414                                                $remaining
    … …  
    566568                $sales_end_date   = get_post_meta( $product_id, '_emwc_sales_end_date', true );
    567569                $sales_end_time   = get_post_meta( $product_id, '_emwc_sales_end_time', true );
     570                $sales_window     = 'relative' === get_post_meta( $product_id, '_emwc_sales_window', true ) ? 'relative' : 'fixed';
     571                $sales_open_days  = get_post_meta( $product_id, '_emwc_sales_open_days', true );
     572                $sales_close_hrs  = get_post_meta( $product_id, '_emwc_sales_close_hours', true );
    568573
    569574                if ( ! $event_id ) {
    … …  
    699704
    700705                        <div class="options_group">
     706                                <?php
     707                                woocommerce_wp_select(
     708                                        array(
     709                                                'id'          => '_emwc_sales_window',
     710                                                'label'       => __( 'Sales window', 'evenzo-events-manager' ),
     711                                                'desc_tip'    => true,
     712                                                'description' => __( 'Fixed dates use the dates below. A relative window opens and closes before the event starts, and a recurring event counts from each date.', 'evenzo-events-manager' ),
     713                                                'options'     => array(
     714                                                        'fixed'    => __( 'Fixed dates', 'evenzo-events-manager' ),
     715                                                        'relative' => __( 'Relative to event start', 'evenzo-events-manager' ),
     716                                                ),
     717                                                'value'       => $sales_window,
     718                                        )
     719                                );
     720                                ?>
     721                                <div class="emwc-sales-fixed-fields"<?php echo 'relative' === $sales_window ? ' hidden' : ''; ?>>
    701722                                <?php
    702723                                woocommerce_wp_text_input(
    … …  
    758779                                endif;
    759780                                ?>
     781                                </div>
     782                                <div class="emwc-sales-relative-fields"<?php echo 'relative' === $sales_window ? '' : ' hidden'; ?>>
     783                                <?php
     784                                woocommerce_wp_text_input(
     785                                        array(
     786                                                'id'                => '_emwc_sales_open_days',
     787                                                'label'             => __( 'Open days before', 'evenzo-events-manager' ),
     788                                                'desc_tip'          => true,
     789                                                'description'       => __( 'Sales open this many days before the event starts. Leave empty to open now.', 'evenzo-events-manager' ),
     790                                                'type'              => 'number',
     791                                                'value'             => $sales_open_days,
     792                                                'custom_attributes' => array(
     793                                                        'min'  => '0',
     794                                                        'step' => '1',
     795                                                ),
     796                                        )
     797                                );
     798                                woocommerce_wp_text_input(
     799                                        array(
     800                                                'id'                => '_emwc_sales_close_hours',
     801                                                'label'             => __( 'Close hours before', 'evenzo-events-manager' ),
     802                                                'desc_tip'          => true,
     803                                                'description'       => __( 'Sales close this many hours before the event starts. Use 0 to close when it starts.', 'evenzo-events-manager' ),
     804                                                'type'              => 'number',
     805                                                'value'             => $sales_close_hrs,
     806                                                'custom_attributes' => array(
     807                                                        'min'  => '0',
     808                                                        'step' => '1',
     809                                                ),
     810                                        )
     811                                );
     812                                ?>
     813                                </div>
    760814                        </div>
    761815
    … …  
    893947                        </p>
    894948                        <p class="form-row form-row-last">&nbsp;</p>
     949                        <?php $emwc_var_window = (string) get_post_meta( $variation_id, '_emwc_var_sales_window', true ); ?>
     950                        <p class="form-row form-row-full">
     951                                <label for="emwc_var_sales_window_<?php echo esc_attr( $loop ); ?>"><?php esc_html_e( 'Sales window', 'evenzo-events-manager' ); ?></label>
     952                                <select id="emwc_var_sales_window_<?php echo esc_attr( $loop ); ?>" class="emwc-var-sales-window" name="_emwc_var_sales_window[<?php echo esc_attr( $loop ); ?>]">
     953                                        <option value="" <?php selected( $emwc_var_window, '' ); ?>><?php esc_html_e( 'Same as the ticket', 'evenzo-events-manager' ); ?></option>
     954                                        <option value="fixed" <?php selected( $emwc_var_window, 'fixed' ); ?>><?php esc_html_e( 'Fixed dates', 'evenzo-events-manager' ); ?></option>
     955                                        <option value="relative" <?php selected( $emwc_var_window, 'relative' ); ?>><?php esc_html_e( 'Relative to event start', 'evenzo-events-manager' ); ?></option>
     956                                </select>
     957                        </p>
     958                        <div class="emwc-var-sales-fixed"<?php echo 'relative' === $emwc_var_window ? ' hidden' : ''; ?>>
    895959                        <p class="form-row form-row-first">
    896960                                <label><?php esc_html_e( 'Sales start date', 'evenzo-events-manager' ); ?></label>
    … …  
    916980                        </p>
    917981                        <?php endif; ?>
     982                        </div>
     983                        <div class="emwc-var-sales-relative"<?php echo 'relative' === $emwc_var_window ? '' : ' hidden'; ?>>
     984                                <p class="form-row form-row-first">
     985                                        <label><?php esc_html_e( 'Open days before', 'evenzo-events-manager' ); ?> <?php echo wp_kses_post( wc_help_tip( __( 'Sales open this many days before the event starts. Leave empty to open now.', 'evenzo-events-manager' ) ) ); ?></label>
     986                                        <input type="number" class="input-text emwc-input-full" name="_emwc_var_sales_open_days[<?php echo esc_attr( $loop ); ?>]" value="<?php echo esc_attr( get_post_meta( $variation_id, '_emwc_var_sales_open_days', true ) ); ?>" min="0" step="1">
     987                                </p>
     988                                <p class="form-row form-row-last">
     989                                        <label><?php esc_html_e( 'Close hours before', 'evenzo-events-manager' ); ?> <?php echo wp_kses_post( wc_help_tip( __( 'Sales close this many hours before the event starts. Use 0 to close when it starts.', 'evenzo-events-manager' ) ) ); ?></label>
     990                                        <input type="number" class="input-text emwc-input-full" name="_emwc_var_sales_close_hours[<?php echo esc_attr( $loop ); ?>]" value="<?php echo esc_attr( get_post_meta( $variation_id, '_emwc_var_sales_close_hours', true ) ); ?>" min="0" step="1">
     991                                </p>
     992                        </div>
    918993                        <div class="form-row form-row-full emwc-var-custom-row">
    919994                                <label>
    … …  
    9781053        public static function save_variation_fields( $variation_id, $loop ) {
    9791054                // Nonce verification handled by WooCommerce.
    980                 $fields = array( '_emwc_var_min_tickets', '_emwc_var_max_tickets', '_emwc_var_persons', '_emwc_var_sales_start_date', '_emwc_var_sales_start_time', '_emwc_var_sales_end_date', '_emwc_var_sales_end_time' );
     1055                $fields = array( '_emwc_var_min_tickets', '_emwc_var_max_tickets', '_emwc_var_persons', '_emwc_var_sales_start_date', '_emwc_var_sales_start_time', '_emwc_var_sales_end_date', '_emwc_var_sales_end_time', '_emwc_var_sales_window', '_emwc_var_sales_open_days', '_emwc_var_sales_close_hours' );
    9811056                // A series date's sales end when it starts; a posted Sales End is ignored.
    9821057                if ( EMWC_Recurring_Tickets::is_series_product( $variation_id ) ) {
    … …  
    9871062                        if ( isset( $_POST[ $key ][ $loop ] ) ) {
    9881063                                // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    989                                 update_post_meta( $variation_id, $key, sanitize_text_field( wp_unslash( $_POST[ $key ][ $loop ] ) ) );
     1064                                $value = sanitize_text_field( wp_unslash( $_POST[ $key ][ $loop ] ) );
     1065                                if ( in_array( $key, array( '_emwc_var_sales_open_days', '_emwc_var_sales_close_hours' ), true ) ) {
     1066                                        $value = '' === $value ? '' : absint( $value );
     1067                                }
     1068                                update_post_meta( $variation_id, $key, $value );
    9901069                        }
    9911070                }
    … …  
    11471226                update_post_meta( $post_id, '_emwc_persons_per_ticket', isset( $_POST['_emwc_persons_per_ticket'] ) ? absint( $_POST['_emwc_persons_per_ticket'] ) : 1 );
    11481227
     1228                // A save that doesn't post the window keeps the saved one.
     1229                // phpcs:ignore WordPress.Security.NonceVerification.Missing
     1230                if ( isset( $_POST['_emwc_sales_window'] ) ) {
     1231                        // phpcs:ignore WordPress.Security.NonceVerification.Missing
     1232                        $window_mode = sanitize_key( wp_unslash( $_POST['_emwc_sales_window'] ) );
     1233                        update_post_meta( $post_id, '_emwc_sales_window', 'relative' === $window_mode ? 'relative' : 'fixed' );
     1234                }
     1235                foreach ( array( '_emwc_sales_open_days', '_emwc_sales_close_hours' ) as $relative_key ) {
     1236                        // phpcs:ignore WordPress.Security.NonceVerification.Missing
     1237                        if ( isset( $_POST[ $relative_key ] ) ) {
     1238                                // phpcs:ignore WordPress.Security.NonceVerification.Missing
     1239                                $relative_value = sanitize_text_field( wp_unslash( $_POST[ $relative_key ] ) );
     1240                                update_post_meta( $post_id, $relative_key, '' === $relative_value ? '' : absint( $relative_value ) );
     1241                        }
     1242                }
    11491243                // phpcs:ignore WordPress.Security.NonceVerification.Missing, WordPress.Security.ValidatedSanitizedInput.MissingUnslash
    11501244                update_post_meta( $post_id, '_emwc_sales_start_date', isset( $_POST['_emwc_sales_start_date'] ) ? sanitize_text_field( wp_unslash( $_POST['_emwc_sales_start_date'] ) ) : '' );
    … …  
    14691563                        // Any sellable date, not counting the cart, so the cart never drops an item it already holds.
    14701564                        // Each date's own limits are checked by validate_ticket_date() and validate_cart_dates().
    1471                         if ( ! EMWC_Recurring_Tickets::has_sellable_date( $series_id ) ) {
     1565                        if ( ! EMWC_Recurring_Tickets::has_sellable_date( $series_id, $product ) ) {
    14721566                                return false;
    14731567                        }
    … …  
    14981592                $timezone_source = $series_id ? $series_id : $event_id;
    14991593
    1500                 // For variations, check variation-level sales dates first.
    1501                 $sales_start_date = '';
    1502                 $sales_start_time = '';
    1503                 $sales_end_date   = '';
    1504                 $sales_end_time   = '';
    1505 
    1506                 if ( $product->is_type( 'variation' ) ) {
    1507                         $sales_start_date = get_post_meta( $product_id, '_emwc_var_sales_start_date', true );
    1508                         $sales_start_time = get_post_meta( $product_id, '_emwc_var_sales_start_time', true );
    1509                         $sales_end_date   = get_post_meta( $product_id, '_emwc_var_sales_end_date', true );
    1510                         $sales_end_time   = get_post_meta( $product_id, '_emwc_var_sales_end_time', true );
    1511                 }
    1512 
    1513                 // Fallback to parent product sales dates.
    1514                 if ( empty( $sales_start_date ) ) {
    1515                         $sales_start_date = get_post_meta( $parent_id, '_emwc_sales_start_date', true );
    1516                         $sales_start_time = get_post_meta( $parent_id, '_emwc_sales_start_time', true );
    1517                 }
    1518                 if ( empty( $sales_end_date ) ) {
    1519                         $sales_end_date = get_post_meta( $parent_id, '_emwc_sales_end_date', true );
    1520                         $sales_end_time = get_post_meta( $parent_id, '_emwc_sales_end_time', true );
    1521                 }
    1522 
    1523                 // A series date's sales end when it starts. A product-level end is one event's window,
    1524                 // often the parent's start copied by 1.0.2, so it would close every date. A future sales
    1525                 // start still holds the series back until a launch date.
    1526                 if ( $series_id ) {
    1527                         $sales_end_date = '';
    1528                         $sales_end_time = '';
    1529                 }
    1530 
    1531                 // Check sales start date.
    1532                 if ( $sales_start_date ) {
    1533                         $sales_start = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_start_date, $sales_start_time ? $sales_start_time : '00:00:00' );
    1534                         if ( $sales_start > $now ) {
     1594                $window = self::get_sales_window( $product, $event_id, $series_id, $timezone_source );
     1595
     1596                // Check sales start.
     1597                if ( null !== $window['start'] && $window['start'] > $now ) {
     1598                        return false;
     1599                }
     1600
     1601                // Check sales end - this is the PRIMARY check for when sales should stop.
     1602                if ( null !== $window['end'] ) {
     1603                        if ( $window['end'] < $now ) {
    15351604                                return false;
    15361605                        }
    1537                 }
    1538 
    1539                 // Check sales end date - this is the PRIMARY check for when sales should stop.
    1540                 if ( $sales_end_date ) {
    1541                         $sales_end = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_end_date, $sales_end_time ? $sales_end_time : '23:59:59' );
    1542                         if ( $sales_end < $now ) {
    1543                                 return false;
    1544                         }
    1545                         // If sales end date is set and we're within range, tickets are available.
     1606                        // If sales end is set and we're within range, tickets are available.
    15461607                        return true;
    15471608                }
    … …  
    16521713                // Sold out dates can be chosen: the page then offers their waitlist or says they are sold out.
    16531714                echo wp_kses(
    1654                         EMWC_Recurring_Tickets::render_date_picker( $series_id, self::get_shown_date( $product ), true ),
     1715                        EMWC_Recurring_Tickets::render_date_picker( $series_id, self::get_shown_date( $product ), true, array( $product ) ),
    16551716                        EMWC_Recurring_Tickets::get_date_picker_allowed_html()
    16561717                );
    … …  
    17461807                }
    17471808
    1748                 echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $series_id, $date_id, true ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() );
     1809                echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $series_id, $date_id, true, array( $product ) ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() );
    17491810                if ( ! class_exists( 'EMWC_Waitlist' ) || ! EMWC_Waitlist::display_date_form( $product, $date_id ) ) {
    17501811                        echo '<p class="stock out-of-stock emwc-date-sold-out">' . esc_html(
    … …  
    19091970
    19101971        /**
     1972         * Read a ticket's sales window settings: a variation's own, else the ticket's.
     1973         *
     1974         * A variation set to a relative window uses its own; a variation with its own fixed dates keeps
     1975         * them; otherwise the ticket's window applies, field by field for fixed dates.
     1976         *
     1977         * @since 1.2.0
     1978         *
     1979         * @param WC_Product $product Ticket or variation.
     1980         * @return array mode (fixed or relative), start_date, start_time, end_date, end_time, open_days, close_hours.
     1981         */
     1982        private static function get_sales_window_settings( $product ) {
     1983                $product_id = $product->get_id();
     1984                $parent_id  = $product->is_type( 'variation' ) ? $product->get_parent_id() : $product_id;
     1985
     1986                $settings = array(
     1987                        'mode'        => 'fixed',
     1988                        'start_date'  => '',
     1989                        'start_time'  => '',
     1990                        'end_date'    => '',
     1991                        'end_time'    => '',
     1992                        'open_days'   => '',
     1993                        'close_hours' => '',
     1994                );
     1995
     1996                $parent_mode = 'relative' === get_post_meta( $parent_id, '_emwc_sales_window', true ) ? 'relative' : 'fixed';
     1997
     1998                if ( $product->is_type( 'variation' ) ) {
     1999                        $var_mode = (string) get_post_meta( $product_id, '_emwc_var_sales_window', true );
     2000                        if ( 'relative' === $var_mode ) {
     2001                                $settings['mode']        = 'relative';
     2002                                $settings['open_days']   = get_post_meta( $product_id, '_emwc_var_sales_open_days', true );
     2003                                $settings['close_hours'] = get_post_meta( $product_id, '_emwc_var_sales_close_hours', true );
     2004                                return $settings;
     2005                        }
     2006
     2007                        $settings['start_date'] = get_post_meta( $product_id, '_emwc_var_sales_start_date', true );
     2008                        $settings['start_time'] = get_post_meta( $product_id, '_emwc_var_sales_start_time', true );
     2009                        $settings['end_date']   = get_post_meta( $product_id, '_emwc_var_sales_end_date', true );
     2010                        $settings['end_time']   = get_post_meta( $product_id, '_emwc_var_sales_end_time', true );
     2011
     2012                        // Fixed dates on the variation (or "Fixed dates" chosen) keep the ticket's relative window out.
     2013                        if ( 'relative' === $parent_mode && '' === $var_mode && empty( $settings['start_date'] ) && empty( $settings['end_date'] ) ) {
     2014                                $settings['mode']        = 'relative';
     2015                                $settings['open_days']   = get_post_meta( $parent_id, '_emwc_sales_open_days', true );
     2016                                $settings['close_hours'] = get_post_meta( $parent_id, '_emwc_sales_close_hours', true );
     2017                                return $settings;
     2018                        }
     2019                } elseif ( 'relative' === $parent_mode ) {
     2020                        $settings['mode']        = 'relative';
     2021                        $settings['open_days']   = get_post_meta( $parent_id, '_emwc_sales_open_days', true );
     2022                        $settings['close_hours'] = get_post_meta( $parent_id, '_emwc_sales_close_hours', true );
     2023                        return $settings;
     2024                }
     2025
     2026                // Fixed dates fall back to the ticket's own, field by field; a relative ticket has none to give.
     2027                if ( 'relative' === $parent_mode ) {
     2028                        return $settings;
     2029                }
     2030                if ( empty( $settings['start_date'] ) ) {
     2031                        $settings['start_date'] = get_post_meta( $parent_id, '_emwc_sales_start_date', true );
     2032                        $settings['start_time'] = get_post_meta( $parent_id, '_emwc_sales_start_time', true );
     2033                }
     2034                if ( empty( $settings['end_date'] ) ) {
     2035                        $settings['end_date'] = get_post_meta( $parent_id, '_emwc_sales_end_date', true );
     2036                        $settings['end_time'] = get_post_meta( $parent_id, '_emwc_sales_end_time', true );
     2037                }
     2038
     2039                return $settings;
     2040        }
     2041
     2042        /**
     2043         * Whether a ticket's sales window is open for an event or series date.
     2044         *
     2045         * The one question every place that offers a date for sale asks: add to cart, date lists,
     2046         * schema offers, waitlist offers and the shop level check. Dates outside the window are not offered.
     2047         *
     2048         * @since 1.2.0
     2049         *
     2050         * @param WC_Product $product  Ticket or variation.
     2051         * @param int        $event_id Event, or the series date asked about.
     2052         * @return string open, not_open (sales start later) or ended.
     2053         */
     2054        public static function get_sales_window_state( $product, $event_id ) {
     2055                $series_id = EMWC_Recurring_Tickets::get_series_id( $product );
     2056                $event_id  = absint( $event_id );
     2057                $window    = self::get_sales_window( $product, $event_id, $series_id, $series_id ? $series_id : $event_id );
     2058                $now       = time();
     2059
     2060                if ( null !== $window['start'] && $window['start'] > $now ) {
     2061                        return 'not_open';
     2062                }
     2063                if ( null !== $window['end'] && $window['end'] < $now ) {
     2064                        return 'ended';
     2065                }
     2066                return 'open';
     2067        }
     2068
     2069        /**
     2070         * Whether a ticket's sales window counts back from each event's start.
     2071         *
     2072         * @since 1.2.0
     2073         *
     2074         * @param WC_Product $product Ticket or variation.
     2075         * @return bool
     2076         */
     2077        public static function has_relative_window( $product ) {
     2078                $settings = self::get_sales_window_settings( $product );
     2079                return 'relative' === $settings['mode'];
     2080        }
     2081
     2082        /**
     2083         * Get when a ticket's sales open and close.
     2084         *
     2085         * Fixed dates are read in the event's time zone. A relative window counts back from the start of
     2086         * the event, or of the series date asked for, so one series ticket sells each date on its own window.
     2087         *
     2088         * @since 1.2.0
     2089         *
     2090         * @param WC_Product $product         Ticket or variation.
     2091         * @param int        $event_id        Event or series date the window is read for; 0 when none is known.
     2092         * @param int        $series_id       Series parent ID, or 0 when the ticket is not a series ticket.
     2093         * @param int        $timezone_source Event whose time zone fixed dates are written in.
     2094         * @return array start and end timestamps, each null when there is no limit.
     2095         */
     2096        public static function get_sales_window( $product, $event_id, $series_id, $timezone_source ) {
     2097                $window   = array(
     2098                        'start' => null,
     2099                        'end'   => null,
     2100                );
     2101                $settings = self::get_sales_window_settings( $product );
     2102
     2103                if ( 'relative' === $settings['mode'] ) {
     2104                        if ( ! $event_id ) {
     2105                                return $window;
     2106                        }
     2107
     2108                        $event_start = EMWC_Recurring_Tickets::get_timestamp(
     2109                                $event_id,
     2110                                get_post_meta( $event_id, '_emwc_start_date', true ),
     2111                                get_post_meta( $event_id, '_emwc_start_time', true ) ? get_post_meta( $event_id, '_emwc_start_time', true ) : '00:00:00'
     2112                        );
     2113                        if ( ! $event_start ) {
     2114                                return $window;
     2115                        }
     2116
     2117                        // An empty field means open now; the days are counted on the event's own calendar.
     2118                        if ( '' !== (string) $settings['open_days'] ) {
     2119                                $window['start'] = ( new DateTimeImmutable( '@' . $event_start ) )
     2120                                        ->setTimezone( EMWC_Recurring_Tickets::get_timezone( $event_id ) )
     2121                                        ->modify( '-' . absint( $settings['open_days'] ) . ' days' )
     2122                                        ->getTimestamp();
     2123                        }
     2124                        $window['end'] = $event_start - absint( $settings['close_hours'] ) * HOUR_IN_SECONDS;
     2125
     2126                        return $window;
     2127                }
     2128
     2129                if ( $settings['start_date'] ) {
     2130                        $window['start'] = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $settings['start_date'], $settings['start_time'] ? $settings['start_time'] : '00:00:00' );
     2131                }
     2132
     2133                // A series date's sales end when it starts. A product-level end is one event's window,
     2134                // often the parent's start copied by 1.0.2, so it would close every date. A future sales
     2135                // start still holds the series back until a launch date.
     2136                if ( $settings['end_date'] && ! $series_id ) {
     2137                        $window['end'] = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $settings['end_date'], $settings['end_time'] ? $settings['end_time'] : '23:59:59' );
     2138                }
     2139
     2140                return $window;
     2141        }
     2142
     2143        /**
    19112144         * Get ticket sales status.
    19122145         *
    … …  
    19222155                $now        = time();
    19232156
    1924                 // Get sales dates - variation first, then parent.
    1925                 $sales_start_date = '';
    1926                 $sales_start_time = '';
    1927                 $sales_end_date   = '';
    1928                 $sales_end_time   = '';
    1929 
    1930                 if ( $product->is_type( 'variation' ) ) {
    1931                         $sales_start_date = get_post_meta( $product_id, '_emwc_var_sales_start_date', true );
    1932                         $sales_start_time = get_post_meta( $product_id, '_emwc_var_sales_start_time', true );
    1933                         $sales_end_date   = get_post_meta( $product_id, '_emwc_var_sales_end_date', true );
    1934                         $sales_end_time   = get_post_meta( $product_id, '_emwc_var_sales_end_time', true );
    1935                 }
    1936 
    1937                 if ( empty( $sales_start_date ) ) {
    1938                         $sales_start_date = get_post_meta( $parent_id, '_emwc_sales_start_date', true );
    1939                         $sales_start_time = get_post_meta( $parent_id, '_emwc_sales_start_time', true );
    1940                 }
    1941                 if ( empty( $sales_end_date ) ) {
    1942                         $sales_end_date = get_post_meta( $parent_id, '_emwc_sales_end_date', true );
    1943                         $sales_end_time = get_post_meta( $parent_id, '_emwc_sales_end_time', true );
    1944                 }
    1945 
    1946                 // A series date's sales end when it starts, so a product-level end never applies (see check_purchasable()).
    19472157                $series_id = EMWC_Recurring_Tickets::get_series_id( $product );
    1948                 if ( $series_id ) {
    1949                         $sales_end_date = '';
    1950                         $sales_end_time = '';
    1951                 }
    19522158
    19532159                // Resolved early so the sales window is read in the right event's time zone.
    … …  
    19552161                $timezone_source = $series_id ? $series_id : $event_id;
    19562162
     2163                $window = self::get_sales_window( $product, $event_id, $series_id, $timezone_source );
     2164
    19572165                // Check if sales haven't started yet.
    1958                 if ( $sales_start_date ) {
    1959                         $sales_start = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_start_date, $sales_start_time ? $sales_start_time : '00:00:00' );
    1960                         if ( $sales_start > $now ) {
    1961                                 return array(
    1962                                         'status' => 'coming_soon',
    1963                                         'date'   => $sales_start,
    1964                                         'label'  => __( 'Sales Start', 'evenzo-events-manager' ),
    1965                                 );
    1966                         }
     2166                if ( null !== $window['start'] && $window['start'] > $now ) {
     2167                        return array(
     2168                                'status' => 'coming_soon',
     2169                                'date'   => $window['start'],
     2170                                'label'  => __( 'Sales Start', 'evenzo-events-manager' ),
     2171                        );
    19672172                }
    19682173
    19692174                // Check if sales have ended.
    1970                 if ( $sales_end_date ) {
    1971                         $sales_end = EMWC_Recurring_Tickets::get_timestamp( $timezone_source, $sales_end_date, $sales_end_time ? $sales_end_time : '23:59:59' );
    1972                         if ( $sales_end < $now ) {
     2175                $sales_countdown = array();
     2176                if ( null !== $window['end'] ) {
     2177                        if ( $window['end'] < $now ) {
    19732178                                return array(
    19742179                                        'status' => 'ended',
    1975                                         'date'   => $sales_end,
     2180                                        'date'   => $window['end'],
    19762181                                        'label'  => __( 'Sales Ended', 'evenzo-events-manager' ),
    19772182                                );
    19782183                        }
    1979                         // Sales are ongoing - show countdown to end.
    1980                         return array(
     2184                        // Sales are ongoing; the countdown shows once the sold-out checks below have passed.
     2185                        $sales_countdown = array(
    19812186                                'status' => 'on_sale',
    1982                                 'date'   => $sales_end,
     2187                                'date'   => $window['end'],
    19832188                                'label'  => __( 'Sales End', 'evenzo-events-manager' ),
    19842189                        );
    … …  
    19882193                if ( $series_id && ! $event_id ) {
    19892194                        // No date of the series can be sold.
    1990                         $statuses = wp_list_pluck( EMWC_Recurring_Tickets::get_dates( $series_id ), 'status' );
     2195                        $statuses = wp_list_pluck( EMWC_Recurring_Tickets::get_dates( $series_id, true, array( $product ) ), 'status' );
    19912196                        if ( in_array( 'sold_out', $statuses, true ) ) {
    19922197                                return array(
    … …  
    20202225                                        'label'  => __( 'Sold Out', 'evenzo-events-manager' ),
    20212226                                );
     2227                        }
     2228
     2229                        // A product's sales end only counts down while places are left.
     2230                        if ( $sales_countdown ) {
     2231                                return $sales_countdown;
    20222232                        }
    20232233
    … …  
    20662276                                }
    20672277                        }
     2278                }
     2279
     2280                if ( $sales_countdown ) {
     2281                        return $sales_countdown;
    20682282                }
    20692283
  • evenzo-events-manager/trunk/includes/woocommerce/class-emwc-wc-my-account.php

    r3716241 r3831477  
    151151                                                <tr>
    152152                                                        <th><?php esc_html_e( 'Event', 'evenzo-events-manager' ); ?></th>
     153                                                        <th><?php esc_html_e( 'Attendee', 'evenzo-events-manager' ); ?></th>
    153154                                                        <th><?php esc_html_e( 'Date', 'evenzo-events-manager' ); ?></th>
    154155                                                        <th><?php esc_html_e( 'Ticket Code', 'evenzo-events-manager' ); ?></th>
    … …  
    178179                                                                <?php endif; ?>
    179180                                                        </td>
     181                                                        <td data-title="<?php esc_attr_e( 'Attendee', 'evenzo-events-manager' ); ?>">
     182                                                                <?php echo esc_html( '' !== $ticket['attendee_name'] ? $ticket['attendee_name'] : $ticket['attendee_email'] ); ?>
     183                                                        </td>
    180184                                                        <td data-title="<?php esc_attr_e( 'Date', 'evenzo-events-manager' ); ?>">
    181185                                                                <?php echo esc_html( $ticket['event_date_formatted'] ); ?>
    … …  
    196200                                                        <td data-title="<?php esc_attr_e( 'Actions', 'evenzo-events-manager' ); ?>">
    197201                                                                <div class="emwc-ticket-actions">
     202                                                                        <?php if ( 'cancelled' !== $ticket['status'] ) : ?>
    198203                                                                        <button type="button" class="woocommerce-button button emwc-show-qr" data-ticket="<?php echo esc_attr( $ticket['ticket_code'] ); ?>" data-event="<?php echo esc_attr( $ticket['event_name'] ); ?>" data-qr-url="<?php echo esc_url( EMWC_QR_Code::get_ticket_qr_url( $ticket['ticket_code'], 300 ) ); ?>">
    199204                                                                                <?php esc_html_e( 'QR', 'evenzo-events-manager' ); ?>
    200205                                                                        </button>
    201                                                                 <?php if ( class_exists( 'EMWC_PDF_Ticket' ) ) : ?>
    202                                                                 <a href="<?php echo esc_url( EMWC_PDF_Ticket::get_download_url( $ticket['attendee_id'] ) ); ?>" class="woocommerce-button button" target="_blank">
    203                                                                         <?php esc_html_e( 'Print', 'evenzo-events-manager' ); ?>
    204                                                                 </a>
    205                                                                 <?php endif; ?>
     206                                                                                <?php if ( class_exists( 'EMWC_PDF_Ticket' ) ) : ?>
     207                                                                        <a href="<?php echo esc_url( EMWC_PDF_Ticket::get_download_url( $ticket['attendee_id'] ) ); ?>" class="woocommerce-button button" target="_blank">
     208                                                                                        <?php esc_html_e( 'Print', 'evenzo-events-manager' ); ?>
     209                                                                        </a>
     210                                                                        <?php endif; ?>
     211                                                                        <?php endif; ?>
    206212                                                                        <a href="<?php echo esc_url( get_permalink( $ticket['event_id'] ) ); ?>" class="woocommerce-button button"><?php esc_html_e( 'Event', 'evenzo-events-manager' ); ?></a>
    207213                                                                        <?php if ( $ticket['order_id'] ) : ?>
    208214                                                                                <a href="<?php echo esc_url( wc_get_endpoint_url( 'view-order', $ticket['order_id'], wc_get_page_permalink( 'myaccount' ) ) ); ?>" class="woocommerce-button button"><?php esc_html_e( 'Order', 'evenzo-events-manager' ); ?></a>
    209215                                                                        <?php endif; ?>
     216                                                                        <?php self::render_cancel_form( $ticket, $customer_id ); ?>
     217                                                                        <?php
     218                                                                        /**
     219                                                                         * Fires after the actions of a ticket in My Tickets, to add more buttons.
     220                                                                         *
     221                                                                         * @since 1.2.0
     222                                                                         *
     223                                                                         * @param array $ticket      Ticket data, as listed in the table.
     224                                                                         * @param int   $customer_id Logged-in customer.
     225                                                                         */
     226                                                                        do_action( 'emwc_my_tickets_ticket_actions', $ticket, $customer_id );
     227                                                                        ?>
    210228                                                                </div>
    211229                                                        </td>
    … …  
    238256
    239257        /**
     258         * Print the Cancel ticket button when the customer can still cancel the ticket.
     259         *
     260         * @since 1.2.0
     261         *
     262         * @param array $ticket      Ticket data.
     263         * @param int   $customer_id Logged-in customer.
     264         * @return void
     265         */
     266        private static function render_cancel_form( $ticket, $customer_id ) {
     267                $attendee_id = absint( $ticket['attendee_id'] );
     268                if ( 'active' !== $ticket['status'] || ! class_exists( 'EMWC_Ticket_Cancellation' ) ) {
     269                        return;
     270                }
     271                if ( true !== EMWC_Ticket_Cancellation::customer_can_cancel( new EMWC_Attendee( $attendee_id ), $customer_id ) ) {
     272                        return;
     273                }
     274                ?>
     275                <form method="post" class="emwc-cancel-ticket-form" data-confirm="<?php echo esc_attr__( 'Cancel this ticket? This can\'t be undone.', 'evenzo-events-manager' ); ?>">
     276                        <input type="hidden" name="_wpnonce" value="<?php echo esc_attr( wp_create_nonce( 'emwc_cancel_ticket_' . $attendee_id ) ); ?>">
     277                        <button type="submit" name="emwc_cancel_ticket" value="<?php echo esc_attr( $attendee_id ); ?>" class="woocommerce-button button emwc-cancel-ticket">
     278                                <?php esc_html_e( 'Cancel ticket', 'evenzo-events-manager' ); ?>
     279                        </button>
     280                </form>
     281                <?php
     282        }
     283
     284        /**
    240285         * Enqueue styles and scripts for the event-tickets endpoint.
    241286         *
    … …  
    288333                $email = $user ? $user->user_email : '';
    289334
    290                 if ( ! $email ) {
     335                if ( ! $customer_id ) {
    291336                        return array();
    292337                }
    … …  
    296341                $results = $wpdb->get_results(
    297342                        $wpdb->prepare(
    298                                 "SELECT * FROM {$attendees_table} WHERE email = %s ORDER BY created_at DESC",
     343                                "SELECT * FROM {$attendees_table} WHERE user_id = %d OR ( %s <> '' AND email = %s ) ORDER BY created_at DESC, attendee_id DESC",
     344                                $customer_id,
     345                                $email,
    299346                                $email
    300347                        ),
    … …  
    363410                                'order_id'             => $row['order_id'],
    364411                                'seat_info'            => $seat_info,
     412                                'attendee_name'        => trim( $row['first_name'] . ' ' . $row['last_name'] ),
     413                                'attendee_email'       => $row['email'],
     414                                'is_own'               => '' !== $email && 0 === strcasecmp( (string) $row['email'], $email ),
    365415                        );
    366416                }
  • evenzo-events-manager/trunk/includes/woocommerce/class-emwc-wc-order.php

    r3829439 r3831477  
    521521
    522522                        $existing_count = count( $ticket_codes );
    523                         $seat_index     = $existing_count;
     523                        $active_count   = $existing_count;
    524524                        if ( $existing_count ) {
    525525                                $has_existing = true;
    526526                        }
     527
     528                        // A ticket someone cancelled on its own (a customer, or an admin on the attendee screen) is
     529                        // not missing: regenerating must not bring it back, and its place and stock already went back.
     530                        // Tickets that went with a cancelled order are still rebuilt.
     531                        $existing_count += self::count_cancelled_tickets( $order_id, $item_id );
     532                        $seat_index      = $existing_count;
    527533
    528534                        // Rows saved with an item key belong to this line; older orders read one running index across all lines.
    … …  
    668674                        }
    669675
    670                         if ( count( $ticket_codes ) > $existing_count ) {
     676                        if ( count( $ticket_codes ) > $active_count ) {
    671677                                $item->update_meta_data( '_emwc_ticket_codes', $ticket_codes );
    672678                                $item->save();
    … …  
    681687                        do_action( 'emwc_tickets_generated', $order_id, $order );
    682688                }
     689        }
     690
     691        /**
     692         * Count an order item's tickets that were cancelled one at a time.
     693         *
     694         * @since 1.2.0
     695         *
     696         * @param int $order_id Order ID.
     697         * @param int $item_id  Order item ID.
     698         * @return int
     699         */
     700        private static function count_cancelled_tickets( $order_id, $item_id ) {
     701                global $wpdb;
     702
     703                // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching -- Custom table.
     704                $metas = $wpdb->get_col(
     705                        $wpdb->prepare(
     706                                "SELECT meta FROM {$wpdb->prefix}emwc_attendees WHERE order_id = %d AND order_item_id = %d AND status = 'cancelled'",
     707                                $order_id,
     708                                $item_id
     709                        )
     710                );
     711
     712                $count = 0;
     713                foreach ( $metas as $meta ) {
     714                        $meta = maybe_unserialize( $meta );
     715                        if ( is_array( $meta ) && ! empty( $meta['cancelled_by'] ) ) {
     716                                ++$count;
     717                        }
     718                }
     719                return $count;
    683720        }
    684721
  • evenzo-events-manager/trunk/languages/evenzo-events-manager.pot

    r3829439 r3831477  
    33msgid ""
    44msgstr ""
    5 "Project-Id-Version: Evenzo – Event Tickets, Calendar and Check-in for WooCommerce 1.1.7\n"
     5"Project-Id-Version: Evenzo – Event Tickets, Calendar and Check-in for WooCommerce 1.2.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/evenzo-events-manager\n"
    77"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
    … …  
    1010"Content-Type: text/plain; charset=UTF-8\n"
    1111"Content-Transfer-Encoding: 8bit\n"
    12 "POT-Creation-Date: 2026-11-27T11:47:44+00:00\n"
     12"POT-Creation-Date: 2026-11-28T12:35:38+00:00\n"
    1313"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
    1414"X-Generator: WP-CLI 2.12.0\n"
    … …  
    5353
    5454#: evenzo-events-manager.php:217
    55 #: includes/admin/class-emwc-admin.php:422
    56 #: includes/admin/class-emwc-admin.php:423
     55#: includes/admin/class-emwc-admin.php:454
     56#: includes/admin/class-emwc-admin.php:455
    5757#: assets/js/blocks-editor.js:209
    5858msgid "Settings"
    … …  
    6060
    6161#: evenzo-events-manager.php:244
    62 #: includes/admin/class-emwc-admin-settings.php:353
     62#: includes/admin/class-emwc-admin-settings.php:357
    6363msgid "Documentation"
    6464msgstr ""
    … …  
    101101
    102102#: includes/admin/class-emwc-admin-attendees.php:276
    103 #: includes/admin/class-emwc-admin-attendees.php:579
    104 #: includes/admin/class-emwc-admin-attendees.php:1178
    105 #: includes/admin/class-emwc-admin-attendees.php:1221
     103#: includes/admin/class-emwc-admin-attendees.php:591
     104#: includes/admin/class-emwc-admin-attendees.php:1185
     105#: includes/admin/class-emwc-admin-attendees.php:1228
    106106#: includes/woocommerce/class-emwc-attendee-editor.php:37
    107107#: includes/woocommerce/class-emwc-attendee-editor.php:173
    … …  
    175175msgstr ""
    176176
    177 #: includes/admin/class-emwc-admin-attendees.php:294
     177#: includes/admin/class-emwc-admin-attendees.php:293
     178msgid "Not reactivated: the ticket changed in the meantime. Reload the page and try again."
     179msgstr ""
     180
     181#: includes/admin/class-emwc-admin-attendees.php:295
    178182msgid "Something went wrong. Try again."
    179183msgstr ""
    180184
    181 #: includes/admin/class-emwc-admin-attendees.php:438
     185#: includes/admin/class-emwc-admin-attendees.php:450
    182186#: includes/admin/class-emwc-admin-booking.php:577
    183187#: includes/admin/class-emwc-admin-list-table.php:73
    184 #: includes/admin/class-emwc-admin.php:432
    185 #: includes/admin/class-emwc-admin.php:433
    186 #: includes/admin/class-emwc-admin.php:746
    187 #: includes/admin/class-emwc-admin.php:787
     188#: includes/admin/class-emwc-admin.php:464
     189#: includes/admin/class-emwc-admin.php:465
     190#: includes/admin/class-emwc-admin.php:778
     191#: includes/admin/class-emwc-admin.php:819
    188192#: includes/import/tec/class-emwc-tec-import-admin.php:698
    189193msgid "Attendees"
    … …  
    191195
    192196#. translators: %s: number of attendees in the file
    193 #: includes/admin/class-emwc-admin-attendees.php:442
     197#: includes/admin/class-emwc-admin-attendees.php:454
    194198#, php-format
    195199msgid "Export CSV (%s)"
    196200msgstr ""
    197201
    198 #: includes/admin/class-emwc-admin-attendees.php:447
     202#: includes/admin/class-emwc-admin-attendees.php:459
    199203#: includes/admin/class-emwc-admin-booking.php:132
    200 #: includes/admin/class-emwc-admin-meta-boxes.php:493
     204#: includes/admin/class-emwc-admin-meta-boxes.php:502
    201205msgid "Add booking"
    202206msgstr ""
    203207
    204 #: includes/admin/class-emwc-admin-attendees.php:452
     208#: includes/admin/class-emwc-admin-attendees.php:464
    205209msgid "← All Attendees"
    206210msgstr ""
    207211
    208 #: includes/admin/class-emwc-admin-attendees.php:468
     212#: includes/admin/class-emwc-admin-attendees.php:480
    209213msgid "checked in"
    210214msgstr ""
    211215
    212 #: includes/admin/class-emwc-admin-attendees.php:469
     216#: includes/admin/class-emwc-admin-attendees.php:481
    213217msgid "checked out"
    214218msgstr ""
    215219
    216 #: includes/admin/class-emwc-admin-attendees.php:470
     220#: includes/admin/class-emwc-admin-attendees.php:482
    217221msgid "cancelled"
    218222msgstr ""
    219223
    220 #: includes/admin/class-emwc-admin-attendees.php:471
     224#: includes/admin/class-emwc-admin-attendees.php:483
    221225msgid "deleted"
    222226msgstr ""
    223227
    224228#. translators: 1: number of attendees, 2: action performed (checked in, cancelled, ...)
    225 #: includes/admin/class-emwc-admin-attendees.php:477
     229#: includes/admin/class-emwc-admin-attendees.php:489
    226230#, php-format
    227231msgid "%1$d attendee %2$s."
    … …  
    230234msgstr[1] ""
    231235
    232 #: includes/admin/class-emwc-admin-attendees.php:487
     236#: includes/admin/class-emwc-admin-attendees.php:499
    233237msgid "Search Attendees"
    234238msgstr ""
    235239
    236240#. translators: 1: order number, 2: tickets created, 3: order total
    237 #: includes/admin/class-emwc-admin-attendees.php:520
     241#: includes/admin/class-emwc-admin-attendees.php:532
    238242#, php-format
    239243msgid "Booking created: order #%1$s, %2$d ticket, total %3$s."
    … …  
    242246msgstr[1] ""
    243247
    244 #: includes/admin/class-emwc-admin-attendees.php:526
     248#: includes/admin/class-emwc-admin-attendees.php:538
    245249msgid "View order"
    246250msgstr ""
    247251
    248252#. translators: %s: attendee name or ticket number
    249 #: includes/admin/class-emwc-admin-attendees.php:534
     253#: includes/admin/class-emwc-admin-attendees.php:546
    250254#, php-format
    251255msgid "Ticket PDF: %s"
    … …  
    253257
    254258#. translators: %s: email address
    255 #: includes/admin/class-emwc-admin-attendees.php:542
     259#: includes/admin/class-emwc-admin-attendees.php:554
    256260#, php-format
    257261msgid "An account uses %s. This guest booking isn't linked to it."
    258262msgstr ""
    259263
    260 #: includes/admin/class-emwc-admin-attendees.php:592
     264#: includes/admin/class-emwc-admin-attendees.php:604
    261265msgid "Ticket has been cancelled."
    262266msgstr ""
    263267
    264 #: includes/admin/class-emwc-admin-attendees.php:595
     268#: includes/admin/class-emwc-admin-attendees.php:607
    265269msgid "Process refund via Order →"
    266270msgstr ""
    267271
    268 #: includes/admin/class-emwc-admin-attendees.php:601
     272#: includes/admin/class-emwc-admin-attendees.php:613
    269273msgid "Ticket has been reactivated."
    270274msgstr ""
    271275
    272 #: includes/admin/class-emwc-admin-attendees.php:604
     276#: includes/admin/class-emwc-admin-attendees.php:616
    273277msgid "Attendee updated."
    274278msgstr ""
    275279
    276 #: includes/admin/class-emwc-admin-attendees.php:607
     280#: includes/admin/class-emwc-admin-attendees.php:619
    277281msgid "Attendee moved. The ticket code is the same, so the ticket they have works for the new date or seat."
    278282msgstr ""
    279283
    280284#. translators: %s: email address
    281 #: includes/admin/class-emwc-admin-attendees.php:611
     285#: includes/admin/class-emwc-admin-attendees.php:623
    282286#: includes/woocommerce/class-emwc-attendee-editor.php:402
    283287#, php-format
    … …  
    286290
    287291#. translators: %s: attendee name
    288 #: includes/admin/class-emwc-admin-attendees.php:623
     292#: includes/admin/class-emwc-admin-attendees.php:635
    289293#, php-format
    290294msgid "Attendee: %s"
    291295msgstr ""
    292296
    293 #: includes/admin/class-emwc-admin-attendees.php:630
     297#: includes/admin/class-emwc-admin-attendees.php:642
    294298msgid "← Back to Attendees"
    295299msgstr ""
    296300
    297 #: includes/admin/class-emwc-admin-attendees.php:639
    298 #: includes/admin/class-emwc-admin-settings.php:601
     301#: includes/admin/class-emwc-admin-attendees.php:651
     302#: includes/admin/class-emwc-admin-settings.php:609
    299303#: includes/woocommerce/class-emwc-wc-checkout.php:163
    300304#: templates/emails/admin-new-registration.php:31
    … …  
    303307msgstr ""
    304308
    305 #: includes/admin/class-emwc-admin-attendees.php:643
    306 #: includes/admin/class-emwc-admin-attendees.php:1374
     309#: includes/admin/class-emwc-admin-attendees.php:655
     310#: includes/admin/class-emwc-admin-attendees.php:1381
    307311#: includes/waitlist/class-emwc-admin-waitlist.php:250
    308312#: includes/woocommerce/class-emwc-attendee-details.php:617
    … …  
    311315msgstr ""
    312316
    313 #: includes/admin/class-emwc-admin-attendees.php:647
    314 #: includes/admin/class-emwc-admin-attendees.php:894
    315 #: includes/admin/class-emwc-admin-attendees.php:1375
     317#: includes/admin/class-emwc-admin-attendees.php:659
     318#: includes/admin/class-emwc-admin-attendees.php:906
     319#: includes/admin/class-emwc-admin-attendees.php:1382
    316320#: includes/admin/class-emwc-admin-booking.php:585
    317321#: includes/admin/class-emwc-admin-list-table.php:309
    318 #: includes/admin/class-emwc-admin-meta-boxes.php:845
    319 #: includes/admin/class-emwc-admin-meta-boxes.php:887
    320 #: includes/admin/class-emwc-admin.php:616
     322#: includes/admin/class-emwc-admin-meta-boxes.php:854
     323#: includes/admin/class-emwc-admin-meta-boxes.php:896
     324#: includes/admin/class-emwc-admin.php:648
    321325#: includes/class-emwc-privacy.php:204
    322326#: includes/core/class-emwc-attendee-fields.php:187
    323327#: includes/core/class-emwc-attendee-fields.php:335
     328#: includes/core/class-emwc-ticket-transfer.php:545
    324329#: includes/export/class-emwc-attendee-export.php:208
    325330#: includes/speakers/class-emwc-speaker-post-type.php:158
    … …  
    327332#: includes/woocommerce/class-emwc-attendee-details.php:618
    328333#: includes/woocommerce/class-emwc-attendee-editor.php:738
    329 #: includes/woocommerce/class-emwc-wc-integration.php:596
    330 #: includes/woocommerce/class-emwc-wc-integration.php:607
    331 #: includes/woocommerce/class-emwc-wc-integration.php:863
    332 #: includes/woocommerce/class-emwc-wc-integration.php:873
     334#: includes/woocommerce/class-emwc-wc-integration.php:601
     335#: includes/woocommerce/class-emwc-wc-integration.php:612
     336#: includes/woocommerce/class-emwc-wc-integration.php:917
     337#: includes/woocommerce/class-emwc-wc-integration.php:927
    333338#: templates/emails/admin-new-registration.php:48
    334339#: assets/js/emwc-block-checkout.js:120
    … …  
    336341msgstr ""
    337342
    338 #: includes/admin/class-emwc-admin-attendees.php:651
    339 #: includes/admin/class-emwc-admin-attendees.php:898
     343#: includes/admin/class-emwc-admin-attendees.php:663
     344#: includes/admin/class-emwc-admin-attendees.php:910
    340345#: includes/admin/class-emwc-admin-booking.php:572
    341 #: includes/admin/class-emwc-admin-meta-boxes.php:840
    342 #: includes/admin/class-emwc-admin-meta-boxes.php:892
    343 #: includes/admin/class-emwc-admin.php:617
     346#: includes/admin/class-emwc-admin-meta-boxes.php:849
     347#: includes/admin/class-emwc-admin-meta-boxes.php:901
     348#: includes/admin/class-emwc-admin.php:649
    344349#: includes/class-emwc-privacy.php:208
    345350#: includes/core/class-emwc-attendee-fields.php:337
    … …  
    347352#: includes/speakers/class-emwc-speaker-post-type.php:162
    348353#: includes/woocommerce/class-emwc-attendee-editor.php:739
    349 #: includes/woocommerce/class-emwc-wc-integration.php:608
    350 #: includes/woocommerce/class-emwc-wc-integration.php:874
     354#: includes/woocommerce/class-emwc-wc-integration.php:613
     355#: includes/woocommerce/class-emwc-wc-integration.php:928
    351356msgid "Phone"
    352357msgstr ""
    353358
    354 #: includes/admin/class-emwc-admin-attendees.php:655
    355 #: includes/admin/class-emwc-admin-attendees.php:1377
     359#: includes/admin/class-emwc-admin-attendees.php:667
     360#: includes/admin/class-emwc-admin-attendees.php:1384
    356361#: includes/export/class-emwc-attendee-export.php:205
    357 #: includes/woocommerce/class-emwc-wc-my-account.php:154
    358 #: includes/woocommerce/class-emwc-wc-my-account.php:183
     362#: includes/woocommerce/class-emwc-wc-my-account.php:155
     363#: includes/woocommerce/class-emwc-wc-my-account.php:187
    359364#: includes/woocommerce/class-emwc-wc-order.php:220
    360 #: includes/woocommerce/class-emwc-wc-order.php:1281
     365#: includes/woocommerce/class-emwc-wc-order.php:1318
    361366#: templates/emails/admin-new-registration.php:52
     367#: templates/emails/admin-ticket-cancelled.php:59
    362368#: templates/emails/registration-confirmation.php:93
     369#: templates/emails/ticket-cancelled.php:66
    363370msgid "Ticket Code"
    364371msgstr ""
    365372
    366 #: includes/admin/class-emwc-admin-attendees.php:660
    367 #: includes/admin/class-emwc-admin-attendees.php:1378
     373#: includes/admin/class-emwc-admin-attendees.php:672
     374#: includes/admin/class-emwc-admin-attendees.php:1385
    368375#: includes/export/class-emwc-attendee-export.php:216
    369376#: includes/pdf/class-emwc-pdf-ticket.php:241
    370 #: includes/woocommerce/class-emwc-wc-my-account.php:155
    371 #: includes/woocommerce/class-emwc-wc-my-account.php:186
     377#: includes/woocommerce/class-emwc-wc-my-account.php:156
     378#: includes/woocommerce/class-emwc-wc-my-account.php:190
    372379#: includes/woocommerce/class-emwc-wc-order.php:222
    373380#: templates/emails/ticket-delivery.php:122
    … …  
    375382msgstr ""
    376383
    377 #: includes/admin/class-emwc-admin-attendees.php:665
    378 #: includes/admin/class-emwc-admin-attendees.php:1379
     384#: includes/admin/class-emwc-admin-attendees.php:677
     385#: includes/admin/class-emwc-admin-attendees.php:1386
    379386#: includes/admin/class-emwc-admin-list-table.php:72
    380 #: includes/admin/class-emwc-admin-meta-boxes.php:424
     387#: includes/admin/class-emwc-admin-meta-boxes.php:433
    381388#: includes/class-emwc-privacy.php:212
    382389#: includes/export/class-emwc-csv-export.php:155
    383390#: includes/waitlist/class-emwc-admin-waitlist.php:255
    384 #: includes/woocommerce/class-emwc-wc-my-account.php:156
    385 #: includes/woocommerce/class-emwc-wc-my-account.php:193
     391#: includes/woocommerce/class-emwc-wc-my-account.php:157
     392#: includes/woocommerce/class-emwc-wc-my-account.php:197
    386393#: includes/woocommerce/class-emwc-wc-order.php:224
    387394#: templates/emails/admin-new-registration.php:100
    … …  
    389396msgstr ""
    390397
    391 #: includes/admin/class-emwc-admin-attendees.php:673
     398#: includes/admin/class-emwc-admin-attendees.php:685
    392399msgid "Check-in Status"
    393400msgstr ""
    394401
    395 #: includes/admin/class-emwc-admin-attendees.php:676
    396 #: includes/admin/class-emwc-admin-attendees.php:1473
     402#: includes/admin/class-emwc-admin-attendees.php:688
     403#: includes/admin/class-emwc-admin-attendees.php:1480
    397404#: includes/admin/class-emwc-admin-checkin.php:84
    398405#: includes/admin/class-emwc-admin-checkin.php:225
    … …  
    400407#: includes/export/class-emwc-attendee-export.php:833
    401408#: includes/export/class-emwc-csv-export.php:169
    402 #: includes/woocommerce/class-emwc-wc-my-account.php:384
     409#: includes/woocommerce/class-emwc-wc-my-account.php:434
    403410#: includes/woocommerce/class-emwc-wc-order.php:257
    404411msgid "Checked In"
    405412msgstr ""
    406413
    407 #: includes/admin/class-emwc-admin-attendees.php:679
     414#: includes/admin/class-emwc-admin-attendees.php:691
    408415msgid "Not Checked In"
    409416msgstr ""
    410417
    411 #: includes/admin/class-emwc-admin-attendees.php:684
    412 #: includes/admin/class-emwc-admin-attendees.php:1382
     418#: includes/admin/class-emwc-admin-attendees.php:696
     419#: includes/admin/class-emwc-admin-attendees.php:1389
    413420#: includes/export/class-emwc-attendee-export.php:229
    414421#: includes/export/class-emwc-csv-export.php:168
    … …  
    416423msgstr ""
    417424
    418 #: includes/admin/class-emwc-admin-attendees.php:693
     425#: includes/admin/class-emwc-admin-attendees.php:705
    419426msgid "Custom Fields"
    420427msgstr ""
    421428
    422 #: includes/admin/class-emwc-admin-attendees.php:713
    423 #: includes/admin/class-emwc-admin-attendees.php:1376
     429#: includes/admin/class-emwc-admin-attendees.php:725
     430#: includes/admin/class-emwc-admin-attendees.php:1383
    424431#: includes/admin/class-emwc-admin-booking.php:350
    425 #: includes/admin/class-emwc-admin.php:785
    426 #: includes/admin/class-emwc-admin.php:814
     432#: includes/admin/class-emwc-admin.php:817
     433#: includes/admin/class-emwc-admin.php:846
    427434#: includes/class-emwc-privacy.php:192
    428435#: includes/export/class-emwc-attendee-export.php:211
    429436#: includes/waitlist/class-emwc-admin-waitlist.php:253
    430 #: includes/woocommerce/class-emwc-wc-integration.php:627
    431 #: includes/woocommerce/class-emwc-wc-integration.php:1273
    432 #: includes/woocommerce/class-emwc-wc-integration.php:1608
     437#: includes/woocommerce/class-emwc-wc-integration.php:632
     438#: includes/woocommerce/class-emwc-wc-integration.php:1367
     439#: includes/woocommerce/class-emwc-wc-integration.php:1669
    433440#: includes/woocommerce/class-emwc-wc-my-account.php:152
    434 #: includes/woocommerce/class-emwc-wc-my-account.php:170
    435 #: includes/woocommerce/class-emwc-wc-my-account.php:206
     441#: includes/woocommerce/class-emwc-wc-my-account.php:171
     442#: includes/woocommerce/class-emwc-wc-my-account.php:212
    436443#: includes/woocommerce/class-emwc-wc-order.php:165
    437 #: includes/woocommerce/class-emwc-wc-order.php:1137
    438 #: includes/woocommerce/class-emwc-wc-order.php:1280
     444#: includes/woocommerce/class-emwc-wc-order.php:1174
     445#: includes/woocommerce/class-emwc-wc-order.php:1317
    439446#: templates/emails/admin-new-registration.php:63
     447#: templates/emails/admin-ticket-cancelled.php:47
    440448#: templates/emails/event-cancellation.php:51
    441449#: templates/emails/event-reminder.php:43
    442450#: templates/emails/event-update.php:53
    443451#: templates/emails/registration-confirmation.php:36
     452#: templates/emails/ticket-cancelled.php:54
    444453msgid "Event"
    445454msgstr ""
    446455
    447 #: includes/admin/class-emwc-admin-attendees.php:731
     456#: includes/admin/class-emwc-admin-attendees.php:743
    448457#: includes/blocks/class-emwc-blocks.php:300
    449458#: includes/core/class-emwc-post-types.php:68
    … …  
    452461msgstr ""
    453462
    454 #: includes/admin/class-emwc-admin-attendees.php:735
     463#: includes/admin/class-emwc-admin-attendees.php:747
    455464#: includes/blocks/event-card/render.php:59
    456465#: includes/blocks/event-countdown/render.php:60
    … …  
    460469msgstr ""
    461470
    462 #: includes/admin/class-emwc-admin-attendees.php:742
    463 #: includes/admin/class-emwc-admin-attendees.php:1381
    464 #: includes/woocommerce/class-emwc-wc-my-account.php:208
     471#: includes/admin/class-emwc-admin-attendees.php:754
     472#: includes/admin/class-emwc-admin-attendees.php:1388
     473#: includes/woocommerce/class-emwc-wc-my-account.php:214
    465474#: templates/emails/admin-new-registration.php:90
     475#: templates/emails/admin-ticket-cancelled.php:64
    466476#: assets/js/blocks-editor.js:147
    467477msgid "Order"
    … …  
    469479
    470480#. translators: %s: order number
    471 #: includes/admin/class-emwc-admin-attendees.php:749
     481#: includes/admin/class-emwc-admin-attendees.php:761
    472482#: includes/pdf/class-emwc-pdf-ticket.php:270
    473483#, php-format
    … …  
    475485msgstr ""
    476486
    477 #: includes/admin/class-emwc-admin-attendees.php:759
     487#: includes/admin/class-emwc-admin-attendees.php:771
    478488msgid "View Order"
    479489msgstr ""
    480490
    481 #: includes/admin/class-emwc-admin-attendees.php:767
    482 #: includes/admin/class-emwc-admin-meta-boxes.php:425
     491#: includes/admin/class-emwc-admin-attendees.php:779
     492#: includes/admin/class-emwc-admin-meta-boxes.php:434
    483493#: includes/waitlist/class-emwc-admin-waitlist.php:258
    484 #: includes/woocommerce/class-emwc-wc-my-account.php:157
    485 #: includes/woocommerce/class-emwc-wc-my-account.php:196
     494#: includes/woocommerce/class-emwc-wc-my-account.php:158
     495#: includes/woocommerce/class-emwc-wc-my-account.php:200
    486496msgid "Actions"
    487497msgstr ""
    488498
    489 #: includes/admin/class-emwc-admin-attendees.php:772
    490 #: includes/admin/class-emwc-admin-attendees.php:1411
     499#: includes/admin/class-emwc-admin-attendees.php:784
     500#: includes/admin/class-emwc-admin-attendees.php:1418
    491501#: includes/admin/class-emwc-admin-checkin.php:85
    492502#: includes/admin/class-emwc-admin-checkin.php:167
    … …  
    494504msgstr ""
    495505
    496 #: includes/admin/class-emwc-admin-attendees.php:776
    497 #: includes/admin/class-emwc-admin-attendees.php:1412
     506#: includes/admin/class-emwc-admin-attendees.php:788
     507#: includes/admin/class-emwc-admin-attendees.php:1419
    498508msgid "Check Out"
    499509msgstr ""
    500510
    501 #: includes/admin/class-emwc-admin-attendees.php:781
     511#: includes/admin/class-emwc-admin-attendees.php:793
    502512#: includes/pdf/class-emwc-pdf-ticket.php:208
    503513msgid "Print Ticket"
    504514msgstr ""
    505515
    506 #: includes/admin/class-emwc-admin-attendees.php:786
     516#: includes/admin/class-emwc-admin-attendees.php:798
    507517msgid "Resend Ticket Email"
    508518msgstr ""
    509519
    510 #: includes/admin/class-emwc-admin-attendees.php:792
     520#: includes/admin/class-emwc-admin-attendees.php:804
    511521msgid "Cancel this ticket? The seat will be released. You can process a refund separately from the order page."
    512522msgstr ""
    513523
    514 #: includes/admin/class-emwc-admin-attendees.php:793
     524#: includes/admin/class-emwc-admin-attendees.php:805
    515525msgid "Cancel Ticket"
    516526msgstr ""
    517527
    518 #: includes/admin/class-emwc-admin-attendees.php:797
     528#: includes/admin/class-emwc-admin-attendees.php:809
    519529#: includes/api/class-emwc-rest-checkin-controller.php:208
    520530#: includes/api/class-emwc-rest-checkin-controller.php:475
    … …  
    522532msgstr ""
    523533
    524 #: includes/admin/class-emwc-admin-attendees.php:800
     534#: includes/admin/class-emwc-admin-attendees.php:812
    525535msgid "Reactivate Ticket"
    526536msgstr ""
    527537
    528 #: includes/admin/class-emwc-admin-attendees.php:878
     538#: includes/admin/class-emwc-admin-attendees.php:890
    529539msgid "Edit details"
    530540msgstr ""
    531541
    532 #: includes/admin/class-emwc-admin-attendees.php:886
     542#: includes/admin/class-emwc-admin-attendees.php:898
    533543#: includes/admin/class-emwc-admin-booking.php:564
    534544#: includes/admin/class-emwc-admin-booking.php:583
     545#: includes/core/class-emwc-ticket-transfer.php:537
    535546#: includes/woocommerce/class-emwc-attendee-editor.php:736
    536547#: includes/woocommerce/class-emwc-wc-checkout.php:497
    … …  
    538549msgstr ""
    539550
    540 #: includes/admin/class-emwc-admin-attendees.php:890
     551#: includes/admin/class-emwc-admin-attendees.php:902
    541552#: includes/admin/class-emwc-admin-booking.php:568
    542553#: includes/admin/class-emwc-admin-booking.php:584
     554#: includes/core/class-emwc-ticket-transfer.php:541
    543555#: includes/woocommerce/class-emwc-attendee-editor.php:737
    544556#: includes/woocommerce/class-emwc-wc-checkout.php:498
    … …  
    546558msgstr ""
    547559
    548 #: includes/admin/class-emwc-admin-attendees.php:926
     560#: includes/admin/class-emwc-admin-attendees.php:938
    549561msgid "Ticket email"
    550562msgstr ""
    551563
    552 #: includes/admin/class-emwc-admin-attendees.php:929
     564#: includes/admin/class-emwc-admin-attendees.php:941
    553565msgid "Email the updated ticket"
    554566msgstr ""
    555567
    556 #: includes/admin/class-emwc-admin-attendees.php:930
     568#: includes/admin/class-emwc-admin-attendees.php:942
    557569msgid "Sends this ticket only, to the email above."
    558570msgstr ""
    559571
    560 #: includes/admin/class-emwc-admin-attendees.php:932
     572#: includes/admin/class-emwc-admin-attendees.php:944
    561573msgid "A cancelled ticket can't be emailed. Reactivate it first to send it."
    562574msgstr ""
    563575
    564 #: includes/admin/class-emwc-admin-attendees.php:934
     576#: includes/admin/class-emwc-admin-attendees.php:946
    565577msgid "This ticket is not valid, so it can't be emailed."
    566578msgstr ""
    567579
    568 #: includes/admin/class-emwc-admin-attendees.php:940
     580#: includes/admin/class-emwc-admin-attendees.php:952
    569581msgid "This attendee is checked in. Editing details doesn't change the check-in."
    570582msgstr ""
    571583
    572 #: includes/admin/class-emwc-admin-attendees.php:942
     584#: includes/admin/class-emwc-admin-attendees.php:954
    573585msgid "Save details"
    574586msgstr ""
    575587
    576 #: includes/admin/class-emwc-admin-attendees.php:983
     588#: includes/admin/class-emwc-admin-attendees.php:995
    577589msgid "Change date or seat"
    578590msgstr ""
    579591
    580 #: includes/admin/class-emwc-admin-attendees.php:986
     592#: includes/admin/class-emwc-admin-attendees.php:998
    581593#: includes/woocommerce/class-emwc-attendee-editor.php:194
    582594msgid "Only a ticket on a processing or completed order can be moved."
    583595msgstr ""
    584596
    585 #: includes/admin/class-emwc-admin-attendees.php:988
     597#: includes/admin/class-emwc-admin-attendees.php:1000
    586598msgid "This ticket is for a single event with no seating chart, so there is no other date or seat to move it to."
    587599msgstr ""
    588600
    589 #: includes/admin/class-emwc-admin-attendees.php:995
     601#: includes/admin/class-emwc-admin-attendees.php:1007
    590602#: includes/admin/class-emwc-admin-booking.php:365
    591 #: includes/admin/class-emwc-admin.php:786
     603#: includes/admin/class-emwc-admin.php:818
    592604#: includes/import/class-emwc-ical-import.php:488
    593 #: includes/woocommerce/class-emwc-wc-integration.php:1282
    594 #: includes/woocommerce/class-emwc-wc-integration.php:1610
    595 #: includes/woocommerce/class-emwc-wc-my-account.php:153
    596 #: includes/woocommerce/class-emwc-wc-my-account.php:180
     605#: includes/woocommerce/class-emwc-wc-integration.php:1376
     606#: includes/woocommerce/class-emwc-wc-integration.php:1671
     607#: includes/woocommerce/class-emwc-wc-my-account.php:154
     608#: includes/woocommerce/class-emwc-wc-my-account.php:184
    597609#: includes/woocommerce/class-emwc-wc-order.php:179
    598610#: templates/emails/admin-new-registration.php:71
     611#: templates/emails/admin-ticket-cancelled.php:55
    599612#: templates/emails/event-reminder.php:47
    600613#: templates/emails/event-update.php:57
    601614#: templates/emails/registration-confirmation.php:40
     615#: templates/emails/ticket-cancelled.php:58
    602616#: templates/emails/ticket-delivery.php:56
    603617msgid "Date"
    604618msgstr ""
    605619
    606 #: includes/admin/class-emwc-admin-attendees.php:997
     620#: includes/admin/class-emwc-admin-attendees.php:1009
    607621#: includes/admin/class-emwc-admin-booking.php:368
    608 #: includes/woocommerce/class-emwc-recurring-tickets.php:573
    609 #: includes/woocommerce/class-emwc-wc-integration.php:1370
     622#: includes/woocommerce/class-emwc-recurring-tickets.php:652
     623#: includes/woocommerce/class-emwc-wc-integration.php:1464
    610624msgid "Choose a date"
    611625msgstr ""
    612626
    613627#. translators: %s: date
    614 #: includes/admin/class-emwc-admin-attendees.php:1004
     628#: includes/admin/class-emwc-admin-attendees.php:1016
    615629#, php-format
    616630msgid "%s (current date)"
    … …  
    618632
    619633#. translators: 1: date, 2: places left
    620 #: includes/admin/class-emwc-admin-attendees.php:1007
     634#: includes/admin/class-emwc-admin-attendees.php:1019
    621635#: includes/admin/class-emwc-admin-booking.php:416
    622636#, php-format
    … …  
    624638msgstr ""
    625639
    626 #: includes/admin/class-emwc-admin-attendees.php:1013
     640#: includes/admin/class-emwc-admin-attendees.php:1025
    627641msgid "Choose"
    628642msgstr ""
    629643
    630 #: includes/admin/class-emwc-admin-attendees.php:1026
     644#: includes/admin/class-emwc-admin-attendees.php:1038
    631645msgid "Pick one seat."
    632646msgstr ""
    633647
    634 #: includes/admin/class-emwc-admin-attendees.php:1030
     648#: includes/admin/class-emwc-admin-attendees.php:1042
    635649msgid "Move even if the date is full"
    636650msgstr ""
    637651
    638 #: includes/admin/class-emwc-admin-attendees.php:1032
     652#: includes/admin/class-emwc-admin-attendees.php:1044
    639653msgid "Email the attendee their updated ticket"
    640654msgstr ""
    641655
    642 #: includes/admin/class-emwc-admin-attendees.php:1033
     656#: includes/admin/class-emwc-admin-attendees.php:1045
    643657msgid "The ticket code stays the same. The new seat is taken before the old one is freed."
    644658msgstr ""
    645659
    646 #: includes/admin/class-emwc-admin-attendees.php:1034
     660#: includes/admin/class-emwc-admin-attendees.php:1046
    647661msgid "Move attendee"
    648662msgstr ""
    649663
    650 #: includes/admin/class-emwc-admin-attendees.php:1166
    651 #: includes/admin/class-emwc-admin-attendees.php:1211
     664#: includes/admin/class-emwc-admin-attendees.php:1173
     665#: includes/admin/class-emwc-admin-attendees.php:1218
    652666#: includes/admin/class-emwc-admin-checkin.php:379
    653667#: includes/admin/class-emwc-admin-checkin.php:484
    … …  
    659673msgstr ""
    660674
    661 #: includes/admin/class-emwc-admin-attendees.php:1172
    662 #: includes/admin/class-emwc-admin-attendees.php:1216
     675#: includes/admin/class-emwc-admin-attendees.php:1179
     676#: includes/admin/class-emwc-admin-attendees.php:1223
    663677msgid "Invalid attendee."
    664678msgstr ""
    665679
    666 #: includes/admin/class-emwc-admin-attendees.php:1186
     680#: includes/admin/class-emwc-admin-attendees.php:1193
    667681msgid "Attendee checked out."
    668682msgstr ""
    669683
    670 #: includes/admin/class-emwc-admin-attendees.php:1194
     684#: includes/admin/class-emwc-admin-attendees.php:1201
    671685msgid "Attendee checked in."
    672686msgstr ""
    673687
    674 #: includes/admin/class-emwc-admin-attendees.php:1229
     688#: includes/admin/class-emwc-admin-attendees.php:1236
    675689msgid "Ticket email sent."
    676690msgstr ""
    677691
    678 #: includes/admin/class-emwc-admin-attendees.php:1279
     692#: includes/admin/class-emwc-admin-attendees.php:1286
    679693msgid "You do not have permission to export attendees."
    680694msgstr ""
    681695
    682 #: includes/admin/class-emwc-admin-attendees.php:1284
     696#: includes/admin/class-emwc-admin-attendees.php:1291
    683697msgid "The export link has expired. Reload the Attendees screen and try again."
    684698msgstr ""
    685699
    686 #: includes/admin/class-emwc-admin-attendees.php:1380
     700#: includes/admin/class-emwc-admin-attendees.php:1387
    687701#: includes/admin/class-emwc-admin-settings.php:107
    688 #: includes/admin/class-emwc-admin.php:452
    689 #: includes/admin/class-emwc-admin.php:453
    690 #: includes/admin/class-emwc-admin.php:722
     702#: includes/admin/class-emwc-admin.php:484
     703#: includes/admin/class-emwc-admin.php:485
     704#: includes/admin/class-emwc-admin.php:754
    691705msgid "Check-in"
    692706msgstr ""
    693707
    694 #: includes/admin/class-emwc-admin-attendees.php:1413
     708#: includes/admin/class-emwc-admin-attendees.php:1420
    695709msgid "Cancel Tickets"
    696710msgstr ""
    697711
    698 #: includes/admin/class-emwc-admin-attendees.php:1414
     712#: includes/admin/class-emwc-admin-attendees.php:1421
    699713msgid "Delete"
    700714msgstr ""
    701715
    702 #: includes/admin/class-emwc-admin-attendees.php:1447
     716#: includes/admin/class-emwc-admin-attendees.php:1454
    703717#: includes/admin/class-emwc-admin-checkin.php:120
    704718#: includes/admin/class-emwc-admin-list-table.php:451
    … …  
    709723
    710724#. translators: %s: event series title
    711 #: includes/admin/class-emwc-admin-attendees.php:1459
     725#: includes/admin/class-emwc-admin-attendees.php:1466
    712726#, php-format
    713727msgid "%s: all dates"
    714728msgstr ""
    715729
    716 #: includes/admin/class-emwc-admin-attendees.php:1471
     730#: includes/admin/class-emwc-admin-attendees.php:1478
    717731#: includes/admin/class-emwc-admin-list-table.php:408
    718732#: includes/waitlist/class-emwc-admin-waitlist.php:234
    … …  
    720734msgstr ""
    721735
    722 #: includes/admin/class-emwc-admin-attendees.php:1472
     736#: includes/admin/class-emwc-admin-attendees.php:1479
    723737#: includes/export/class-emwc-attendee-export.php:831
    724 #: includes/woocommerce/class-emwc-wc-my-account.php:381
     738#: includes/woocommerce/class-emwc-wc-my-account.php:431
    725739msgid "Active"
    726740msgstr ""
    727741
    728 #: includes/admin/class-emwc-admin-attendees.php:1474
     742#: includes/admin/class-emwc-admin-attendees.php:1481
    729743#: includes/admin/class-emwc-admin-list-table.php:143
    730744#: includes/admin/class-emwc-admin-list-table.php:411
    731 #: includes/admin/class-emwc-admin-meta-boxes.php:227
     745#: includes/admin/class-emwc-admin-meta-boxes.php:236
    732746#: includes/blocks/event-card/render.php:117
    733747#: includes/blocks/events-list/render.php:168
    734748#: includes/export/class-emwc-attendee-export.php:832
    735749#: includes/woocommerce/class-emwc-attendee-details.php:611
    736 #: includes/woocommerce/class-emwc-wc-my-account.php:385
     750#: includes/woocommerce/class-emwc-wc-my-account.php:435
    737751#: includes/woocommerce/class-emwc-wc-order.php:170
    738752#: templates/archive-emwc_event.php:65
    739 #: templates/single-emwc_event.php:134
     753#: templates/single-emwc_event.php:138
    740754msgid "Cancelled"
    741755msgstr ""
    742756
    743 #: includes/admin/class-emwc-admin-attendees.php:1478
     757#: includes/admin/class-emwc-admin-attendees.php:1485
    744758msgid "Any check-in"
    745759msgstr ""
    746760
    747 #: includes/admin/class-emwc-admin-attendees.php:1479
     761#: includes/admin/class-emwc-admin-attendees.php:1486
    748762#: includes/woocommerce/class-emwc-attendee-details.php:612
    749763msgid "Checked in"
    750764msgstr ""
    751765
    752 #: includes/admin/class-emwc-admin-attendees.php:1480
     766#: includes/admin/class-emwc-admin-attendees.php:1487
    753767msgid "Not checked in"
    754768msgstr ""
    755769
    756 #: includes/admin/class-emwc-admin-attendees.php:1483
     770#: includes/admin/class-emwc-admin-attendees.php:1490
    757771#: includes/waitlist/class-emwc-admin-waitlist.php:241
    758772#: assets/js/blocks-editor.js:134
    … …  
    760774msgstr ""
    761775
    762 #: includes/admin/class-emwc-admin-attendees.php:1544
     776#: includes/admin/class-emwc-admin-attendees.php:1551
    763777msgid "(No name)"
    764778msgstr ""
    765779
    766 #: includes/admin/class-emwc-admin-attendees.php:1552
    767 #: includes/admin/class-emwc-admin-meta-boxes.php:475
     780#: includes/admin/class-emwc-admin-attendees.php:1559
     781#: includes/admin/class-emwc-admin-meta-boxes.php:484
    768782msgid "View"
    769783msgstr ""
    770784
    771 #: includes/admin/class-emwc-admin-attendees.php:1560
     785#: includes/admin/class-emwc-admin-attendees.php:1567
    772786msgid "Are you sure you want to cancel this ticket?"
    773787msgstr ""
    774788
    775 #: includes/admin/class-emwc-admin-attendees.php:1561
     789#: includes/admin/class-emwc-admin-attendees.php:1568
    776790msgid "Cancel"
    777791msgstr ""
    778792
    779 #: includes/admin/class-emwc-admin-attendees.php:1567
     793#: includes/admin/class-emwc-admin-attendees.php:1574
    780794msgid "Reactivate"
    781795msgstr ""
    782796
    783 #: includes/admin/class-emwc-admin-attendees.php:1673
    784 #: includes/admin/class-emwc-admin.php:619
     797#: includes/admin/class-emwc-admin-attendees.php:1680
     798#: includes/admin/class-emwc-admin.php:651
    785799#: includes/core/class-emwc-attendee-fields.php:470
    786800#: includes/export/class-emwc-attendee-export.php:754
    787801#: includes/export/class-emwc-csv-export.php:249
    788 #: includes/woocommerce/class-emwc-wc-integration.php:803
    789 #: includes/woocommerce/class-emwc-wc-integration.php:825
    790 #: includes/woocommerce/class-emwc-wc-integration.php:945
    791 #: includes/woocommerce/class-emwc-wc-integration.php:963
     802#: includes/woocommerce/class-emwc-wc-integration.php:857
     803#: includes/woocommerce/class-emwc-wc-integration.php:879
     804#: includes/woocommerce/class-emwc-wc-integration.php:1020
     805#: includes/woocommerce/class-emwc-wc-integration.php:1038
    792806msgid "Yes"
    793807msgstr ""
    794808
    795 #: includes/admin/class-emwc-admin-attendees.php:1676
    796 #: includes/admin/class-emwc-admin.php:620
     809#: includes/admin/class-emwc-admin-attendees.php:1683
     810#: includes/admin/class-emwc-admin.php:652
    797811#: includes/export/class-emwc-attendee-export.php:754
    798812#: includes/export/class-emwc-csv-export.php:249
    799 #: includes/woocommerce/class-emwc-wc-integration.php:803
    800 #: includes/woocommerce/class-emwc-wc-integration.php:825
    801 #: includes/woocommerce/class-emwc-wc-integration.php:945
    802 #: includes/woocommerce/class-emwc-wc-integration.php:963
     813#: includes/woocommerce/class-emwc-wc-integration.php:857
     814#: includes/woocommerce/class-emwc-wc-integration.php:879
     815#: includes/woocommerce/class-emwc-wc-integration.php:1020
     816#: includes/woocommerce/class-emwc-wc-integration.php:1038
    803817msgid "No"
    804818msgstr ""
    805819
    806 #: includes/admin/class-emwc-admin-attendees.php:1734
     820#: includes/admin/class-emwc-admin-attendees.php:1741
    807821#: includes/admin/class-emwc-admin-checkin.php:86
    808822msgid "No attendees found."
    … …  
    859873
    860874#: includes/admin/class-emwc-admin-booking.php:378
    861 #: includes/admin/class-emwc-admin-meta-boxes.php:420
     875#: includes/admin/class-emwc-admin-meta-boxes.php:429
    862876msgid "Ticket"
    863877msgstr ""
    … …  
    926940
    927941#: includes/admin/class-emwc-admin-booking.php:520
     942#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:107
    928943msgid "Customer"
    929944msgstr ""
    … …  
    974989
    975990#: includes/admin/class-emwc-admin-booking.php:582
    976 #: includes/admin/class-emwc-admin.php:813
     991#: includes/admin/class-emwc-admin.php:845
    977992#: includes/class-emwc-privacy.php:315
    978993#: includes/pdf/class-emwc-pdf-ticket.php:235
     994#: includes/woocommerce/class-emwc-wc-my-account.php:153
     995#: includes/woocommerce/class-emwc-wc-my-account.php:181
    979996#: includes/woocommerce/class-emwc-wc-order.php:219
     997#: templates/emails/admin-ticket-cancelled.php:43
     998#: templates/emails/ticket-cancelled.php:62
    980999#: templates/emails/ticket-delivery.php:109
    9811000msgid "Attendee"
    … …  
    10621081
    10631082#: includes/admin/class-emwc-admin-booking.php:674
    1064 #: includes/admin/class-emwc-admin-meta-boxes.php:238
     1083#: includes/admin/class-emwc-admin-meta-boxes.php:247
    10651084#: includes/export/class-emwc-csv-export.php:167
    10661085#: includes/import/class-emwc-csv-import.php:106
    … …  
    11971216
    11981217#: includes/admin/class-emwc-admin-checkin.php:230
    1199 #: includes/admin/class-emwc-admin-meta-boxes.php:465
    1200 #: includes/woocommerce/class-emwc-wc-my-account.php:382
     1218#: includes/admin/class-emwc-admin-meta-boxes.php:474
     1219#: includes/woocommerce/class-emwc-wc-my-account.php:432
    12011220msgid "Pending"
    12021221msgstr ""
    … …  
    12541273
    12551274#: includes/admin/class-emwc-admin-list-table.php:71
    1256 #: includes/admin/class-emwc-admin-meta-boxes.php:328
     1275#: includes/admin/class-emwc-admin-meta-boxes.php:337
    12571276#: includes/export/class-emwc-csv-export.php:163
    12581277#: includes/pdf/class-emwc-pdf-ticket.php:248
    1259 #: includes/woocommerce/class-emwc-wc-integration.php:1613
     1278#: includes/woocommerce/class-emwc-wc-integration.php:1674
    12601279#: includes/woocommerce/class-emwc-wc-order.php:198
    12611280msgid "Venue"
    … …  
    12631282
    12641283#: includes/admin/class-emwc-admin-list-table.php:74
    1265 #: includes/admin/class-emwc-admin-meta-boxes.php:463
     1284#: includes/admin/class-emwc-admin-meta-boxes.php:472
    12661285msgid "Published"
    12671286msgstr ""
    … …  
    12811300#: includes/admin/class-emwc-admin-list-table.php:141
    12821301#: includes/admin/class-emwc-admin-list-table.php:409
    1283 #: includes/admin/class-emwc-admin-meta-boxes.php:225
     1302#: includes/admin/class-emwc-admin-meta-boxes.php:234
    12841303msgid "Scheduled"
    12851304msgstr ""
    … …  
    12871306#: includes/admin/class-emwc-admin-list-table.php:142
    12881307#: includes/admin/class-emwc-admin-list-table.php:410
    1289 #: includes/admin/class-emwc-admin-meta-boxes.php:226
     1308#: includes/admin/class-emwc-admin-meta-boxes.php:235
    12901309#: includes/woocommerce/class-emwc-wc-order.php:171
    1291 #: templates/single-emwc_event.php:135
     1310#: templates/single-emwc_event.php:139
    12921311msgid "Postponed"
    12931312msgstr ""
    … …  
    12951314#: includes/admin/class-emwc-admin-list-table.php:144
    12961315#: includes/admin/class-emwc-admin-list-table.php:412
    1297 #: includes/admin/class-emwc-admin-meta-boxes.php:228
     1316#: includes/admin/class-emwc-admin-meta-boxes.php:237
    12981317#: includes/blocks/events-list/render.php:170
    1299 #: includes/woocommerce/class-emwc-wc-integration.php:1383
    1300 #: includes/woocommerce/class-emwc-wc-integration.php:1444
    1301 #: includes/woocommerce/class-emwc-wc-integration.php:1995
    1302 #: includes/woocommerce/class-emwc-wc-integration.php:2011
    1303 #: includes/woocommerce/class-emwc-wc-integration.php:2020
    1304 #: includes/woocommerce/class-emwc-wc-integration.php:2134
    1305 #: includes/woocommerce/class-emwc-wc-integration.php:2732
     1318#: includes/woocommerce/class-emwc-wc-integration.php:1477
     1319#: includes/woocommerce/class-emwc-wc-integration.php:1538
     1320#: includes/woocommerce/class-emwc-wc-integration.php:2200
     1321#: includes/woocommerce/class-emwc-wc-integration.php:2216
     1322#: includes/woocommerce/class-emwc-wc-integration.php:2225
     1323#: includes/woocommerce/class-emwc-wc-integration.php:2348
     1324#: includes/woocommerce/class-emwc-wc-integration.php:2946
    13061325#: includes/woocommerce/class-emwc-wc-order.php:172
    13071326#: templates/archive-emwc_event.php:67
    1308 #: templates/single-emwc_event.php:136
    1309 #: templates/single-emwc_event.php:534
    1310 #: templates/single-emwc_event.php:646
    1311 #: templates/single-emwc_event.php:675
     1327#: templates/single-emwc_event.php:140
     1328#: templates/single-emwc_event.php:538
     1329#: templates/single-emwc_event.php:650
     1330#: templates/single-emwc_event.php:679
    13121331msgid "Sold Out"
    13131332msgstr ""
    … …  
    13191338#: includes/admin/class-emwc-admin-list-table.php:159
    13201339#: includes/admin/class-emwc-admin-list-table.php:453
    1321 #: includes/woocommerce/class-emwc-wc-my-account.php:175
     1340#: includes/woocommerce/class-emwc-wc-my-account.php:176
    13221341msgid "Ongoing"
    13231342msgstr ""
    13241343
    13251344#: includes/admin/class-emwc-admin-list-table.php:241
    1326 #: includes/admin/class-emwc-admin-meta-boxes.php:800
     1345#: includes/admin/class-emwc-admin-meta-boxes.php:809
    13271346msgid "City"
    13281347msgstr ""
    13291348
    13301349#: includes/admin/class-emwc-admin-list-table.php:242
    1331 #: includes/admin/class-emwc-admin-meta-boxes.php:815
     1350#: includes/admin/class-emwc-admin-meta-boxes.php:824
    13321351msgid "Country"
    13331352msgstr ""
    … …  
    13351354#: includes/admin/class-emwc-admin-list-table.php:243
    13361355#: includes/admin/class-emwc-admin-list-table.php:310
    1337 #: includes/admin/class-emwc-admin.php:401
     1356#: includes/admin/class-emwc-admin.php:433
    13381357#: includes/class-emwc-rss-feed.php:110
    13391358#: includes/import/tec/class-emwc-tec-import-admin.php:695
    … …  
    13541373
    13551374#: includes/admin/class-emwc-admin-list-table.php:431
    1356 #: includes/admin/class-emwc-admin-meta-boxes.php:321
     1375#: includes/admin/class-emwc-admin-meta-boxes.php:330
    13571376msgid "In-Person"
    13581377msgstr ""
    … …  
    13671386
    13681387#: includes/admin/class-emwc-admin-list-table.php:452
    1369 #: includes/admin/class-emwc-admin.php:739
    1370 #: includes/woocommerce/class-emwc-wc-my-account.php:173
     1388#: includes/admin/class-emwc-admin.php:771
     1389#: includes/woocommerce/class-emwc-wc-my-account.php:174
    13711390#: templates/archive-emwc_event.php:69
    13721391msgid "Upcoming"
    … …  
    13741393
    13751394#: includes/admin/class-emwc-admin-list-table.php:454
    1376 #: includes/woocommerce/class-emwc-wc-my-account.php:177
     1395#: includes/woocommerce/class-emwc-wc-my-account.php:178
    13771396msgid "Past"
    13781397msgstr ""
    … …  
    13831402
    13841403#: includes/admin/class-emwc-admin-list-table.php:598
    1385 #: includes/admin/class-emwc-admin.php:356
     1404#: includes/admin/class-emwc-admin.php:388
    13861405#: includes/export/class-emwc-csv-export.php:71
    13871406#: includes/waitlist/class-emwc-admin-waitlist.php:115
    … …  
    14151434
    14161435#: includes/admin/class-emwc-admin-meta-boxes.php:68
     1436msgid "Notify ticket holders"
     1437msgstr ""
     1438
     1439#: includes/admin/class-emwc-admin-meta-boxes.php:77
    14171440msgid "Event Tickets"
    14181441msgstr ""
    14191442
    1420 #: includes/admin/class-emwc-admin-meta-boxes.php:79
     1443#: includes/admin/class-emwc-admin-meta-boxes.php:88
    14211444msgid "Custom Attributes"
    14221445msgstr ""
    14231446
    1424 #: includes/admin/class-emwc-admin-meta-boxes.php:93
     1447#: includes/admin/class-emwc-admin-meta-boxes.php:102
    14251448msgid "Event Speakers"
    14261449msgstr ""
    14271450
    1428 #: includes/admin/class-emwc-admin-meta-boxes.php:104
     1451#: includes/admin/class-emwc-admin-meta-boxes.php:113
    14291452msgid "Venue Information"
    14301453msgstr ""
    14311454
    1432 #: includes/admin/class-emwc-admin-meta-boxes.php:114
     1455#: includes/admin/class-emwc-admin-meta-boxes.php:123
    14331456msgid "Organizer Information"
    14341457msgstr ""
    14351458
    1436 #: includes/admin/class-emwc-admin-meta-boxes.php:179
     1459#: includes/admin/class-emwc-admin-meta-boxes.php:188
    14371460msgid "All day event"
    14381461msgstr ""
    14391462
    1440 #: includes/admin/class-emwc-admin-meta-boxes.php:183
     1463#: includes/admin/class-emwc-admin-meta-boxes.php:192
    14411464msgid "Featured Event"
    14421465msgstr ""
    14431466
    1444 #: includes/admin/class-emwc-admin-meta-boxes.php:188
     1467#: includes/admin/class-emwc-admin-meta-boxes.php:197
    14451468msgid "Start Date & Time"
    14461469msgstr ""
    14471470
    1448 #: includes/admin/class-emwc-admin-meta-boxes.php:190
    1449 #: includes/admin/class-emwc-admin-meta-boxes.php:198
    1450 #: includes/admin/class-emwc-admin-meta-boxes.php:245
    1451 #: includes/admin/class-emwc-admin-meta-boxes.php:255
     1471#: includes/admin/class-emwc-admin-meta-boxes.php:199
     1472#: includes/admin/class-emwc-admin-meta-boxes.php:207
     1473#: includes/admin/class-emwc-admin-meta-boxes.php:254
    14521474#: includes/admin/class-emwc-admin-meta-boxes.php:264
     1475#: includes/admin/class-emwc-admin-meta-boxes.php:273
    14531476msgid "YYYY-MM-DD"
    14541477msgstr ""
    14551478
    1456 #: includes/admin/class-emwc-admin-meta-boxes.php:196
     1479#: includes/admin/class-emwc-admin-meta-boxes.php:205
    14571480msgid "End Date & Time"
    14581481msgstr ""
    14591482
    1460 #: includes/admin/class-emwc-admin-meta-boxes.php:201
     1483#: includes/admin/class-emwc-admin-meta-boxes.php:210
    14611484msgid "Leave empty for single-moment events."
    14621485msgstr ""
    14631486
    1464 #: includes/admin/class-emwc-admin-meta-boxes.php:205
     1487#: includes/admin/class-emwc-admin-meta-boxes.php:214
    14651488msgid "Timezone"
    14661489msgstr ""
    14671490
    1468 #: includes/admin/class-emwc-admin-meta-boxes.php:223
     1491#: includes/admin/class-emwc-admin-meta-boxes.php:232
    14691492#: includes/export/class-emwc-csv-export.php:156
    14701493msgid "Event Status"
    14711494msgstr ""
    14721495
    1473 #: includes/admin/class-emwc-admin-meta-boxes.php:240
     1496#: includes/admin/class-emwc-admin-meta-boxes.php:249
    14741497msgid "Leave empty for unlimited."
    14751498msgstr ""
    14761499
    1477 #: includes/admin/class-emwc-admin-meta-boxes.php:244
     1500#: includes/admin/class-emwc-admin-meta-boxes.php:253
    14781501msgid "Registration Deadline"
    14791502msgstr ""
    14801503
    1481 #: includes/admin/class-emwc-admin-meta-boxes.php:249
     1504#: includes/admin/class-emwc-admin-meta-boxes.php:258
    14821505msgid "Ticket Sales Window"
    14831506msgstr ""
    14841507
    1485 #: includes/admin/class-emwc-admin-meta-boxes.php:250
     1508#: includes/admin/class-emwc-admin-meta-boxes.php:259
    14861509msgid "Controls when tickets go on sale. Auto-synced to linked products."
    14871510msgstr ""
    14881511
    1489 #: includes/admin/class-emwc-admin-meta-boxes.php:253
    1490 #: includes/woocommerce/class-emwc-wc-integration.php:1964
     1512#: includes/admin/class-emwc-admin-meta-boxes.php:262
     1513#: includes/woocommerce/class-emwc-wc-integration.php:2170
    14911514msgid "Sales Start"
    14921515msgstr ""
    14931516
    1494 #: includes/admin/class-emwc-admin-meta-boxes.php:258
     1517#: includes/admin/class-emwc-admin-meta-boxes.php:267
    14951518msgid "Leave empty for immediately."
    14961519msgstr ""
    14971520
    1498 #: includes/admin/class-emwc-admin-meta-boxes.php:262
    1499 #: includes/woocommerce/class-emwc-wc-integration.php:1983
    1500 #: includes/woocommerce/class-emwc-wc-integration.php:2037
     1521#: includes/admin/class-emwc-admin-meta-boxes.php:271
     1522#: includes/woocommerce/class-emwc-wc-integration.php:2188
     1523#: includes/woocommerce/class-emwc-wc-integration.php:2247
    15011524msgid "Sales End"
    15021525msgstr ""
    15031526
    1504 #: includes/admin/class-emwc-admin-meta-boxes.php:267
     1527#: includes/admin/class-emwc-admin-meta-boxes.php:276
    15051528msgid "Defaults to registration deadline or event start."
    15061529msgstr ""
    15071530
    1508 #: includes/admin/class-emwc-admin-meta-boxes.php:271
     1531#: includes/admin/class-emwc-admin-meta-boxes.php:280
    15091532msgid "For recurring events, each date's tickets are on sale until that date starts. These fields apply to tickets linked to a single date."
    15101533msgstr ""
    15111534
    1512 #: includes/admin/class-emwc-admin-meta-boxes.php:319
     1535#: includes/admin/class-emwc-admin-meta-boxes.php:328
    15131536#: includes/export/class-emwc-csv-export.php:162
    15141537#: includes/import/class-emwc-csv-import.php:110
    … …  
    15161539msgstr ""
    15171540
    1518 #: includes/admin/class-emwc-admin-meta-boxes.php:322
     1541#: includes/admin/class-emwc-admin-meta-boxes.php:331
    15191542msgid "Virtual (Online)"
    15201543msgstr ""
    15211544
    1522 #: includes/admin/class-emwc-admin-meta-boxes.php:323
     1545#: includes/admin/class-emwc-admin-meta-boxes.php:332
    15231546msgid "Hybrid (In-Person + Virtual)"
    15241547msgstr ""
    15251548
    1526 #: includes/admin/class-emwc-admin-meta-boxes.php:329
    1527 #: includes/admin/class-emwc-admin-meta-boxes.php:330
     1549#: includes/admin/class-emwc-admin-meta-boxes.php:338
     1550#: includes/admin/class-emwc-admin-meta-boxes.php:339
    15281551msgid "Select a venue..."
    15291552msgstr ""
    15301553
    1531 #: includes/admin/class-emwc-admin-meta-boxes.php:339
     1554#: includes/admin/class-emwc-admin-meta-boxes.php:348
    15321555msgid "+ Add New Venue"
    15331556msgstr ""
    15341557
    1535 #: includes/admin/class-emwc-admin-meta-boxes.php:345
     1558#: includes/admin/class-emwc-admin-meta-boxes.php:354
    15361559#: includes/export/class-emwc-csv-export.php:170
    15371560#: includes/import/class-emwc-csv-import.php:115
    … …  
    15391562msgstr ""
    15401563
    1541 #: includes/admin/class-emwc-admin-meta-boxes.php:346
     1564#: includes/admin/class-emwc-admin-meta-boxes.php:355
    15421565msgid "https://zoom.us/j/..."
    15431566msgstr ""
    15441567
    1545 #: includes/admin/class-emwc-admin-meta-boxes.php:347
     1568#: includes/admin/class-emwc-admin-meta-boxes.php:356
    15461569msgid "Enter the URL for your virtual event (Zoom, Google Meet, etc.)."
    15471570msgstr ""
    15481571
    1549 #: includes/admin/class-emwc-admin-meta-boxes.php:351
     1572#: includes/admin/class-emwc-admin-meta-boxes.php:360
    15501573#: includes/export/class-emwc-csv-export.php:165
    15511574msgid "Organizer"
    15521575msgstr ""
    15531576
    1554 #: includes/admin/class-emwc-admin-meta-boxes.php:352
    1555 #: includes/admin/class-emwc-admin-meta-boxes.php:353
     1577#: includes/admin/class-emwc-admin-meta-boxes.php:361
     1578#: includes/admin/class-emwc-admin-meta-boxes.php:362
    15561579msgid "Select an organizer..."
    15571580msgstr ""
    15581581
    1559 #: includes/admin/class-emwc-admin-meta-boxes.php:362
     1582#: includes/admin/class-emwc-admin-meta-boxes.php:371
    15601583msgid "+ Add New Organizer"
    15611584msgstr ""
    15621585
    1563 #: includes/admin/class-emwc-admin-meta-boxes.php:421
    1564 #: includes/woocommerce/class-emwc-wc-integration.php:782
    1565 #: includes/woocommerce/class-emwc-wc-integration.php:930
     1586#: includes/admin/class-emwc-admin-meta-boxes.php:430
     1587#: includes/woocommerce/class-emwc-wc-integration.php:836
     1588#: includes/woocommerce/class-emwc-wc-integration.php:1005
    15661589msgid "Type"
    15671590msgstr ""
    15681591
    1569 #: includes/admin/class-emwc-admin-meta-boxes.php:422
    1570 #: templates/single-emwc_event.php:238
     1592#: includes/admin/class-emwc-admin-meta-boxes.php:431
     1593#: templates/single-emwc_event.php:242
    15711594msgid "Price"
    15721595msgstr ""
    15731596
    1574 #: includes/admin/class-emwc-admin-meta-boxes.php:423
     1597#: includes/admin/class-emwc-admin-meta-boxes.php:432
    15751598msgid "Stock"
    15761599msgstr ""
    15771600
    1578 #: includes/admin/class-emwc-admin-meta-boxes.php:433
     1601#: includes/admin/class-emwc-admin-meta-boxes.php:442
    15791602msgid "Simple"
    15801603msgstr ""
    15811604
    1582 #: includes/admin/class-emwc-admin-meta-boxes.php:434
     1605#: includes/admin/class-emwc-admin-meta-boxes.php:443
    15831606msgid "Variable"
    15841607msgstr ""
    15851608
    1586 #: includes/admin/class-emwc-admin-meta-boxes.php:445
     1609#: includes/admin/class-emwc-admin-meta-boxes.php:454
    15871610msgid "Sold for every date of this series."
    15881611msgstr ""
    15891612
    1590 #: includes/admin/class-emwc-admin-meta-boxes.php:455
     1613#: includes/admin/class-emwc-admin-meta-boxes.php:464
    15911614msgid "Unlimited"
    15921615msgstr ""
    15931616
    1594 #: includes/admin/class-emwc-admin-meta-boxes.php:464
     1617#: includes/admin/class-emwc-admin-meta-boxes.php:473
    15951618msgid "Draft"
    15961619msgstr ""
    15971620
    1598 #: includes/admin/class-emwc-admin-meta-boxes.php:472
     1621#: includes/admin/class-emwc-admin-meta-boxes.php:481
    15991622msgid "Edit"
    16001623msgstr ""
    16011624
    1602 #: includes/admin/class-emwc-admin-meta-boxes.php:483
     1625#: includes/admin/class-emwc-admin-meta-boxes.php:492
    16031626msgid "No tickets have been created for this event yet."
    16041627msgstr ""
    16051628
    1606 #: includes/admin/class-emwc-admin-meta-boxes.php:489
     1629#: includes/admin/class-emwc-admin-meta-boxes.php:498
    16071630msgid "+ Add New Ticket"
    16081631msgstr ""
    16091632
    1610 #: includes/admin/class-emwc-admin-meta-boxes.php:497
     1633#: includes/admin/class-emwc-admin-meta-boxes.php:506
    16111634msgid "Please save the event first before adding tickets."
    16121635msgstr ""
    16131636
    1614 #: includes/admin/class-emwc-admin-meta-boxes.php:533
     1637#: includes/admin/class-emwc-admin-meta-boxes.php:542
    16151638msgid "This is a recurring event instance."
    16161639msgstr ""
    16171640
    1618 #: includes/admin/class-emwc-admin-meta-boxes.php:535
     1641#: includes/admin/class-emwc-admin-meta-boxes.php:544
    16191642msgid "Edit the parent event"
    16201643msgstr ""
    16211644
    1622 #: includes/admin/class-emwc-admin-meta-boxes.php:537
     1645#: includes/admin/class-emwc-admin-meta-boxes.php:546
    16231646msgid "to modify recurrence settings."
    16241647msgstr ""
    16251648
    16261649#. translators: %d: number of instances
    1627 #: includes/admin/class-emwc-admin-meta-boxes.php:551
     1650#: includes/admin/class-emwc-admin-meta-boxes.php:560
    16281651#, php-format
    16291652msgid "This event has %d recurring instances."
    16301653msgstr ""
    16311654
    1632 #: includes/admin/class-emwc-admin-meta-boxes.php:558
     1655#: includes/admin/class-emwc-admin-meta-boxes.php:567
    16331656msgid "Repeat Event"
    16341657msgstr ""
    16351658
    1636 #: includes/admin/class-emwc-admin-meta-boxes.php:570
     1659#: includes/admin/class-emwc-admin-meta-boxes.php:579
    16371660msgid "Every"
    16381661msgstr ""
    16391662
    1640 #: includes/admin/class-emwc-admin-meta-boxes.php:572
    1641 #: includes/admin/class-emwc-admin.php:611
     1663#: includes/admin/class-emwc-admin-meta-boxes.php:581
     1664#: includes/admin/class-emwc-admin.php:643
    16421665msgid "day(s)"
    16431666msgstr ""
    16441667
    1645 #: includes/admin/class-emwc-admin-meta-boxes.php:577
     1668#: includes/admin/class-emwc-admin-meta-boxes.php:586
    16461669msgid "On days"
    16471670msgstr ""
    16481671
    1649 #: includes/admin/class-emwc-admin-meta-boxes.php:591
     1672#: includes/admin/class-emwc-admin-meta-boxes.php:600
    16501673msgid "Repeat on"
    16511674msgstr ""
    16521675
    1653 #: includes/admin/class-emwc-admin-meta-boxes.php:603
     1676#: includes/admin/class-emwc-admin-meta-boxes.php:612
    16541677msgid "Ends"
    16551678msgstr ""
    16561679
    1657 #: includes/admin/class-emwc-admin-meta-boxes.php:614
     1680#: includes/admin/class-emwc-admin-meta-boxes.php:623
    16581681#: includes/export/class-emwc-csv-export.php:159
    16591682#: includes/import/class-emwc-csv-import.php:68
    … …  
    16611684msgstr ""
    16621685
    1663 #: includes/admin/class-emwc-admin-meta-boxes.php:615
     1686#: includes/admin/class-emwc-admin-meta-boxes.php:624
    16641687msgid "Select date"
    16651688msgstr ""
    16661689
    1667 #: includes/admin/class-emwc-admin-meta-boxes.php:619
     1690#: includes/admin/class-emwc-admin-meta-boxes.php:628
    16681691msgid "Occurrences"
    16691692msgstr ""
    16701693
    1671 #: includes/admin/class-emwc-admin-meta-boxes.php:624
     1694#: includes/admin/class-emwc-admin-meta-boxes.php:633
    16721695msgid "Summary:"
    16731696msgstr ""
    16741697
    1675 #: includes/admin/class-emwc-admin-meta-boxes.php:632
     1698#: includes/admin/class-emwc-admin-meta-boxes.php:641
    16761699msgid "Regenerate Instances"
    16771700msgstr ""
    16781701
    1679 #: includes/admin/class-emwc-admin-meta-boxes.php:634
     1702#: includes/admin/class-emwc-admin-meta-boxes.php:643
    16801703msgid "Updates every date to match the schedule above. Dates keep their tickets, and dates you edited on their own keep those edits."
    16811704msgstr ""
    16821705
    1683 #: includes/admin/class-emwc-admin-meta-boxes.php:668
     1706#: includes/admin/class-emwc-admin-meta-boxes.php:677
    16841707#: includes/speakers/class-emwc-speaker-post-type.php:45
    16851708#: templates/archive-emwc_speaker.php:158
    … …  
    16871710msgstr ""
    16881711
    1689 #: includes/admin/class-emwc-admin-meta-boxes.php:686
     1712#: includes/admin/class-emwc-admin-meta-boxes.php:695
    16901713msgid "+ Add New Speaker"
    16911714msgstr ""
    16921715
    1693 #: includes/admin/class-emwc-admin-meta-boxes.php:717
     1716#: includes/admin/class-emwc-admin-meta-boxes.php:726
    16941717msgid "Section Title"
    16951718msgstr ""
    16961719
    1697 #: includes/admin/class-emwc-admin-meta-boxes.php:718
    1698 #: templates/single-emwc_event.php:269
     1720#: includes/admin/class-emwc-admin-meta-boxes.php:727
     1721#: templates/single-emwc_event.php:273
    16991722msgid "Additional Information"
    17001723msgstr ""
    17011724
    1702 #: includes/admin/class-emwc-admin-meta-boxes.php:719
     1725#: includes/admin/class-emwc-admin-meta-boxes.php:728
    17031726msgid "Custom heading displayed above attributes on the event page. Leave empty for default."
    17041727msgstr ""
    17051728
    1706 #: includes/admin/class-emwc-admin-meta-boxes.php:721
     1729#: includes/admin/class-emwc-admin-meta-boxes.php:730
    17071730msgid "Add custom details like dress code, age restriction, parking info, etc."
    17081731msgstr ""
    17091732
    1710 #: includes/admin/class-emwc-admin-meta-boxes.php:725
    1711 #: includes/woocommerce/class-emwc-wc-integration.php:781
    1712 #: includes/woocommerce/class-emwc-wc-integration.php:929
     1733#: includes/admin/class-emwc-admin-meta-boxes.php:734
     1734#: includes/woocommerce/class-emwc-wc-integration.php:835
     1735#: includes/woocommerce/class-emwc-wc-integration.php:1004
    17131736msgid "Label"
    17141737msgstr ""
    17151738
    1716 #: includes/admin/class-emwc-admin-meta-boxes.php:726
     1739#: includes/admin/class-emwc-admin-meta-boxes.php:735
    17171740msgid "Value"
    17181741msgstr ""
    17191742
    1720 #: includes/admin/class-emwc-admin-meta-boxes.php:734
    1721 #: includes/admin/class-emwc-admin.php:638
     1743#: includes/admin/class-emwc-admin-meta-boxes.php:743
     1744#: includes/admin/class-emwc-admin.php:670
    17221745msgid "e.g. Dress Code"
    17231746msgstr ""
    17241747
    1725 #: includes/admin/class-emwc-admin-meta-boxes.php:737
    1726 #: includes/admin/class-emwc-admin.php:639
     1748#: includes/admin/class-emwc-admin-meta-boxes.php:746
     1749#: includes/admin/class-emwc-admin.php:671
    17271750msgid "e.g. Business Casual"
    17281751msgstr ""
    17291752
    1730 #: includes/admin/class-emwc-admin-meta-boxes.php:740
     1753#: includes/admin/class-emwc-admin-meta-boxes.php:749
     1754#: includes/admin/class-emwc-admin.php:672
     1755msgid "Remove attribute"
     1756msgstr ""
     1757
     1758#: includes/admin/class-emwc-admin-meta-boxes.php:757
     1759msgid "+ Add Attribute"
     1760msgstr ""
     1761
     1762#: includes/admin/class-emwc-admin-meta-boxes.php:795
     1763msgid "Address"
     1764msgstr ""
     1765
     1766#: includes/admin/class-emwc-admin-meta-boxes.php:798
     1767msgid "Street Address"
     1768msgstr ""
     1769
     1770#: includes/admin/class-emwc-admin-meta-boxes.php:803
     1771msgid "Address Line 2"
     1772msgstr ""
     1773
     1774#: includes/admin/class-emwc-admin-meta-boxes.php:804
     1775msgid "Suite, unit, building, floor, etc."
     1776msgstr ""
     1777
     1778#: includes/admin/class-emwc-admin-meta-boxes.php:813
     1779msgid "State/Province"
     1780msgstr ""
     1781
     1782#: includes/admin/class-emwc-admin-meta-boxes.php:820
     1783msgid "Postal/ZIP Code"
     1784msgstr ""
     1785
     1786#: includes/admin/class-emwc-admin-meta-boxes.php:826
    17311787#: includes/admin/class-emwc-admin.php:640
    1732 msgid "Remove attribute"
    1733 msgstr ""
    1734 
    1735 #: includes/admin/class-emwc-admin-meta-boxes.php:748
    1736 msgid "+ Add Attribute"
    1737 msgstr ""
    1738 
    1739 #: includes/admin/class-emwc-admin-meta-boxes.php:786
    1740 msgid "Address"
    1741 msgstr ""
    1742 
    1743 #: includes/admin/class-emwc-admin-meta-boxes.php:789
    1744 msgid "Street Address"
    1745 msgstr ""
    1746 
    1747 #: includes/admin/class-emwc-admin-meta-boxes.php:794
    1748 msgid "Address Line 2"
    1749 msgstr ""
    1750 
    1751 #: includes/admin/class-emwc-admin-meta-boxes.php:795
    1752 msgid "Suite, unit, building, floor, etc."
    1753 msgstr ""
    1754 
    1755 #: includes/admin/class-emwc-admin-meta-boxes.php:804
    1756 msgid "State/Province"
    1757 msgstr ""
    1758 
    1759 #: includes/admin/class-emwc-admin-meta-boxes.php:811
    1760 msgid "Postal/ZIP Code"
    1761 msgstr ""
    1762 
    1763 #: includes/admin/class-emwc-admin-meta-boxes.php:817
    1764 #: includes/admin/class-emwc-admin.php:608
    17651788msgid "Select a country..."
    17661789msgstr ""
    17671790
    1768 #: includes/admin/class-emwc-admin-meta-boxes.php:837
     1791#: includes/admin/class-emwc-admin-meta-boxes.php:846
    17691792msgid "Contact Details"
    17701793msgstr ""
    17711794
    1772 #: includes/admin/class-emwc-admin-meta-boxes.php:850
    1773 #: includes/admin/class-emwc-admin-meta-boxes.php:897
     1795#: includes/admin/class-emwc-admin-meta-boxes.php:859
     1796#: includes/admin/class-emwc-admin-meta-boxes.php:906
    17741797#: includes/speakers/class-emwc-speaker-post-type.php:208
    17751798#: templates/single-emwc_speaker.php:96
    … …  
    17771800msgstr ""
    17781801
    1779 #: includes/admin/class-emwc-admin-meta-boxes.php:884
     1802#: includes/admin/class-emwc-admin-meta-boxes.php:893
    17801803msgid "Contact Information"
    17811804msgstr ""
    17821805
    1783 #: includes/admin/class-emwc-admin-meta-boxes.php:904
     1806#: includes/admin/class-emwc-admin-meta-boxes.php:913
    17841807msgid "Social Media"
    17851808msgstr ""
    17861809
    1787 #: includes/admin/class-emwc-admin-meta-boxes.php:907
     1810#: includes/admin/class-emwc-admin-meta-boxes.php:916
    17881811#: includes/speakers/class-emwc-speaker-post-type.php:220
    17891812msgid "Facebook"
    17901813msgstr ""
    17911814
    1792 #: includes/admin/class-emwc-admin-meta-boxes.php:912
     1815#: includes/admin/class-emwc-admin-meta-boxes.php:921
    17931816#: includes/speakers/class-emwc-speaker-post-type.php:216
    17941817msgid "Twitter/X"
    17951818msgstr ""
    17961819
    1797 #: includes/admin/class-emwc-admin-meta-boxes.php:917
     1820#: includes/admin/class-emwc-admin-meta-boxes.php:926
    17981821#: includes/speakers/class-emwc-speaker-post-type.php:212
    17991822msgid "LinkedIn"
    … …  
    18011824
    18021825#. translators: %d: number of products updated
    1803 #: includes/admin/class-emwc-admin-meta-boxes.php:1052
     1826#: includes/admin/class-emwc-admin-meta-boxes.php:1066
    18041827#, php-format
    18051828msgid "Ticket sales dates synced to %d product(s)."
    … …  
    18071830
    18081831#. translators: %s: comma-separated dates
    1809 #: includes/admin/class-emwc-admin-meta-boxes.php:1141
     1832#: includes/admin/class-emwc-admin-meta-boxes.php:1155
    18101833#, php-format
    18111834msgid "Repeating is off, but these dates were kept because they have tickets: %s. Cancel or move those tickets first if you want to remove them."
    … …  
    18131836
    18141837#. translators: %s: comma-separated dates
    1815 #: includes/admin/class-emwc-admin-meta-boxes.php:1165
     1838#: includes/admin/class-emwc-admin-meta-boxes.php:1179
    18161839#, php-format
    18171840msgid "These dates are not in the schedule anymore but were kept because they have tickets: %s. Cancel or move those tickets first if you want to remove them."
    … …  
    18191842
    18201843#. translators: %s: comma-separated dates
    1821 #: includes/admin/class-emwc-admin-meta-boxes.php:1178
     1844#: includes/admin/class-emwc-admin-meta-boxes.php:1192
    18221845#, php-format
    18231846msgid "Each of these is a duplicate date with tickets, so it was kept: %s. Move those tickets to the other copy first if you want to remove it."
    … …  
    18251848
    18261849#. translators: %s: comma-separated dates
    1827 #: includes/admin/class-emwc-admin-meta-boxes.php:1191
     1850#: includes/admin/class-emwc-admin-meta-boxes.php:1212
    18281851#, php-format
    18291852msgid "These dates have tickets and now show your changes (time, venue, or other details): %s. Let those ticket holders know."
    18301853msgstr ""
     1854
     1855#: includes/admin/class-emwc-admin-meta-boxes.php:1234
     1856msgid "Email ticket holders about date, time or venue changes"
     1857msgstr ""
     1858
     1859#: includes/admin/class-emwc-admin-meta-boxes.php:1238
     1860msgid "Message to ticket holders (optional)"
     1861msgstr ""
     1862
     1863#: includes/admin/class-emwc-admin-meta-boxes.php:1242
     1864msgid "Sent when you update a published event whose date, time or venue changed. Cancelled tickets are skipped."
     1865msgstr ""
     1866
     1867#. translators: %d: number of ticket holders
     1868#: includes/admin/class-emwc-admin-meta-boxes.php:1335
     1869#, php-format
     1870msgid "Update email queued for %d ticket holder."
     1871msgid_plural "Update email queued for %d ticket holders."
     1872msgstr[0] ""
     1873msgstr[1] ""
    18311874
    18321875#: includes/admin/class-emwc-admin-notices.php:56
    … …  
    18511894
    18521895#: includes/admin/class-emwc-admin-notices.php:76
    1853 #: includes/woocommerce/class-emwc-wc-integration.php:2260
     1896#: includes/woocommerce/class-emwc-wc-integration.php:2474
    18541897msgid "Dismiss"
    18551898msgstr ""
    … …  
    19251968msgstr ""
    19261969
    1927 #: includes/admin/class-emwc-admin-settings.php:262
     1970#: includes/admin/class-emwc-admin-settings.php:266
    19281971msgid "Events Manager Settings"
    19291972msgstr ""
    19301973
    1931 #: includes/admin/class-emwc-admin-settings.php:276
     1974#: includes/admin/class-emwc-admin-settings.php:280
    19321975msgid "Your settings have been saved."
    19331976msgstr ""
    19341977
    1935 #: includes/admin/class-emwc-admin-settings.php:287
     1978#: includes/admin/class-emwc-admin-settings.php:291
    19361979msgid "Save changes"
    19371980msgstr ""
    19381981
    1939 #: includes/admin/class-emwc-admin-settings.php:338
     1982#: includes/admin/class-emwc-admin-settings.php:342
    19401983msgid "Date & Time Options"
    19411984msgstr ""
    19421985
    1943 #: includes/admin/class-emwc-admin-settings.php:342
     1986#: includes/admin/class-emwc-admin-settings.php:346
    19441987msgid "Date Format"
    19451988msgstr ""
    19461989
    1947 #: includes/admin/class-emwc-admin-settings.php:343
     1990#: includes/admin/class-emwc-admin-settings.php:347
    19481991msgid "Set the date format used to display event dates throughout your site. Uses standard PHP date format characters."
    19491992msgstr ""
    … …  
    19511994#. translators: %s: example date
    19521995#. translators: %s: example time
    1953 #: includes/admin/class-emwc-admin-settings.php:350
    1954 #: includes/admin/class-emwc-admin-settings.php:367
     1996#: includes/admin/class-emwc-admin-settings.php:354
     1997#: includes/admin/class-emwc-admin-settings.php:371
    19551998#, php-format
    19561999msgid "Preview: %s"
    19572000msgstr ""
    19582001
    1959 #: includes/admin/class-emwc-admin-settings.php:359
     2002#: includes/admin/class-emwc-admin-settings.php:363
    19602003msgid "Time Format"
    19612004msgstr ""
    19622005
    1963 #: includes/admin/class-emwc-admin-settings.php:360
     2006#: includes/admin/class-emwc-admin-settings.php:364
    19642007msgid "Set the time format used to display event times. Use \"g:i a\" for 12-hour or \"H:i\" for 24-hour format."
    19652008msgstr ""
    19662009
    1967 #: includes/admin/class-emwc-admin-settings.php:374
     2010#: includes/admin/class-emwc-admin-settings.php:378
    19682011msgid "Default Timezone"
    19692012msgstr ""
    19702013
    1971 #: includes/admin/class-emwc-admin-settings.php:375
     2014#: includes/admin/class-emwc-admin-settings.php:379
    19722015msgid "Select the default timezone for new events. This can be overridden on individual events."
    19732016msgstr ""
    19742017
    1975 #: includes/admin/class-emwc-admin-settings.php:398
     2018#: includes/admin/class-emwc-admin-settings.php:402
    19762019msgid "Pages"
    19772020msgstr ""
    19782021
    1979 #: includes/admin/class-emwc-admin-settings.php:402
     2022#: includes/admin/class-emwc-admin-settings.php:406
    19802023msgid "Events Archive Page"
    19812024msgstr ""
    19822025
    1983 #: includes/admin/class-emwc-admin-settings.php:403
     2026#: includes/admin/class-emwc-admin-settings.php:407
    19842027msgid "Select a page to use as the main events archive. The [emwc_events] shortcode will be auto-added."
    19852028msgstr ""
    19862029
    1987 #: includes/admin/class-emwc-admin-settings.php:412
     2030#: includes/admin/class-emwc-admin-settings.php:416
    19882031msgid "— Use default archive —"
    19892032msgstr ""
    19902033
    1991 #: includes/admin/class-emwc-admin-settings.php:418
     2034#: includes/admin/class-emwc-admin-settings.php:422
    19922035msgid "Optional. Use a custom page instead of the default event archive."
    19932036msgstr ""
    19942037
    19952038#. translators: %s: Permalinks settings URL
    1996 #: includes/admin/class-emwc-admin-settings.php:427
     2039#: includes/admin/class-emwc-admin-settings.php:431
    19972040#, php-format
    19982041msgid "To customize event URL slugs, go to %s."
    19992042msgstr ""
    20002043
    2001 #: includes/admin/class-emwc-admin-settings.php:428
     2044#: includes/admin/class-emwc-admin-settings.php:432
    20022045msgid "Settings > Permalinks"
    20032046msgstr ""
    20042047
    2005 #: includes/admin/class-emwc-admin-settings.php:451
    2006 #: includes/admin/class-emwc-admin-settings.php:879
    2007 #: includes/admin/class-emwc-admin-settings.php:937
     2048#: includes/admin/class-emwc-admin-settings.php:455
     2049#: includes/admin/class-emwc-admin-settings.php:935
     2050#: includes/admin/class-emwc-admin-settings.php:993
    20082051#: assets/js/blocks-editor.js:64
    20092052#: assets/js/blocks-editor.js:158
    … …  
    20142057msgstr ""
    20152058
    2016 #: includes/admin/class-emwc-admin-settings.php:455
     2059#: includes/admin/class-emwc-admin-settings.php:459
    20172060msgid "Events Per Page"
    20182061msgstr ""
    20192062
    2020 #: includes/admin/class-emwc-admin-settings.php:456
     2063#: includes/admin/class-emwc-admin-settings.php:460
    20212064msgid "Set how many events to display per page on archive pages, shortcode listings, and grids."
    20222065msgstr ""
    20232066
    2024 #: includes/admin/class-emwc-admin-settings.php:463
     2067#: includes/admin/class-emwc-admin-settings.php:467
    20252068msgid "Show Past Events"
    20262069msgstr ""
    20272070
    2028 #: includes/admin/class-emwc-admin-settings.php:468
     2071#: includes/admin/class-emwc-admin-settings.php:472
    20292072msgid "Show past events in archives and calendars"
    20302073msgstr ""
    20312074
    2032 #: includes/admin/class-emwc-admin-settings.php:470
     2075#: includes/admin/class-emwc-admin-settings.php:474
    20332076msgid "When enabled, past events will be included in archive pages and calendar views."
    20342077msgstr ""
    20352078
    2036 #: includes/admin/class-emwc-admin-settings.php:476
     2079#: includes/admin/class-emwc-admin-settings.php:480
    20372080msgid "Default Calendar View"
    20382081msgstr ""
    20392082
    2040 #: includes/admin/class-emwc-admin-settings.php:477
     2083#: includes/admin/class-emwc-admin-settings.php:481
    20412084msgid "Choose the default view when the calendar shortcode is displayed. Users can switch between views if enabled."
    20422085msgstr ""
    20432086
    2044 #: includes/admin/class-emwc-admin-settings.php:481
     2087#: includes/admin/class-emwc-admin-settings.php:485
    20452088msgid "Month"
    20462089msgstr ""
    20472090
    2048 #: includes/admin/class-emwc-admin-settings.php:482
     2091#: includes/admin/class-emwc-admin-settings.php:486
    20492092msgid "Week"
    20502093msgstr ""
    20512094
    2052 #: includes/admin/class-emwc-admin-settings.php:483
     2095#: includes/admin/class-emwc-admin-settings.php:487
    20532096msgid "Day"
    20542097msgstr ""
    20552098
    2056 #: includes/admin/class-emwc-admin-settings.php:484
     2099#: includes/admin/class-emwc-admin-settings.php:488
    20572100#: assets/js/blocks-editor.js:113
    20582101msgid "List"
    20592102msgstr ""
    20602103
    2061 #: includes/admin/class-emwc-admin-settings.php:489
     2104#: includes/admin/class-emwc-admin-settings.php:493
    20622105msgid "Countdown Timers"
    20632106msgstr ""
    20642107
    2065 #: includes/admin/class-emwc-admin-settings.php:494
     2108#: includes/admin/class-emwc-admin-settings.php:498
    20662109msgid "Show countdown to event start on single event pages"
    20672110msgstr ""
    20682111
    2069 #: includes/admin/class-emwc-admin-settings.php:499
     2112#: includes/admin/class-emwc-admin-settings.php:503
    20702113msgid "Show countdown to ticket sales start/end"
    20712114msgstr ""
    20722115
    2073 #: includes/admin/class-emwc-admin-settings.php:501
     2116#: includes/admin/class-emwc-admin-settings.php:505
    20742117msgid "Enable countdown timers to create urgency for attendees."
    20752118msgstr ""
    20762119
    2077 #: includes/admin/class-emwc-admin-settings.php:507
     2120#: includes/admin/class-emwc-admin-settings.php:511
    20782121msgid "Single Event Page"
    20792122msgstr ""
    20802123
    2081 #: includes/admin/class-emwc-admin-settings.php:510
     2124#: includes/admin/class-emwc-admin-settings.php:514
    20822125msgid "Content Display"
    20832126msgstr ""
    20842127
    2085 #: includes/admin/class-emwc-admin-settings.php:515
     2128#: includes/admin/class-emwc-admin-settings.php:519
    20862129msgid "Show location/map section on event pages"
    20872130msgstr ""
    20882131
    2089 #: includes/admin/class-emwc-admin-settings.php:520
     2132#: includes/admin/class-emwc-admin-settings.php:524
    20902133msgid "Show seat selection section on event pages"
    20912134msgstr ""
    20922135
    2093 #: includes/admin/class-emwc-admin-settings.php:525
     2136#: includes/admin/class-emwc-admin-settings.php:529
    20942137msgid "Show speakers section on event pages"
    20952138msgstr ""
    20962139
    2097 #: includes/admin/class-emwc-admin-settings.php:530
     2140#: includes/admin/class-emwc-admin-settings.php:534
    20982141msgid "Show social share buttons"
    20992142msgstr ""
    21002143
    2101 #: includes/admin/class-emwc-admin-settings.php:535
     2144#: includes/admin/class-emwc-admin-settings.php:539
    21022145msgid "Show \"Add to Calendar\" buttons"
    21032146msgstr ""
    21042147
    2105 #: includes/admin/class-emwc-admin-settings.php:537
     2148#: includes/admin/class-emwc-admin-settings.php:541
    21062149msgid "Control which sections appear on single event pages."
    21072150msgstr ""
    21082151
    2109 #: includes/admin/class-emwc-admin-settings.php:543
     2152#: includes/admin/class-emwc-admin-settings.php:547
    21102153msgid "SEO & Schema"
    21112154msgstr ""
    21122155
    2113 #: includes/admin/class-emwc-admin-settings.php:546
     2156#: includes/admin/class-emwc-admin-settings.php:550
    21142157msgid "Structured Data"
    21152158msgstr ""
    21162159
    2117 #: includes/admin/class-emwc-admin-settings.php:551
     2160#: includes/admin/class-emwc-admin-settings.php:555
    21182161msgid "Add Event schema markup (JSON-LD) to event pages"
    21192162msgstr ""
    21202163
    2121 #: includes/admin/class-emwc-admin-settings.php:553
     2164#: includes/admin/class-emwc-admin-settings.php:557
    21222165msgid "Helps search engines understand your events and display rich snippets in search results."
    21232166msgstr ""
    21242167
    2125 #: includes/admin/class-emwc-admin-settings.php:576
     2168#: includes/admin/class-emwc-admin-settings.php:584
    21262169msgid "Ticket Options"
    21272170msgstr ""
    21282171
    2129 #: includes/admin/class-emwc-admin-settings.php:579
     2172#: includes/admin/class-emwc-admin-settings.php:587
    21302173#: includes/waitlist/class-emwc-admin-waitlist.php:34
    21312174#: includes/waitlist/class-emwc-admin-waitlist.php:35
    … …  
    21332176msgstr ""
    21342177
    2135 #: includes/admin/class-emwc-admin-settings.php:584
     2178#: includes/admin/class-emwc-admin-settings.php:592
    21362179msgid "Enable waitlist by default for new ticket products"
    21372180msgstr ""
    21382181
    2139 #: includes/admin/class-emwc-admin-settings.php:586
     2182#: includes/admin/class-emwc-admin-settings.php:594
    21402183msgid "Allow customers to join a queue when events sell out. They will be notified when spots become available."
    21412184msgstr ""
    21422185
    2143 #: includes/admin/class-emwc-admin-settings.php:592
     2186#: includes/admin/class-emwc-admin-settings.php:600
    21442187msgid "Waitlist Offer Expiry"
    21452188msgstr ""
    21462189
    2147 #: includes/admin/class-emwc-admin-settings.php:593
     2190#: includes/admin/class-emwc-admin-settings.php:601
    21482191msgid "When a spot opens up, how long does the customer have to complete their purchase? After this time, the offer moves to the next person in line."
    21492192msgstr ""
    21502193
    2151 #: includes/admin/class-emwc-admin-settings.php:597
     2194#: includes/admin/class-emwc-admin-settings.php:605
    21522195msgid "hours (0 = no expiry)"
    21532196msgstr ""
    21542197
    2155 #: includes/admin/class-emwc-admin-settings.php:606
     2198#: includes/admin/class-emwc-admin-settings.php:614
    21562199msgid "Collect individual attendee details during checkout"
    21572200msgstr ""
    21582201
    2159 #: includes/admin/class-emwc-admin-settings.php:608
     2202#: includes/admin/class-emwc-admin-settings.php:616
    21602203msgid "When enabled, customers will be asked to enter name and email for each ticket holder. Useful for events that require individual registration or name badges."
    21612204msgstr ""
    21622205
    2163 #: includes/admin/class-emwc-admin-settings.php:613
     2206#: includes/admin/class-emwc-admin-settings.php:621
    21642207msgid "Shopping Cart"
    21652208msgstr ""
    21662209
    2167 #: includes/admin/class-emwc-admin-settings.php:618
     2210#: includes/admin/class-emwc-admin-settings.php:626
    21682211msgid "Allow event tickets and other products in the same cart"
    21692212msgstr ""
    21702213
    2171 #: includes/admin/class-emwc-admin-settings.php:620
     2214#: includes/admin/class-emwc-admin-settings.php:628
    21722215msgid "Customers can buy tickets together with memberships, merchandise or any other product in one order. Orders that also have a product that isn't both virtual and downloadable, like a shipped item or most memberships, stay in Processing until you complete them. Tickets are still sent as soon as the order is paid."
    21732216msgstr ""
    21742217
    2175 #: includes/admin/class-emwc-admin-settings.php:626
     2218#: includes/admin/class-emwc-admin-settings.php:634
    21762219msgid "Default Min Tickets"
    21772220msgstr ""
    21782221
    2179 #: includes/admin/class-emwc-admin-settings.php:627
     2222#: includes/admin/class-emwc-admin-settings.php:635
    21802223msgid "The minimum number of tickets a customer must purchase per order. Can be overridden per product."
    21812224msgstr ""
    21822225
    2183 #: includes/admin/class-emwc-admin-settings.php:635
     2226#: includes/admin/class-emwc-admin-settings.php:643
    21842227msgid "Default Max Tickets"
    21852228msgstr ""
    21862229
    2187 #: includes/admin/class-emwc-admin-settings.php:636
     2230#: includes/admin/class-emwc-admin-settings.php:644
    21882231msgid "The maximum number of tickets a customer can purchase per order. Prevents bulk buying. Can be overridden per product."
    21892232msgstr ""
    21902233
    2191 #: includes/admin/class-emwc-admin-settings.php:644
     2234#: includes/admin/class-emwc-admin-settings.php:652
    21922235msgid "Default Persons Per Ticket"
    21932236msgstr ""
    21942237
    2195 #: includes/admin/class-emwc-admin-settings.php:645
     2238#: includes/admin/class-emwc-admin-settings.php:653
    21962239msgid "Default number of people each ticket admits. Useful for group tickets. Can be overridden per product."
    21972240msgstr ""
    21982241
    2199 #: includes/admin/class-emwc-admin-settings.php:649
     2242#: includes/admin/class-emwc-admin-settings.php:657
    22002243msgid "persons per ticket"
    22012244msgstr ""
    22022245
    2203 #: includes/admin/class-emwc-admin-settings.php:654
     2246#: includes/admin/class-emwc-admin-settings.php:662
     2247msgid "Changes by customers"
     2248msgstr ""
     2249
     2250#: includes/admin/class-emwc-admin-settings.php:665
     2251msgid "Cancellations"
     2252msgstr ""
     2253
     2254#: includes/admin/class-emwc-admin-settings.php:670
     2255msgid "Let customers cancel tickets from My Account"
     2256msgstr ""
     2257
     2258#: includes/admin/class-emwc-admin-settings.php:672
     2259msgid "Each ticket gets a Cancel button under My Account > My Tickets. Cancelling frees the place and tells the waitlist. Refunds are not made automatically."
     2260msgstr ""
     2261
     2262#: includes/admin/class-emwc-admin-settings.php:678
     2263msgid "Cancellation deadline"
     2264msgstr ""
     2265
     2266#: includes/admin/class-emwc-admin-settings.php:682
     2267#: includes/admin/class-emwc-admin-settings.php:704
     2268msgid "hours before the event starts"
     2269msgstr ""
     2270
     2271#: includes/admin/class-emwc-admin-settings.php:683
     2272msgid "Set 0 to allow cancelling until the event starts."
     2273msgstr ""
     2274
     2275#: includes/admin/class-emwc-admin-settings.php:687
     2276msgid "Transfers"
     2277msgstr ""
     2278
     2279#: includes/admin/class-emwc-admin-settings.php:692
     2280msgid "Let customers transfer tickets to another person"
     2281msgstr ""
     2282
     2283#: includes/admin/class-emwc-admin-settings.php:694
     2284msgid "Each ticket gets a Transfer button under My Account > My Tickets. The ticket gets a new code, so the old QR code and PDF stop working, and the new holder receives it by email. The seat stays the same. The buyer still sees and manages the ticket under My Tickets after a transfer."
     2285msgstr ""
     2286
     2287#: includes/admin/class-emwc-admin-settings.php:700
     2288msgid "Transfer deadline"
     2289msgstr ""
     2290
     2291#: includes/admin/class-emwc-admin-settings.php:705
     2292msgid "Set 0 to allow transfers until the event starts."
     2293msgstr ""
     2294
     2295#: includes/admin/class-emwc-admin-settings.php:710
    22042296msgid "Waitlist Options"
    22052297msgstr ""
    22062298
    2207 #: includes/admin/class-emwc-admin-settings.php:657
     2299#: includes/admin/class-emwc-admin-settings.php:713
    22082300msgid "Auto Notifications"
    22092301msgstr ""
    22102302
    2211 #: includes/admin/class-emwc-admin-settings.php:662
     2303#: includes/admin/class-emwc-admin-settings.php:718
    22122304msgid "Automatically notify next person on waitlist when a spot opens"
    22132305msgstr ""
    22142306
    2215 #: includes/admin/class-emwc-admin-settings.php:664
     2307#: includes/admin/class-emwc-admin-settings.php:720
    22162308msgid "When someone cancels or a refund happens, the next person on the waitlist will be notified."
    22172309msgstr ""
    22182310
    2219 #: includes/admin/class-emwc-admin-settings.php:670
     2311#: includes/admin/class-emwc-admin-settings.php:726
    22202312msgid "Ticket Code Format"
    22212313msgstr ""
    22222314
    2223 #: includes/admin/class-emwc-admin-settings.php:674
     2315#: includes/admin/class-emwc-admin-settings.php:730
    22242316msgid "Ticket Code Prefix"
    22252317msgstr ""
    22262318
    2227 #: includes/admin/class-emwc-admin-settings.php:675
     2319#: includes/admin/class-emwc-admin-settings.php:731
    22282320msgid "A short prefix added to all ticket codes. Helps identify your tickets."
    22292321msgstr ""
    22302322
    22312323#. translators: %s: example ticket code
    2232 #: includes/admin/class-emwc-admin-settings.php:682
     2324#: includes/admin/class-emwc-admin-settings.php:738
    22332325#, php-format
    22342326msgid "Example: %s"
    22352327msgstr ""
    22362328
    2237 #: includes/admin/class-emwc-admin-settings.php:689
     2329#: includes/admin/class-emwc-admin-settings.php:745
    22382330msgid "Code Length"
    22392331msgstr ""
    22402332
    2241 #: includes/admin/class-emwc-admin-settings.php:690
     2333#: includes/admin/class-emwc-admin-settings.php:746
    22422334msgid "Number of characters in the unique part of the ticket code (after the prefix). Longer codes are more secure."
    22432335msgstr ""
    22442336
    2245 #: includes/admin/class-emwc-admin-settings.php:694
     2337#: includes/admin/class-emwc-admin-settings.php:750
    22462338msgid "6 characters (Short)"
    22472339msgstr ""
    22482340
    2249 #: includes/admin/class-emwc-admin-settings.php:695
     2341#: includes/admin/class-emwc-admin-settings.php:751
    22502342msgid "8 characters (Default)"
    22512343msgstr ""
    22522344
    2253 #: includes/admin/class-emwc-admin-settings.php:696
     2345#: includes/admin/class-emwc-admin-settings.php:752
    22542346msgid "10 characters (Long)"
    22552347msgstr ""
    22562348
    2257 #: includes/admin/class-emwc-admin-settings.php:697
     2349#: includes/admin/class-emwc-admin-settings.php:753
    22582350msgid "12 characters (Very Long)"
    22592351msgstr ""
    22602352
    2261 #: includes/admin/class-emwc-admin-settings.php:719
     2353#: includes/admin/class-emwc-admin-settings.php:775
    22622354msgid "Check-in Options"
    22632355msgstr ""
    22642356
    2265 #: includes/admin/class-emwc-admin-settings.php:722
     2357#: includes/admin/class-emwc-admin-settings.php:778
    22662358msgid "Sound Feedback"
    22672359msgstr ""
    22682360
    2269 #: includes/admin/class-emwc-admin-settings.php:727
     2361#: includes/admin/class-emwc-admin-settings.php:783
    22702362msgid "Play sound on successful/failed check-in"
    22712363msgstr ""
    22722364
    2273 #: includes/admin/class-emwc-admin-settings.php:729
     2365#: includes/admin/class-emwc-admin-settings.php:785
    22742366msgid "Helps staff know immediately if the scan worked with audio feedback."
    22752367msgstr ""
    22762368
    2277 #: includes/admin/class-emwc-admin-settings.php:734
     2369#: includes/admin/class-emwc-admin-settings.php:790
    22782370msgid "Auto Clear"
    22792371msgstr ""
    22802372
    2281 #: includes/admin/class-emwc-admin-settings.php:739
     2373#: includes/admin/class-emwc-admin-settings.php:795
    22822374msgid "Automatically clear check-in result"
    22832375msgstr ""
    22842376
    2285 #: includes/admin/class-emwc-admin-settings.php:741
     2377#: includes/admin/class-emwc-admin-settings.php:797
    22862378msgid "Prepares the scanner for the next ticket without manual intervention."
    22872379msgstr ""
    22882380
    2289 #: includes/admin/class-emwc-admin-settings.php:747
     2381#: includes/admin/class-emwc-admin-settings.php:803
    22902382msgid "Clear Delay"
    22912383msgstr ""
    22922384
    2293 #: includes/admin/class-emwc-admin-settings.php:748
     2385#: includes/admin/class-emwc-admin-settings.php:804
    22942386msgid "How many seconds to show the check-in result before clearing."
    22952387msgstr ""
    22962388
    2297 #: includes/admin/class-emwc-admin-settings.php:752
     2389#: includes/admin/class-emwc-admin-settings.php:808
    22982390msgid "seconds"
    22992391msgstr ""
    23002392
    2301 #: includes/admin/class-emwc-admin-settings.php:756
     2393#: includes/admin/class-emwc-admin-settings.php:812
    23022394msgid "Multiple Check-ins"
    23032395msgstr ""
    23042396
    2305 #: includes/admin/class-emwc-admin-settings.php:761
     2397#: includes/admin/class-emwc-admin-settings.php:817
    23062398msgid "Allow checking in the same ticket multiple times (for re-entry events)"
    23072399msgstr ""
    23082400
    2309 #: includes/admin/class-emwc-admin-settings.php:763
     2401#: includes/admin/class-emwc-admin-settings.php:819
    23102402msgid "Useful for events where attendees can leave and re-enter, like festivals."
    23112403msgstr ""
    23122404
    2313 #: includes/admin/class-emwc-admin-settings.php:769
     2405#: includes/admin/class-emwc-admin-settings.php:825
    23142406msgid "Access Control"
    23152407msgstr ""
    23162408
    2317 #: includes/admin/class-emwc-admin-settings.php:772
     2409#: includes/admin/class-emwc-admin-settings.php:828
    23182410msgid "Login Required"
    23192411msgstr ""
    23202412
    2321 #: includes/admin/class-emwc-admin-settings.php:777
     2413#: includes/admin/class-emwc-admin-settings.php:833
    23222414msgid "Require users to be logged in to access check-in"
    23232415msgstr ""
    23242416
    2325 #: includes/admin/class-emwc-admin-settings.php:779
     2417#: includes/admin/class-emwc-admin-settings.php:835
    23262418msgid "Recommended for security. When disabled, anyone with the check-in URL can scan tickets."
    23272419msgstr ""
    23282420
    2329 #: includes/admin/class-emwc-admin-settings.php:785
     2421#: includes/admin/class-emwc-admin-settings.php:841
    23302422msgid "Allowed Roles"
    23312423msgstr ""
    23322424
    2333 #: includes/admin/class-emwc-admin-settings.php:786
     2425#: includes/admin/class-emwc-admin-settings.php:842
    23342426msgid "Select which user roles can access the check-in functionality."
    23352427msgstr ""
    23362428
    2337 #: includes/admin/class-emwc-admin-settings.php:818
    2338 #: includes/admin/class-emwc-admin-settings.php:1256
     2429#: includes/admin/class-emwc-admin-settings.php:874
     2430#: includes/admin/class-emwc-admin-settings.php:1312
    23392431msgid "Google Maps API"
    23402432msgstr ""
    23412433
    2342 #: includes/admin/class-emwc-admin-settings.php:822
     2434#: includes/admin/class-emwc-admin-settings.php:878
    23432435#: includes/class-emwc-google-maps.php:71
    23442436msgid "Google Maps API Key"
    23452437msgstr ""
    23462438
    2347 #: includes/admin/class-emwc-admin-settings.php:823
     2439#: includes/admin/class-emwc-admin-settings.php:879
    23482440msgid "Your Google Maps API key is required to display maps. Enable both \"Maps JavaScript API\" and \"Geocoding API\" in Google Cloud Console."
    23492441msgstr ""
    23502442
    23512443#. translators: %s: Google Cloud Console URL
    2352 #: includes/admin/class-emwc-admin-settings.php:831
     2444#: includes/admin/class-emwc-admin-settings.php:887
    23532445#, php-format
    23542446msgid "Get your API key from the <a href=\"%s\" target=\"_blank\">Google Cloud Console</a>."
    23552447msgstr ""
    23562448
    2357 #: includes/admin/class-emwc-admin-settings.php:840
     2449#: includes/admin/class-emwc-admin-settings.php:896
    23582450#: includes/class-emwc-google-maps.php:81
    23592451msgid "Default Zoom Level"
    23602452msgstr ""
    23612453
    2362 #: includes/admin/class-emwc-admin-settings.php:841
     2454#: includes/admin/class-emwc-admin-settings.php:897
    23632455msgid "Set the default zoom level for venue maps. Lower numbers show a wider area, higher numbers show more detail."
    23642456msgstr ""
    23652457
    2366 #: includes/admin/class-emwc-admin-settings.php:845
     2458#: includes/admin/class-emwc-admin-settings.php:901
    23672459msgid "1 = World, 20 = Building level"
    23682460msgstr ""
    23692461
    2370 #: includes/admin/class-emwc-admin-settings.php:850
     2462#: includes/admin/class-emwc-admin-settings.php:906
    23712463msgid "Map Height"
    23722464msgstr ""
    23732465
    2374 #: includes/admin/class-emwc-admin-settings.php:851
     2466#: includes/admin/class-emwc-admin-settings.php:907
    23752467msgid "Set the default height for maps in pixels."
    23762468msgstr ""
    23772469
    2378 #: includes/admin/class-emwc-admin-settings.php:859
     2470#: includes/admin/class-emwc-admin-settings.php:915
    23792471msgid "pixels (200-600)"
    23802472msgstr ""
    23812473
    2382 #: includes/admin/class-emwc-admin-settings.php:864
     2474#: includes/admin/class-emwc-admin-settings.php:920
    23832475#: includes/class-emwc-google-maps.php:88
    23842476msgid "Map Style"
    23852477msgstr ""
    23862478
    2387 #: includes/admin/class-emwc-admin-settings.php:865
     2479#: includes/admin/class-emwc-admin-settings.php:921
    23882480msgid "Choose a visual style for your maps to match your site design."
    23892481msgstr ""
    23902482
    2391 #: includes/admin/class-emwc-admin-settings.php:869
     2483#: includes/admin/class-emwc-admin-settings.php:925
    23922484#: includes/class-emwc-google-maps.php:91
    23932485msgid "Standard"
    23942486msgstr ""
    23952487
    2396 #: includes/admin/class-emwc-admin-settings.php:870
     2488#: includes/admin/class-emwc-admin-settings.php:926
    23972489#: includes/class-emwc-google-maps.php:92
    23982490msgid "Silver"
    23992491msgstr ""
    24002492
    2401 #: includes/admin/class-emwc-admin-settings.php:871
     2493#: includes/admin/class-emwc-admin-settings.php:927
    24022494#: includes/class-emwc-google-maps.php:93
    24032495msgid "Retro"
    24042496msgstr ""
    24052497
    2406 #: includes/admin/class-emwc-admin-settings.php:872
     2498#: includes/admin/class-emwc-admin-settings.php:928
    24072499#: includes/class-emwc-google-maps.php:94
    24082500msgid "Dark"
    24092501msgstr ""
    24102502
    2411 #: includes/admin/class-emwc-admin-settings.php:873
     2503#: includes/admin/class-emwc-admin-settings.php:929
    24122504#: includes/class-emwc-google-maps.php:95
    24132505msgid "Night"
    24142506msgstr ""
    24152507
    2416 #: includes/admin/class-emwc-admin-settings.php:874
     2508#: includes/admin/class-emwc-admin-settings.php:930
    24172509#: includes/class-emwc-google-maps.php:96
    24182510msgid "Aubergine"
    24192511msgstr ""
    24202512
    2421 #: includes/admin/class-emwc-admin-settings.php:884
     2513#: includes/admin/class-emwc-admin-settings.php:940
    24222514msgid "Show map on single event pages"
    24232515msgstr ""
    24242516
    2425 #: includes/admin/class-emwc-admin-settings.php:889
     2517#: includes/admin/class-emwc-admin-settings.php:945
    24262518msgid "Show \"Get Directions\" link below maps"
    24272519msgstr ""
    24282520
    2429 #: includes/admin/class-emwc-admin-settings.php:891
     2521#: includes/admin/class-emwc-admin-settings.php:947
    24302522msgid "Control where and how maps appear on your site."
    24312523msgstr ""
    24322524
    2433 #: includes/admin/class-emwc-admin-settings.php:897
     2525#: includes/admin/class-emwc-admin-settings.php:953
    24342526msgid "Shortcode Usage"
    24352527msgstr ""
    24362528
    2437 #: includes/admin/class-emwc-admin-settings.php:898
     2529#: includes/admin/class-emwc-admin-settings.php:954
    24382530msgid "Display a venue map anywhere on your site using this shortcode:"
    24392531msgstr ""
    24402532
    2441 #: includes/admin/class-emwc-admin-settings.php:903
     2533#: includes/admin/class-emwc-admin-settings.php:959
    24422534msgid "Replace \"123\" with the Venue ID. You can find the ID in the venue edit URL (e.g., post=123)."
    24432535msgstr ""
    24442536
    2445 #: includes/admin/class-emwc-admin-settings.php:915
     2537#: includes/admin/class-emwc-admin-settings.php:971
    24462538#: includes/pdf/class-emwc-pdf-ticket.php:267
    24472539msgid "Present this ticket at the event entrance for check-in."
    24482540msgstr ""
    24492541
    2450 #: includes/admin/class-emwc-admin-settings.php:919
     2542#: includes/admin/class-emwc-admin-settings.php:975
    24512543msgid "Ticket Appearance"
    24522544msgstr ""
    24532545
    2454 #: includes/admin/class-emwc-admin-settings.php:923
     2546#: includes/admin/class-emwc-admin-settings.php:979
    24552547msgid "Primary Color"
    24562548msgstr ""
    24572549
    2458 #: includes/admin/class-emwc-admin-settings.php:924
     2550#: includes/admin/class-emwc-admin-settings.php:980
    24592551msgid "The main brand color used in ticket headers and buttons."
    24602552msgstr ""
    24612553
    2462 #: includes/admin/class-emwc-admin-settings.php:934
     2554#: includes/admin/class-emwc-admin-settings.php:990
    24632555msgid "Ticket Content"
    24642556msgstr ""
    24652557
    2466 #: includes/admin/class-emwc-admin-settings.php:942
     2558#: includes/admin/class-emwc-admin-settings.php:998
    24672559msgid "Show venue address on tickets"
    24682560msgstr ""
    24692561
    2470 #: includes/admin/class-emwc-admin-settings.php:947
     2562#: includes/admin/class-emwc-admin-settings.php:1003
    24712563msgid "Show QR code on tickets"
    24722564msgstr ""
    24732565
    2474 #: includes/admin/class-emwc-admin-settings.php:954
     2566#: includes/admin/class-emwc-admin-settings.php:1010
    24752567msgid "QR Code Images"
    24762568msgstr ""
    24772569
    2478 #: includes/admin/class-emwc-admin-settings.php:955
     2570#: includes/admin/class-emwc-admin-settings.php:1011
    24792571msgid "Where the QR code images on tickets and emails are made."
    24802572msgstr ""
    24812573
    2482 #: includes/admin/class-emwc-admin-settings.php:959
     2574#: includes/admin/class-emwc-admin-settings.php:1015
    24832575msgid "Made on this site (recommended)"
    24842576msgstr ""
    24852577
    2486 #: includes/admin/class-emwc-admin-settings.php:960
     2578#: includes/admin/class-emwc-admin-settings.php:1016
    24872579msgid "QR Server API (api.qrserver.com)"
    24882580msgstr ""
    24892581
    2490 #: includes/admin/class-emwc-admin-settings.php:965
     2582#: includes/admin/class-emwc-admin-settings.php:1021
    24912583msgid "Made on this site keeps ticket codes on your server and works without an outside service. The QR Server API sends each ticket code to api.qrserver.com."
    24922584msgstr ""
    24932585
    2494 #: includes/admin/class-emwc-admin-settings.php:967
     2586#: includes/admin/class-emwc-admin-settings.php:1023
    24952587msgid "Your server has no GD image support, so QR codes use the QR Server API. Ask your host to turn on the PHP GD extension to make them on this site."
    24962588msgstr ""
    24972589
    2498 #: includes/admin/class-emwc-admin-settings.php:975
     2590#: includes/admin/class-emwc-admin-settings.php:1031
    24992591msgid "QR Code Size"
    25002592msgstr ""
    25012593
    2502 #: includes/admin/class-emwc-admin-settings.php:976
     2594#: includes/admin/class-emwc-admin-settings.php:1032
    25032595msgid "Size of the QR code in pixels. Larger codes are easier to scan."
    25042596msgstr ""
    25052597
    2506 #: includes/admin/class-emwc-admin-settings.php:980
     2598#: includes/admin/class-emwc-admin-settings.php:1036
    25072599msgid "Small (100px)"
    25082600msgstr ""
    25092601
    2510 #: includes/admin/class-emwc-admin-settings.php:981
     2602#: includes/admin/class-emwc-admin-settings.php:1037
    25112603msgid "Medium (150px)"
    25122604msgstr ""
    25132605
    2514 #: includes/admin/class-emwc-admin-settings.php:982
     2606#: includes/admin/class-emwc-admin-settings.php:1038
    25152607msgid "Large (200px)"
    25162608msgstr ""
    25172609
    2518 #: includes/admin/class-emwc-admin-settings.php:983
     2610#: includes/admin/class-emwc-admin-settings.php:1039
    25192611msgid "Extra Large (250px)"
    25202612msgstr ""
    25212613
    2522 #: includes/admin/class-emwc-admin-settings.php:989
     2614#: includes/admin/class-emwc-admin-settings.php:1045
    25232615msgid "Footer Text"
    25242616msgstr ""
    25252617
    2526 #: includes/admin/class-emwc-admin-settings.php:990
     2618#: includes/admin/class-emwc-admin-settings.php:1046
    25272619msgid "Custom text to display at the bottom of tickets."
    25282620msgstr ""
    25292621
    2530 #: includes/admin/class-emwc-admin-settings.php:999
     2622#: includes/admin/class-emwc-admin-settings.php:1055
    25312623msgid "Tickets are generated as printable HTML pages. Users can use their browser's print function to save as PDF."
    25322624msgstr ""
    25332625
    2534 #: includes/admin/class-emwc-admin-settings.php:1015
     2626#: includes/admin/class-emwc-admin-settings.php:1071
    25352627msgid "Email sender"
    25362628msgstr ""
    25372629
    2538 #: includes/admin/class-emwc-admin-settings.php:1016
     2630#: includes/admin/class-emwc-admin-settings.php:1072
    25392631msgid "Used only for emails Evenzo sends: tickets, registration, reminders, event updates and waitlist notices. WooCommerce's own emails keep their sender. Leave a field empty to use the WooCommerce sender."
    25402632msgstr ""
    25412633
    2542 #: includes/admin/class-emwc-admin-settings.php:1020
     2634#: includes/admin/class-emwc-admin-settings.php:1076
    25432635msgid "\"From\" name"
    25442636msgstr ""
    25452637
    2546 #: includes/admin/class-emwc-admin-settings.php:1021
     2638#: includes/admin/class-emwc-admin-settings.php:1077
    25472639msgid "The name that appears in the \"From\" field of Evenzo emails."
    25482640msgstr ""
    25492641
    2550 #: includes/admin/class-emwc-admin-settings.php:1029
     2642#: includes/admin/class-emwc-admin-settings.php:1085
    25512643msgid "\"From\" address"
    25522644msgstr ""
    25532645
    2554 #: includes/admin/class-emwc-admin-settings.php:1030
     2646#: includes/admin/class-emwc-admin-settings.php:1086
    25552647msgid "The address Evenzo emails are sent from. Replies go to this address."
    25562648msgstr ""
    25572649
    2558 #: includes/admin/class-emwc-admin-settings.php:1038
     2650#: includes/admin/class-emwc-admin-settings.php:1094
    25592651msgid "Email notifications"
    25602652msgstr ""
    25612653
    2562 #: includes/admin/class-emwc-admin-settings.php:1041
     2654#: includes/admin/class-emwc-admin-settings.php:1097
    25632655msgid "Attendee tickets"
    25642656msgstr ""
    25652657
    2566 #: includes/admin/class-emwc-admin-settings.php:1046
     2658#: includes/admin/class-emwc-admin-settings.php:1102
    25672659msgid "Also email each attendee their own ticket"
    25682660msgstr ""
    25692661
    2570 #: includes/admin/class-emwc-admin-settings.php:1048
     2662#: includes/admin/class-emwc-admin-settings.php:1104
    25712663msgid "The buyer still gets every ticket. Attendees who share the buyer's email get no extra copy."
    25722664msgstr ""
    25732665
    2574 #: includes/admin/class-emwc-admin-settings.php:1055
     2666#: includes/admin/class-emwc-admin-settings.php:1111
    25752667msgid "Turn each Evenzo email on or off, edit its subject and text, and set how many days before the event the reminder goes out in WooCommerce > Settings > Emails."
    25762668msgstr ""
    25772669
    2578 #: includes/admin/class-emwc-admin-settings.php:1059
     2670#: includes/admin/class-emwc-admin-settings.php:1115
    25792671msgid "Manage emails in WooCommerce"
    25802672msgstr ""
    25812673
    2582 #: includes/admin/class-emwc-admin-settings.php:1082
     2674#: includes/admin/class-emwc-admin-settings.php:1138
    25832675msgid "Feature Toggles"
    25842676msgstr ""
    25852677
    2586 #: includes/admin/class-emwc-admin-settings.php:1084
     2678#: includes/admin/class-emwc-admin-settings.php:1140
    25872679msgid "Enable or disable optional features based on your needs."
    25882680msgstr ""
    25892681
    2590 #: includes/admin/class-emwc-admin-settings.php:1088
     2682#: includes/admin/class-emwc-admin-settings.php:1144
    25912683msgid "Seating Charts"
    25922684msgstr ""
    25932685
    2594 #: includes/admin/class-emwc-admin-settings.php:1093
     2686#: includes/admin/class-emwc-admin-settings.php:1149
    25952687msgid "Enable seating chart management"
    25962688msgstr ""
    25972689
    2598 #: includes/admin/class-emwc-admin-settings.php:1095
     2690#: includes/admin/class-emwc-admin-settings.php:1151
    25992691msgid "Allows configuring seating charts for venues and lets attendees select specific seats during registration. Seat information will appear on tickets."
    26002692msgstr ""
    26012693
    2602 #: includes/admin/class-emwc-admin-settings.php:1100
     2694#: includes/admin/class-emwc-admin-settings.php:1156
    26032695msgid "Speakers/Presenters"
    26042696msgstr ""
    26052697
    2606 #: includes/admin/class-emwc-admin-settings.php:1105
     2698#: includes/admin/class-emwc-admin-settings.php:1161
    26072699msgid "Enable speaker management"
    26082700msgstr ""
    26092701
    2610 #: includes/admin/class-emwc-admin-settings.php:1107
     2702#: includes/admin/class-emwc-admin-settings.php:1163
    26112703msgid "Allows adding speakers/presenters to events and displaying them on the event page."
    26122704msgstr ""
    26132705
    2614 #: includes/admin/class-emwc-admin-settings.php:1113
     2706#: includes/admin/class-emwc-admin-settings.php:1169
    26152707msgid "API Options"
    26162708msgstr ""
    26172709
    2618 #: includes/admin/class-emwc-admin-settings.php:1116
     2710#: includes/admin/class-emwc-admin-settings.php:1172
    26192711msgid "REST API"
    26202712msgstr ""
    26212713
    2622 #: includes/admin/class-emwc-admin-settings.php:1121
     2714#: includes/admin/class-emwc-admin-settings.php:1177
    26232715msgid "Enable REST API endpoints"
    26242716msgstr ""
    26252717
    2626 #: includes/admin/class-emwc-admin-settings.php:1123
     2718#: includes/admin/class-emwc-admin-settings.php:1179
    26272719msgid "Allows external applications (mobile apps, third-party services) to access event data."
    26282720msgstr ""
    26292721
    2630 #: includes/admin/class-emwc-admin-settings.php:1128
     2722#: includes/admin/class-emwc-admin-settings.php:1184
    26312723msgid "Webhooks"
    26322724msgstr ""
    26332725
    2634 #: includes/admin/class-emwc-admin-settings.php:1133
     2726#: includes/admin/class-emwc-admin-settings.php:1189
    26352727msgid "Enable webhook notifications"
    26362728msgstr ""
    26372729
    2638 #: includes/admin/class-emwc-admin-settings.php:1135
     2730#: includes/admin/class-emwc-admin-settings.php:1191
    26392731msgid "Send notifications to external URLs when events occur (new registration, check-in, etc.)."
    26402732msgstr ""
    26412733
    2642 #: includes/admin/class-emwc-admin-settings.php:1140
     2734#: includes/admin/class-emwc-admin-settings.php:1196
    26432735msgid "Calendar Export"
    26442736msgstr ""
    26452737
    2646 #: includes/admin/class-emwc-admin-settings.php:1145
     2738#: includes/admin/class-emwc-admin-settings.php:1201
    26472739msgid "Enable iCal/ICS export for events"
    26482740msgstr ""
    26492741
    2650 #: includes/admin/class-emwc-admin-settings.php:1147
     2742#: includes/admin/class-emwc-admin-settings.php:1203
    26512743msgid "Allow users to add events to their calendar apps (Google Calendar, Apple Calendar, Outlook)."
    26522744msgstr ""
    26532745
    2654 #: includes/admin/class-emwc-admin-settings.php:1151
     2746#: includes/admin/class-emwc-admin-settings.php:1207
    26552747msgid "Calendar Feed URL:"
    26562748msgstr ""
    26572749
    2658 #: includes/admin/class-emwc-admin-settings.php:1157
     2750#: includes/admin/class-emwc-admin-settings.php:1213
    26592751msgid "Users can subscribe to this URL in their calendar app to automatically receive updates."
    26602752msgstr ""
    26612753
    2662 #: includes/admin/class-emwc-admin-settings.php:1166
     2754#: includes/admin/class-emwc-admin-settings.php:1222
    26632755msgid "Data Management"
    26642756msgstr ""
    26652757
    2666 #: includes/admin/class-emwc-admin-settings.php:1170
     2758#: includes/admin/class-emwc-admin-settings.php:1226
    26672759msgid "Attendee Data Retention"
    26682760msgstr ""
    26692761
    2670 #: includes/admin/class-emwc-admin-settings.php:1171
     2762#: includes/admin/class-emwc-admin-settings.php:1227
    26712763msgid "Automatically delete attendee data after a specified number of days. Helps with GDPR compliance."
    26722764msgstr ""
    26732765
    2674 #: includes/admin/class-emwc-admin-settings.php:1175
     2766#: includes/admin/class-emwc-admin-settings.php:1231
    26752767msgid "days after event ends (empty = keep forever)"
    26762768msgstr ""
    26772769
    2678 #: includes/admin/class-emwc-admin-settings.php:1180
     2770#: includes/admin/class-emwc-admin-settings.php:1236
    26792771msgid "Max Recurring Instances"
    26802772msgstr ""
    26812773
    2682 #: includes/admin/class-emwc-admin-settings.php:1181
     2774#: includes/admin/class-emwc-admin-settings.php:1237
    26832775msgid "Maximum number of event occurrences to generate for recurring events."
    26842776msgstr ""
    26852777
    2686 #: includes/admin/class-emwc-admin-settings.php:1185
     2778#: includes/admin/class-emwc-admin-settings.php:1241
    26872779msgid "instances (1-365)"
    26882780msgstr ""
    26892781
    2690 #: includes/admin/class-emwc-admin-settings.php:1189
     2782#: includes/admin/class-emwc-admin-settings.php:1245
    26912783msgid "Debug Logging"
    26922784msgstr ""
    26932785
    2694 #: includes/admin/class-emwc-admin-settings.php:1194
     2786#: includes/admin/class-emwc-admin-settings.php:1250
    26952787msgid "Enable debug logging to WooCommerce logs"
    26962788msgstr ""
    26972789
    2698 #: includes/admin/class-emwc-admin-settings.php:1197
     2790#: includes/admin/class-emwc-admin-settings.php:1253
    26992791msgid "When enabled, detailed debug information will be written to:"
    27002792msgstr ""
    27012793
    2702 #: includes/admin/class-emwc-admin-settings.php:1198
     2794#: includes/admin/class-emwc-admin-settings.php:1254
    27032795msgid "WooCommerce > Status > Logs"
    27042796msgstr ""
    27052797
    2706 #: includes/admin/class-emwc-admin-settings.php:1201
     2798#: includes/admin/class-emwc-admin-settings.php:1257
    27072799msgid "Logs: event operations, attendee registrations, check-ins, email delivery, webhooks, API requests, and pricing calculations."
    27082800msgstr ""
    27092801
    2710 #: includes/admin/class-emwc-admin-settings.php:1207
     2802#: includes/admin/class-emwc-admin-settings.php:1263
    27112803msgid "Uninstall Behavior"
    27122804msgstr ""
    27132805
    2714 #: includes/admin/class-emwc-admin-settings.php:1212
     2806#: includes/admin/class-emwc-admin-settings.php:1268
    27152807msgid "Delete all plugin data when uninstalling"
    27162808msgstr ""
    27172809
    2718 #: includes/admin/class-emwc-admin-settings.php:1216
     2810#: includes/admin/class-emwc-admin-settings.php:1272
    27192811msgid "Warning: This will permanently delete all events, attendees, tickets, and settings when the plugin is deleted."
    27202812msgstr ""
    27212813
    2722 #: includes/admin/class-emwc-admin-settings.php:1223
     2814#: includes/admin/class-emwc-admin-settings.php:1279
    27232815msgid "System Status"
    27242816msgstr ""
    27252817
    2726 #: includes/admin/class-emwc-admin-settings.php:1227
     2818#: includes/admin/class-emwc-admin-settings.php:1283
    27272819msgid "Plugin Version"
    27282820msgstr ""
    27292821
    2730 #: includes/admin/class-emwc-admin-settings.php:1231
     2822#: includes/admin/class-emwc-admin-settings.php:1287
    27312823msgid "WordPress Version"
    27322824msgstr ""
    27332825
    2734 #: includes/admin/class-emwc-admin-settings.php:1235
     2826#: includes/admin/class-emwc-admin-settings.php:1291
    27352827msgid "WooCommerce Version"
    27362828msgstr ""
    27372829
    2738 #: includes/admin/class-emwc-admin-settings.php:1236
     2830#: includes/admin/class-emwc-admin-settings.php:1292
    27392831msgid "Not Installed"
    27402832msgstr ""
    27412833
    2742 #: includes/admin/class-emwc-admin-settings.php:1239
     2834#: includes/admin/class-emwc-admin-settings.php:1295
    27432835msgid "PHP Version"
    27442836msgstr ""
    27452837
    2746 #: includes/admin/class-emwc-admin-settings.php:1243
     2838#: includes/admin/class-emwc-admin-settings.php:1299
    27472839msgid "Debug Mode"
    27482840msgstr ""
    27492841
    2750 #: includes/admin/class-emwc-admin-settings.php:1247
     2842#: includes/admin/class-emwc-admin-settings.php:1303
    27512843msgid "Enabled"
    27522844msgstr ""
    27532845
    2754 #: includes/admin/class-emwc-admin-settings.php:1248
     2846#: includes/admin/class-emwc-admin-settings.php:1304
    27552847msgid "View Logs"
    27562848msgstr ""
    27572849
    2758 #: includes/admin/class-emwc-admin-settings.php:1251
     2850#: includes/admin/class-emwc-admin-settings.php:1307
    27592851msgid "Disabled"
    27602852msgstr ""
    27612853
    2762 #: includes/admin/class-emwc-admin-settings.php:1263
     2854#: includes/admin/class-emwc-admin-settings.php:1319
    27632855msgid "Configured"
    27642856msgstr ""
    27652857
    2766 #: includes/admin/class-emwc-admin-settings.php:1266
     2858#: includes/admin/class-emwc-admin-settings.php:1322
    27672859msgid "Not Configured"
    27682860msgstr ""
    27692861
    2770 #: includes/admin/class-emwc-admin-settings.php:1267
     2862#: includes/admin/class-emwc-admin-settings.php:1323
    27712863msgid "Configure"
    27722864msgstr ""
    27732865
    2774 #: includes/admin/class-emwc-admin.php:73
     2866#: includes/admin/class-emwc-admin.php:74
    27752867msgid "Capacity Warning:"
    27762868msgstr ""
    27772869
    27782870#. translators: %s: date
    2779 #: includes/admin/class-emwc-admin.php:224
     2871#: includes/admin/class-emwc-admin.php:256
    27802872#, php-format
    27812873msgid "Ticket sales for this event are closed because the Sales End date (%s) has passed. Change Sales End in the Event Settings box and update the event to reopen sales."
    … …  
    27832875
    27842876#. translators: %s: date
    2785 #: includes/admin/class-emwc-admin.php:232
     2877#: includes/admin/class-emwc-admin.php:264
    27862878#, php-format
    27872879msgid "Ticket sales for this event are closed because the registration deadline (%s) has passed. Change the Registration Deadline in the Event Settings box and update the event to reopen sales."
    27882880msgstr ""
    27892881
    2790 #: includes/admin/class-emwc-admin.php:237
     2882#: includes/admin/class-emwc-admin.php:269
    27912883msgid "Ticket sales for this event are closed because the sales end date on its ticket products has passed. Change it on the Event Ticket tab of each ticket product to reopen sales."
    27922884msgstr ""
    27932885
    27942886#. translators: %d: number of events trashed
    2795 #: includes/admin/class-emwc-admin.php:315
     2887#: includes/admin/class-emwc-admin.php:347
    27962888#, php-format
    27972889msgid "Moved %d duplicate events to the trash."
    … …  
    27992891
    28002892#. translators: %d: number of duplicate events found
    2801 #: includes/admin/class-emwc-admin.php:333
     2893#: includes/admin/class-emwc-admin.php:365
    28022894#, php-format
    28032895msgid "Evenzo found %d duplicate events created by a recurring event bug in version 1.0.2 or earlier. They have no tickets."
    28042896msgstr ""
    28052897
    2806 #: includes/admin/class-emwc-admin.php:341
     2898#: includes/admin/class-emwc-admin.php:373
    28072899msgid "Move them to trash"
    28082900msgstr ""
    28092901
    2810 #: includes/admin/class-emwc-admin.php:360
     2902#: includes/admin/class-emwc-admin.php:392
    28112903msgid "You do not have permission to do this."
    28122904msgstr ""
    28132905
    2814 #: includes/admin/class-emwc-admin.php:400
     2906#: includes/admin/class-emwc-admin.php:432
    28152907#: includes/blocks/class-emwc-blocks.php:61
    28162908msgid "Events Manager"
    28172909msgstr ""
    28182910
    2819 #: includes/admin/class-emwc-admin.php:412
    2820 #: includes/admin/class-emwc-admin.php:413
     2911#: includes/admin/class-emwc-admin.php:444
     2912#: includes/admin/class-emwc-admin.php:445
    28212913msgid "Overview"
    28222914msgstr ""
    28232915
    2824 #: includes/admin/class-emwc-admin.php:442
    2825 #: includes/admin/class-emwc-admin.php:443
     2916#: includes/admin/class-emwc-admin.php:474
     2917#: includes/admin/class-emwc-admin.php:475
    28262918msgid "Add Booking"
    28272919msgstr ""
    28282920
    2829 #: includes/admin/class-emwc-admin.php:477
     2921#: includes/admin/class-emwc-admin.php:509
    28302922#: includes/frontend/class-emwc-widgets.php:389
    28312923msgid "Event Categories"
    28322924msgstr ""
    28332925
    2834 #: includes/admin/class-emwc-admin.php:484
     2926#: includes/admin/class-emwc-admin.php:516
    28352927msgid "Speaker Categories"
    28362928msgstr ""
    28372929
    2838 #: includes/admin/class-emwc-admin.php:602
     2930#: includes/admin/class-emwc-admin.php:634
    28392931msgid "Are you sure you want to delete this?"
    28402932msgstr ""
    28412933
    2842 #: includes/admin/class-emwc-admin.php:603
     2934#: includes/admin/class-emwc-admin.php:635
    28432935msgid "Saving..."
    28442936msgstr ""
    28452937
    2846 #: includes/admin/class-emwc-admin.php:604
     2938#: includes/admin/class-emwc-admin.php:636
    28472939msgid "Saved!"
    28482940msgstr ""
    28492941
    2850 #: includes/admin/class-emwc-admin.php:605
     2942#: includes/admin/class-emwc-admin.php:637
    28512943#: includes/waitlist/class-emwc-waitlist.php:277
    28522944msgid "An error occurred. Please try again."
    28532945msgstr ""
    28542946
    2855 #: includes/admin/class-emwc-admin.php:606
     2947#: includes/admin/class-emwc-admin.php:638
    28562948msgid "Select timezone..."
    28572949msgstr ""
    28582950
    2859 #: includes/admin/class-emwc-admin.php:607
     2951#: includes/admin/class-emwc-admin.php:639
    28602952msgid "Search speakers..."
    28612953msgstr ""
    28622954
    2863 #: includes/admin/class-emwc-admin.php:609
    2864 #: includes/woocommerce/class-emwc-wc-integration.php:1056
     2955#: includes/admin/class-emwc-admin.php:641
     2956#: includes/woocommerce/class-emwc-wc-integration.php:1135
    28652957msgid "At least one field is required."
    28662958msgstr ""
    28672959
    2868 #: includes/admin/class-emwc-admin.php:610
     2960#: includes/admin/class-emwc-admin.php:642
    28692961#: includes/api/class-emwc-rest-calendar-controller.php:232
    28702962msgid "End date must be after start date."
    28712963msgstr ""
    28722964
    2873 #: includes/admin/class-emwc-admin.php:612
     2965#: includes/admin/class-emwc-admin.php:644
    28742966msgid "week(s)"
    28752967msgstr ""
    28762968
    2877 #: includes/admin/class-emwc-admin.php:613
     2969#: includes/admin/class-emwc-admin.php:645
    28782970msgid "month(s)"
    28792971msgstr ""
    28802972
    2881 #: includes/admin/class-emwc-admin.php:614
     2973#: includes/admin/class-emwc-admin.php:646
    28822974msgid "year(s)"
    28832975msgstr ""
    28842976
    2885 #: includes/admin/class-emwc-admin.php:615
    2886 #: includes/woocommerce/class-emwc-wc-integration.php:606
    2887 #: includes/woocommerce/class-emwc-wc-integration.php:872
     2977#: includes/admin/class-emwc-admin.php:647
     2978#: includes/woocommerce/class-emwc-wc-integration.php:611
     2979#: includes/woocommerce/class-emwc-wc-integration.php:926
    28882980msgid "Text"
    28892981msgstr ""
    28902982
    2891 #: includes/admin/class-emwc-admin.php:618
    2892 #: includes/woocommerce/class-emwc-wc-integration.php:609
    2893 #: includes/woocommerce/class-emwc-wc-integration.php:875
     2983#: includes/admin/class-emwc-admin.php:650
     2984#: includes/woocommerce/class-emwc-wc-integration.php:614
     2985#: includes/woocommerce/class-emwc-wc-integration.php:929
    28942986msgid "Textarea"
    28952987msgstr ""
    28962988
    2897 #: includes/admin/class-emwc-admin.php:719
     2989#: includes/admin/class-emwc-admin.php:751
    28982990msgid "Events Overview"
    28992991msgstr ""
    29002992
    2901 #: includes/admin/class-emwc-admin.php:720
     2993#: includes/admin/class-emwc-admin.php:752
    29022994#: includes/core/class-emwc-post-types.php:65
    29032995msgid "Add New Event"
    29042996msgstr ""
    29052997
    2906 #: includes/admin/class-emwc-admin.php:721
     2998#: includes/admin/class-emwc-admin.php:753
    29072999msgid "Add Venue"
    29083000msgstr ""
    29093001
    2910 #: includes/admin/class-emwc-admin.php:732
     3002#: includes/admin/class-emwc-admin.php:764
    29113003msgid "Total Events"
    29123004msgstr ""
    29133005
    2914 #: includes/admin/class-emwc-admin.php:753
     3006#: includes/admin/class-emwc-admin.php:785
    29153007msgid "Tickets Sold"
    29163008msgstr ""
    29173009
    2918 #: includes/admin/class-emwc-admin.php:760
     3010#: includes/admin/class-emwc-admin.php:792
    29193011msgid "Check-in Rate"
    29203012msgstr ""
    29213013
    2922 #: includes/admin/class-emwc-admin.php:769
     3014#: includes/admin/class-emwc-admin.php:801
    29233015msgid "Registrations (Last 14 Days)"
    29243016msgstr ""
    29253017
    2926 #: includes/admin/class-emwc-admin.php:778
     3018#: includes/admin/class-emwc-admin.php:810
    29273019#: includes/frontend/class-emwc-widgets.php:137
    29283020msgid "Upcoming Events"
    29293021msgstr ""
    29303022
    2931 #: includes/admin/class-emwc-admin.php:780
     3023#: includes/admin/class-emwc-admin.php:812
    29323024msgid "No upcoming events scheduled."
    29333025msgstr ""
    29343026
    2935 #: includes/admin/class-emwc-admin.php:801
     3027#: includes/admin/class-emwc-admin.php:833
    29363028msgid "View All Events →"
    29373029msgstr ""
    29383030
    2939 #: includes/admin/class-emwc-admin.php:806
     3031#: includes/admin/class-emwc-admin.php:838
    29403032msgid "Recent Registrations"
    29413033msgstr ""
    29423034
    2943 #: includes/admin/class-emwc-admin.php:808
     3035#: includes/admin/class-emwc-admin.php:840
    29443036msgid "No registrations yet."
    29453037msgstr ""
    29463038
    2947 #: includes/admin/class-emwc-admin.php:815
    2948 #: templates/single-emwc_event.php:150
    2949 #: templates/single-emwc_event.php:158
     3039#: includes/admin/class-emwc-admin.php:847
     3040#: templates/single-emwc_event.php:154
     3041#: templates/single-emwc_event.php:162
    29503042msgid "When"
    29513043msgstr ""
    29523044
    2953 #: includes/admin/class-emwc-admin.php:829
     3045#: includes/admin/class-emwc-admin.php:861
    29543046msgid "View All Attendees →"
    29553047msgstr ""
    29563048
    2957 #: includes/admin/class-emwc-admin.php:871
     3049#: includes/admin/class-emwc-admin.php:903
    29583050msgid "Registrations"
    29593051msgstr ""
    29603052
    2961 #: includes/admin/class-emwc-admin.php:1008
     3053#: includes/admin/class-emwc-admin.php:1040
    29623054msgid "ago"
    29633055msgstr ""
    … …  
    30043096msgstr ""
    30053097
    3006 #: includes/api/class-emwc-rest-attendees-controller.php:423
     3098#: includes/api/class-emwc-rest-attendees-controller.php:437
    30073099msgid "Filter by event ID."
    30083100msgstr ""
    30093101
    3010 #: includes/api/class-emwc-rest-attendees-controller.php:428
     3102#: includes/api/class-emwc-rest-attendees-controller.php:442
    30113103msgid "Filter by recurring series: attendees of every date of this series parent."
    30123104msgstr ""
    30133105
    3014 #: includes/api/class-emwc-rest-attendees-controller.php:433
     3106#: includes/api/class-emwc-rest-attendees-controller.php:447
    30153107msgid "Filter by order ID."
    30163108msgstr ""
    30173109
    3018 #: includes/api/class-emwc-rest-attendees-controller.php:497
     3110#: includes/api/class-emwc-rest-attendees-controller.php:511
    30193111msgid "Start of the attendee's event or series date, ISO 8601 with offset."
    30203112msgstr ""
    30213113
    3022 #: includes/api/class-emwc-rest-attendees-controller.php:503
     3114#: includes/api/class-emwc-rest-attendees-controller.php:517
    30233115msgid "Recurring series parent ID, or 0 when the event is not part of a series."
    30243116msgstr ""
    … …  
    35053597
    35063598#: includes/blocks/class-emwc-blocks.php:359
    3507 #: includes/woocommerce/class-emwc-wc-integration.php:629
     3599#: includes/woocommerce/class-emwc-wc-integration.php:634
    35083600msgid "Select an event..."
    35093601msgstr ""
    … …  
    35263618
    35273619#: includes/blocks/event-countdown/render.php:103
    3528 #: templates/single-emwc_event.php:691
     3620#: templates/single-emwc_event.php:695
    35293621msgid "This event has been cancelled."
    35303622msgstr ""
    35313623
    35323624#: includes/blocks/event-countdown/render.php:116
    3533 #: includes/woocommerce/class-emwc-wc-integration.php:2098
    3534 #: includes/woocommerce/class-emwc-wc-integration.php:2113
    3535 #: templates/single-emwc_event.php:481
    3536 #: templates/single-emwc_event.php:505
    3537 #: templates/single-emwc_event.php:569
    3538 #: templates/single-emwc_event.php:591
     3625#: includes/woocommerce/class-emwc-wc-integration.php:2312
     3626#: includes/woocommerce/class-emwc-wc-integration.php:2327
     3627#: templates/single-emwc_event.php:485
     3628#: templates/single-emwc_event.php:509
     3629#: templates/single-emwc_event.php:573
     3630#: templates/single-emwc_event.php:595
    35393631msgid "Days"
    35403632msgstr ""
    35413633
    35423634#: includes/blocks/event-countdown/render.php:123
    3543 #: includes/woocommerce/class-emwc-wc-integration.php:2099
    3544 #: includes/woocommerce/class-emwc-wc-integration.php:2114
     3635#: includes/woocommerce/class-emwc-wc-integration.php:2313
     3636#: includes/woocommerce/class-emwc-wc-integration.php:2328
    35453637msgid "Hours"
    35463638msgstr ""
    … …  
    36233715
    36243716#: includes/class-emwc-google-maps.php:435
    3625 #: templates/single-emwc_event.php:347
     3717#: templates/single-emwc_event.php:351
    36263718msgid "Get Directions"
    36273719msgstr ""
    … …  
    36383730#: templates/emails/registration-confirmation.php:72
    36393731#: templates/emails/ticket-delivery.php:88
    3640 #: templates/single-emwc_event.php:297
     3732#: templates/single-emwc_event.php:301
    36413733msgid "Location"
    36423734msgstr ""
    … …  
    37833875msgstr ""
    37843876
    3785 #: includes/class-emwc.php:460
     3877#: includes/class-emwc.php:465
    37863878msgid "Cloning is forbidden."
    37873879msgstr ""
    37883880
    3789 #: includes/class-emwc.php:471
     3881#: includes/class-emwc.php:476
    37903882msgid "Unserializing instances of this class is forbidden."
    37913883msgstr ""
    … …  
    37943886#: includes/core/class-emwc-attendee-fields.php:331
    37953887#: includes/export/class-emwc-attendee-export.php:206
    3796 #: includes/woocommerce/class-emwc-wc-integration.php:582
    3797 #: includes/woocommerce/class-emwc-wc-integration.php:851
     3888#: includes/woocommerce/class-emwc-wc-integration.php:587
     3889#: includes/woocommerce/class-emwc-wc-integration.php:905
    37983890#: assets/js/emwc-block-checkout.js:118
    37993891msgid "First Name"
    … …  
    38033895#: includes/core/class-emwc-attendee-fields.php:333
    38043896#: includes/export/class-emwc-attendee-export.php:207
    3805 #: includes/woocommerce/class-emwc-wc-integration.php:589
    3806 #: includes/woocommerce/class-emwc-wc-integration.php:857
     3897#: includes/woocommerce/class-emwc-wc-integration.php:594
     3898#: includes/woocommerce/class-emwc-wc-integration.php:911
    38073899#: assets/js/emwc-block-checkout.js:119
    38083900msgid "Last Name"
    … …  
    43924484
    43934485#: includes/core/class-emwc-qr-code.php:450
    4394 #: includes/woocommerce/class-emwc-wc-my-account.php:225
     4486#: includes/woocommerce/class-emwc-wc-my-account.php:243
    43954487#: templates/emails/ticket-delivery.php:40
    43964488msgid "Ticket QR Code"
    … …  
    43984490
    43994491#: includes/core/class-emwc-qr-code.php:452
    4400 #: includes/woocommerce/class-emwc-wc-my-account.php:227
     4492#: includes/woocommerce/class-emwc-wc-my-account.php:245
    44014493#: templates/emails/plain/admin-new-registration.php:38
    44024494#: templates/emails/plain/registration-confirmation.php:66
    … …  
    44054497
    44064498#: includes/core/class-emwc-qr-code.php:456
    4407 #: includes/woocommerce/class-emwc-wc-my-account.php:230
     4499#: includes/woocommerce/class-emwc-wc-my-account.php:248
    44084500#: templates/emails/ticket-delivery.php:49
    44094501msgid "Present this QR code at the event for check-in."
    … …  
    45474639msgstr ""
    45484640
     4641#: includes/core/class-emwc-ticket-cancellation.php:70
     4642#: includes/core/class-emwc-ticket-transfer.php:104
     4643msgid "This ticket was not found."
     4644msgstr ""
     4645
     4646#: includes/core/class-emwc-ticket-cancellation.php:73
     4647#: includes/core/class-emwc-ticket-cancellation.php:89
     4648msgid "This ticket is already cancelled."
     4649msgstr ""
     4650
     4651#: includes/core/class-emwc-ticket-cancellation.php:110
     4652#: includes/core/class-emwc-ticket-cancellation.php:190
     4653#: includes/core/class-emwc-ticket-cancellation.php:210
     4654msgid "This ticket can't be cancelled."
     4655msgstr ""
     4656
     4657#: includes/core/class-emwc-ticket-cancellation.php:211
     4658msgid "The cancellation deadline for this ticket has passed."
     4659msgstr ""
     4660
     4661#: includes/core/class-emwc-ticket-cancellation.php:319
     4662msgid "Please log in to cancel a ticket."
     4663msgstr ""
     4664
     4665#: includes/core/class-emwc-ticket-cancellation.php:321
     4666#: includes/core/class-emwc-ticket-transfer.php:464
     4667msgid "This request expired. Please try again."
     4668msgstr ""
     4669
     4670#. translators: %s: event name
     4671#: includes/core/class-emwc-ticket-cancellation.php:343
     4672#, php-format
     4673msgid "Your ticket for %s is cancelled."
     4674msgstr ""
     4675
     4676#: includes/core/class-emwc-ticket-cancellation.php:378
     4677msgid "Only a cancelled ticket can be reactivated."
     4678msgstr ""
     4679
     4680#: includes/core/class-emwc-ticket-cancellation.php:383
     4681msgid "Not reactivated: the event is full."
     4682msgstr ""
     4683
     4684#: includes/core/class-emwc-ticket-cancellation.php:387
     4685msgid "This ticket changed while you were reactivating it. Reload the page and try again."
     4686msgstr ""
     4687
     4688#: includes/core/class-emwc-ticket-cancellation.php:651
     4689msgid "the customer"
     4690msgstr ""
     4691
     4692#: includes/core/class-emwc-ticket-cancellation.php:654
     4693msgid "an administrator"
     4694msgstr ""
     4695
     4696#. translators: 1: ticket code, 2: attendee name, 3: who cancelled it
     4697#: includes/core/class-emwc-ticket-cancellation.php:660
     4698#, php-format
     4699msgid "Ticket %1$s for %2$s cancelled by %3$s."
     4700msgstr ""
     4701
     4702#: includes/core/class-emwc-ticket-transfer.php:62
     4703#: includes/core/class-emwc-ticket-transfer.php:81
     4704#: includes/core/class-emwc-ticket-transfer.php:107
     4705#: includes/core/class-emwc-ticket-transfer.php:153
     4706msgid "This ticket can't be transferred."
     4707msgstr ""
     4708
     4709#: includes/core/class-emwc-ticket-transfer.php:63
     4710msgid "The transfer deadline for this ticket has passed."
     4711msgstr ""
     4712
     4713#: includes/core/class-emwc-ticket-transfer.php:158
     4714msgid "The ticket could not be transferred. Please try again."
     4715msgstr ""
     4716
     4717#: includes/core/class-emwc-ticket-transfer.php:190
     4718msgid "This ticket changed while you were transferring it. Reload the page and try again."
     4719msgstr ""
     4720
     4721#. translators: 1: old holder name, 2: new holder name, 3: new email, 4: old ticket code, 5: new ticket code
     4722#: includes/core/class-emwc-ticket-transfer.php:205
     4723#, php-format
     4724msgid "Ticket for %1$s transferred to %2$s (%3$s). Old ticket code %4$s no longer works; the new code is %5$s."
     4725msgstr ""
     4726
     4727#: includes/core/class-emwc-ticket-transfer.php:213
     4728msgid "The old holder's custom field answers were cleared."
     4729msgstr ""
     4730
     4731#: includes/core/class-emwc-ticket-transfer.php:258
     4732msgid "Enter the first and last name of the person getting the ticket."
     4733msgstr ""
     4734
     4735#: includes/core/class-emwc-ticket-transfer.php:261
     4736msgid "That name is too long."
     4737msgstr ""
     4738
     4739#: includes/core/class-emwc-ticket-transfer.php:264
     4740msgid "Enter a valid email address for the person getting the ticket."
     4741msgstr ""
     4742
     4743#: includes/core/class-emwc-ticket-transfer.php:335
     4744msgid "This ticket has been transferred as many times as is allowed."
     4745msgstr ""
     4746
     4747#: includes/core/class-emwc-ticket-transfer.php:339
     4748msgid "You've reached the transfer limit for now. Try again later."
     4749msgstr ""
     4750
     4751#: includes/core/class-emwc-ticket-transfer.php:462
     4752msgid "Please log in to transfer a ticket."
     4753msgstr ""
     4754
     4755#. translators: 1: event name, 2: name of the person getting the ticket
     4756#: includes/core/class-emwc-ticket-transfer.php:496
     4757#, php-format
     4758msgid "Your ticket for %1$s was transferred to %2$s. The old ticket code no longer works."
     4759msgstr ""
     4760
     4761#: includes/core/class-emwc-ticket-transfer.php:531
     4762msgid "Transfer"
     4763msgstr ""
     4764
     4765#: includes/core/class-emwc-ticket-transfer.php:533
     4766msgid "Transfer this ticket? The current ticket code will stop working."
     4767msgstr ""
     4768
     4769#: includes/core/class-emwc-ticket-transfer.php:535
     4770msgid "Who is getting this ticket? They receive it by email."
     4771msgstr ""
     4772
     4773#: includes/core/class-emwc-ticket-transfer.php:549
     4774msgid "Transfer ticket"
     4775msgstr ""
     4776
    45494777#: includes/emails/class-emwc-email-admin-new-registration.php:25
    45504778msgid "New Event Registration (Admin)"
    … …  
    45644792
    45654793#: includes/emails/class-emwc-email-admin-new-registration.php:139
     4794#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:157
    45664795msgid "Recipient(s)"
    45674796msgstr ""
    45684797
    45694798#: includes/emails/class-emwc-email-admin-new-registration.php:141
     4799#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:159
    45704800msgid "Enter recipients (comma separated) for this email. Defaults to admin email."
     4801msgstr ""
     4802
     4803#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:42
     4804msgid "Ticket cancelled (admin)"
     4805msgstr ""
     4806
     4807#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:43
     4808msgid "Sent to the admin when a ticket is cancelled, by the customer or by an administrator."
     4809msgstr ""
     4810
     4811#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:44
     4812msgid "[{site_title}] Ticket cancelled: {event_name}"
     4813msgstr ""
     4814
     4815#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:45
     4816#: includes/emails/class-emwc-email-ticket-cancelled.php:35
     4817msgid "Ticket cancelled"
     4818msgstr ""
     4819
     4820#: includes/emails/class-emwc-email-admin-ticket-cancelled.php:110
     4821msgid "An administrator"
    45714822msgstr ""
    45724823
    … …  
    46414892#: includes/emails/class-emwc-email-registration-confirmation.php:28
    46424893msgid "Registration Confirmed!"
     4894msgstr ""
     4895
     4896#: includes/emails/class-emwc-email-ticket-cancelled.php:36
     4897msgid "Sent to the buyer when a ticket is cancelled, by the customer or by an administrator."
     4898msgstr ""
     4899
     4900#: includes/emails/class-emwc-email-ticket-cancelled.php:37
     4901msgid "Your ticket for {event_name} is cancelled"
     4902msgstr ""
     4903
     4904#: includes/emails/class-emwc-email-ticket-cancelled.php:38
     4905msgid "Your ticket is cancelled"
    46434906msgstr ""
    46444907
    … …  
    46664929#: includes/emails/class-emwc-email.php:279
    46674930#: includes/pdf/class-emwc-pdf-ticket.php:254
    4668 #: includes/woocommerce/class-emwc-wc-integration.php:1616
     4931#: includes/woocommerce/class-emwc-wc-integration.php:1677
    46694932#: templates/emails/event-reminder.php:80
    46704933#: templates/emails/event-update.php:98
    … …  
    46754938#: templates/emails/registration-confirmation.php:86
    46764939#: templates/emails/ticket-delivery.php:102
    4677 #: templates/single-emwc_event.php:216
     4940#: templates/single-emwc_event.php:220
    46784941msgid "Online Event"
    46794942msgstr ""
    … …  
    47184981
    47194982#: includes/export/class-emwc-attendee-export.php:212
    4720 #: includes/woocommerce/class-emwc-wc-order.php:1111
     4983#: includes/woocommerce/class-emwc-wc-order.php:1148
    47214984msgid "Event ID"
    47224985msgstr ""
    … …  
    47274990
    47284991#: includes/export/class-emwc-attendee-export.php:214
    4729 #: includes/woocommerce/class-emwc-wc-order.php:1138
     4992#: includes/woocommerce/class-emwc-wc-order.php:1175
    47304993msgid "Event Date"
    47314994msgstr ""
    … …  
    47364999
    47375000#: includes/export/class-emwc-attendee-export.php:217
    4738 #: includes/woocommerce/class-emwc-wc-order.php:1113
     5001#: includes/woocommerce/class-emwc-wc-order.php:1150
    47395002msgid "Ticket Type"
    47405003msgstr ""
    … …  
    47905053#: includes/seating/class-emwc-seating.php:1404
    47915054#: includes/seating/class-emwc-seating.php:1482
    4792 #: includes/woocommerce/class-emwc-wc-order.php:642
    4793 #: includes/woocommerce/class-emwc-wc-order.php:977
     5055#: includes/woocommerce/class-emwc-wc-order.php:648
     5056#: includes/woocommerce/class-emwc-wc-order.php:1014
    47945057#, php-format
    47955058msgid "%1$s - Row %2$s, Seat %3$s"
    … …  
    48445107
    48455108#: includes/export/class-emwc-csv-export.php:161
    4846 #: templates/single-emwc_event.php:175
    4847 #: templates/single-emwc_event.php:205
     5109#: templates/single-emwc_event.php:179
     5110#: templates/single-emwc_event.php:209
    48485111msgid "All Day"
    48495112msgstr ""
    … …  
    49245187
    49255188#: includes/frontend/class-emwc-shortcodes.php:301
    4926 #: includes/woocommerce/class-emwc-wc-order.php:1178
     5189#: includes/woocommerce/class-emwc-wc-order.php:1215
    49275190#: templates/emails/plain/admin-new-registration.php:48
     5191#: templates/emails/plain/admin-ticket-cancelled.php:37
    49285192#: templates/emails/plain/event-reminder.php:42
    49295193#: templates/emails/plain/event-update.php:55
    49305194#: templates/emails/plain/registration-confirmation.php:44
     5195#: templates/emails/plain/ticket-cancelled.php:44
    49315196#: templates/emails/plain/ticket-delivery.php:53
    49325197msgid "Date:"
    … …  
    58636128
    58646129#: includes/import/tec/class-emwc-tec-importer.php:204
    5865 msgid "Kept: the undo backup on this product cannot be read"
     6130msgid "Kept: the undo backup on this product can't be read"
    58666131msgstr ""
    58676132
    … …  
    59756240
    59766241#: includes/pdf/class-emwc-pdf-ticket.php:209
    5977 #: includes/woocommerce/class-emwc-wc-my-account.php:222
     6242#: includes/woocommerce/class-emwc-wc-my-account.php:240
    59786243msgid "Close"
    59796244msgstr ""
    … …  
    61396404#: includes/seating/class-emwc-seating.php:1828
    61406405#: includes/seating/class-emwc-seating.php:2026
    6141 #: includes/woocommerce/class-emwc-wc-integration.php:2073
     6406#: includes/woocommerce/class-emwc-wc-integration.php:2287
    61426407msgid "Available"
    61436408msgstr ""
    … …  
    61736438#: includes/seating/class-emwc-seating.php:1878
    61746439#: includes/seating/class-emwc-seating.php:1898
    6175 #: includes/woocommerce/class-emwc-wc-integration.php:615
     6440#: includes/woocommerce/class-emwc-wc-integration.php:620
    61766441msgid "None"
    61776442msgstr ""
    … …  
    62616526#: includes/speakers/class-emwc-speaker-post-type.php:43
    62626527#: templates/archive-emwc_speaker.php:22
    6263 #: templates/single-emwc_event.php:394
     6528#: templates/single-emwc_event.php:398
    62646529msgid "Speakers"
    62656530msgstr ""
    … …  
    64656730msgstr ""
    64666731
    6467 #: includes/waitlist/class-emwc-pricing.php:64
     6732#: includes/waitlist/class-emwc-pricing.php:76
    64686733msgid "Dynamic Pricing"
    64696734msgstr ""
    64706735
    6471 #: includes/waitlist/class-emwc-pricing.php:70
     6736#: includes/waitlist/class-emwc-pricing.php:82
    64726737msgid "Enable Early Bird"
    64736738msgstr ""
    64746739
    6475 #: includes/waitlist/class-emwc-pricing.php:71
     6740#: includes/waitlist/class-emwc-pricing.php:83
    64766741msgid "Offer discounted pricing for early registrations."
    64776742msgstr ""
    64786743
    6479 #: includes/waitlist/class-emwc-pricing.php:78
     6744#: includes/waitlist/class-emwc-pricing.php:90
    64806745msgid "Early Bird Discount (%)"
    64816746msgstr ""
    64826747
    6483 #: includes/waitlist/class-emwc-pricing.php:91
     6748#: includes/waitlist/class-emwc-pricing.php:103
    64846749msgid "Early Bird End Date"
    64856750msgstr ""
    64866751
    6487 #: includes/waitlist/class-emwc-pricing.php:93
     6752#: includes/waitlist/class-emwc-pricing.php:105
    64886753msgid "Early bird pricing ends on this date."
    64896754msgstr ""
    64906755
    6491 #: includes/waitlist/class-emwc-pricing.php:103
     6756#: includes/waitlist/class-emwc-pricing.php:115
    64926757msgid "Enable Last Minute"
    64936758msgstr ""
    64946759
    6495 #: includes/waitlist/class-emwc-pricing.php:104
     6760#: includes/waitlist/class-emwc-pricing.php:116
    64966761msgid "Offer discounted pricing close to the event date."
    64976762msgstr ""
    64986763
    6499 #: includes/waitlist/class-emwc-pricing.php:111
     6764#: includes/waitlist/class-emwc-pricing.php:123
    65006765msgid "Last Minute Discount (%)"
    65016766msgstr ""
    65026767
    6503 #: includes/waitlist/class-emwc-pricing.php:124
     6768#: includes/waitlist/class-emwc-pricing.php:136
    65046769msgid "Last Minute Start Date"
    65056770msgstr ""
    65066771
    6507 #: includes/waitlist/class-emwc-pricing.php:126
     6772#: includes/waitlist/class-emwc-pricing.php:138
    65086773msgid "Last minute pricing starts on this date."
    65096774msgstr ""
    65106775
    6511 #: includes/waitlist/class-emwc-pricing.php:136
     6776#: includes/waitlist/class-emwc-pricing.php:148
    65126777msgid "Quantity Discounts"
    65136778msgstr ""
    65146779
    6515 #: includes/waitlist/class-emwc-pricing.php:137
     6780#: includes/waitlist/class-emwc-pricing.php:149
    65166781msgid "Offer discounts based on ticket quantity."
    65176782msgstr ""
    65186783
    6519 #: includes/waitlist/class-emwc-pricing.php:164
     6784#: includes/waitlist/class-emwc-pricing.php:176
    65206785msgid "Quantity Tiers"
    65216786msgstr ""
    65226787
    6523 #: includes/waitlist/class-emwc-pricing.php:168
    6524 #: includes/woocommerce/class-emwc-wc-integration.php:2100
    6525 #: includes/woocommerce/class-emwc-wc-integration.php:2115
    6526 #: templates/single-emwc_event.php:483
    6527 #: templates/single-emwc_event.php:507
    6528 #: templates/single-emwc_event.php:571
    6529 #: templates/single-emwc_event.php:593
     6788#: includes/waitlist/class-emwc-pricing.php:180
     6789#: includes/woocommerce/class-emwc-wc-integration.php:2314
     6790#: includes/woocommerce/class-emwc-wc-integration.php:2329
     6791#: templates/single-emwc_event.php:487
     6792#: templates/single-emwc_event.php:511
     6793#: templates/single-emwc_event.php:575
     6794#: templates/single-emwc_event.php:597
    65306795msgid "Min"
    65316796msgstr ""
    65326797
    6533 #: includes/waitlist/class-emwc-pricing.php:170
     6798#: includes/waitlist/class-emwc-pricing.php:182
    65346799msgid "Max"
    65356800msgstr ""
    65366801
    6537 #: includes/waitlist/class-emwc-pricing.php:186
     6802#: includes/waitlist/class-emwc-pricing.php:198
    65386803msgid "Role-based Pricing"
    65396804msgstr ""
    65406805
    6541 #: includes/waitlist/class-emwc-pricing.php:187
     6806#: includes/waitlist/class-emwc-pricing.php:199
    65426807msgid "Offer different prices based on user role."
    65436808msgstr ""
    65446809
    6545 #: includes/waitlist/class-emwc-pricing.php:200
     6810#: includes/waitlist/class-emwc-pricing.php:212
    65466811msgid "Role Discounts"
    65476812msgstr ""
    65486813
    6549 #: includes/waitlist/class-emwc-pricing.php:623
     6814#. translators: %s: membership level name
     6815#: includes/waitlist/class-emwc-pricing.php:247
     6816#, php-format
     6817msgid "%s (Paid Memberships Pro)"
     6818msgstr ""
     6819
     6820#. translators: %s: membership plan name
     6821#: includes/waitlist/class-emwc-pricing.php:255
     6822#, php-format
     6823msgid "%s (WooCommerce Memberships)"
     6824msgstr ""
     6825
     6826#: includes/waitlist/class-emwc-pricing.php:365
     6827msgid "Member prices"
     6828msgstr ""
     6829
     6830#: includes/waitlist/class-emwc-pricing.php:366
     6831msgid "Offer a price to logged-in members. A membership bought in the same order counts only after the order is paid. A fixed member price applies to every variation."
     6832msgstr ""
     6833
     6834#: includes/waitlist/class-emwc-pricing.php:376
     6835msgid "Member discounts"
     6836msgstr ""
     6837
     6838#: includes/waitlist/class-emwc-pricing.php:386
     6839msgid "% off"
     6840msgstr ""
     6841
     6842#: includes/waitlist/class-emwc-pricing.php:387
     6843msgid "Fixed price"
     6844msgstr ""
     6845
     6846#: includes/waitlist/class-emwc-pricing.php:393
     6847msgid "100% off or a fixed price of 0 makes the ticket free for that membership. When several rules apply, the lowest price wins."
     6848msgstr ""
     6849
     6850#: includes/waitlist/class-emwc-pricing.php:915
    65506851msgid "Early Bird Price"
    65516852msgstr ""
    65526853
    6553 #: includes/waitlist/class-emwc-pricing.php:631
     6854#: includes/waitlist/class-emwc-pricing.php:923
    65546855msgid "Last Minute Price"
    65556856msgstr ""
    65566857
    6557 #: includes/waitlist/class-emwc-pricing.php:637
     6858#: includes/waitlist/class-emwc-pricing.php:929
    65586859msgid "Quantity Discount"
    65596860msgstr ""
    65606861
    6561 #: includes/waitlist/class-emwc-pricing.php:647
     6862#: includes/waitlist/class-emwc-pricing.php:939
     6863#: includes/waitlist/class-emwc-pricing.php:951
    65626864msgid "Member Price"
    65636865msgstr ""
    65646866
    65656867#. translators: %s: discount percentage
    6566 #: includes/waitlist/class-emwc-pricing.php:685
     6868#: includes/waitlist/class-emwc-pricing.php:988
    65676869#, php-format
    65686870msgid "Save %s%%"
    … …  
    66886990
    66896991#. translators: 1: product name, 2: event date
    6690 #: includes/waitlist/class-emwc-waitlist.php:910
     6992#: includes/waitlist/class-emwc-waitlist.php:915
    66916993#, php-format
    66926994msgid "Tickets Now Available - %1$s, %2$s"
    … …  
    66946996
    66956997#. translators: %s: product name
    6696 #: includes/waitlist/class-emwc-waitlist.php:917
     6998#: includes/waitlist/class-emwc-waitlist.php:922
    66976999#, php-format
    66987000msgid "Tickets Now Available - %s"
    … …  
    67027004#. translators: %s: attendee first name
    67037005#. translators: %s: first name of the person the email goes to
    6704 #: includes/waitlist/class-emwc-waitlist.php:924
     7006#. translators: %s: first name of the buyer
     7007#: includes/waitlist/class-emwc-waitlist.php:929
    67057008#: templates/emails/event-cancellation.php:25
    67067009#: templates/emails/event-reminder.php:24
    … …  
    67107013#: templates/emails/plain/event-update.php:23
    67117014#: templates/emails/plain/registration-confirmation.php:23
     7015#: templates/emails/plain/ticket-cancelled.php:27
    67127016#: templates/emails/plain/ticket-delivery.php:25
    67137017#: templates/emails/registration-confirmation.php:25
     7018#: templates/emails/ticket-cancelled.php:34
    67147019#: templates/emails/ticket-delivery.php:27
    67157020#, php-format
    … …  
    67177022msgstr ""
    67187023
    6719 #: includes/waitlist/class-emwc-waitlist.php:925
     7024#: includes/waitlist/class-emwc-waitlist.php:930
    67207025msgid "there"
    67217026msgstr ""
    67227027
    67237028#. translators: 1: product name, 2: event date
    6724 #: includes/waitlist/class-emwc-waitlist.php:931
     7029#: includes/waitlist/class-emwc-waitlist.php:936
    67257030#, php-format
    67267031msgid "Great news! Tickets are now available for %1$s on %2$s."
    … …  
    67287033
    67297034#. translators: %s: product name
    6730 #: includes/waitlist/class-emwc-waitlist.php:938
     7035#: includes/waitlist/class-emwc-waitlist.php:943
    67317036#, php-format
    67327037msgid "Great news! Tickets are now available for %s."
    … …  
    67347039
    67357040#. translators: %s: expiration time
    6736 #: includes/waitlist/class-emwc-waitlist.php:946
     7041#: includes/waitlist/class-emwc-waitlist.php:951
    67377042#, php-format
    67387043msgid "This offer expires at %s. Don't miss out!"
    67397044msgstr ""
    67407045
    6741 #: includes/waitlist/class-emwc-waitlist.php:951
     7046#: includes/waitlist/class-emwc-waitlist.php:956
    67427047msgid "Click here to purchase:"
    67437048msgstr ""
    67447049
    6745 #: includes/waitlist/class-emwc-waitlist.php:954
     7050#: includes/waitlist/class-emwc-waitlist.php:959
    67467051msgid "Thank you!"
    67477052msgstr ""
    … …  
    67767081
    67777082#: includes/woocommerce/class-emwc-attendee-details.php:561
     7083#: templates/emails/plain/admin-ticket-cancelled.php:40
     7084#: templates/emails/plain/ticket-cancelled.php:48
    67787085msgid "Ticket code:"
    67797086msgstr ""
    … …  
    71297436msgstr[1] ""
    71307437
    7131 #: includes/woocommerce/class-emwc-recurring-tickets.php:385
     7438#: includes/woocommerce/class-emwc-guest-claim.php:115
     7439msgid "Want these tickets in an account? Log in or register with the email used for this order to keep them in My Tickets."
     7440msgstr ""
     7441
     7442#: includes/woocommerce/class-emwc-guest-claim.php:120
     7443#: includes/woocommerce/class-emwc-guest-claim.php:143
     7444#: includes/woocommerce/class-emwc-guest-claim.php:431
     7445msgid "Save these tickets to your account"
     7446msgstr ""
     7447
     7448#: includes/woocommerce/class-emwc-guest-claim.php:142
     7449msgid "Want these tickets in an account?"
     7450msgstr ""
     7451
     7452#: includes/woocommerce/class-emwc-guest-claim.php:189
     7453msgid "This link is not valid. Open the link from your ticket email again."
     7454msgstr ""
     7455
     7456#: includes/woocommerce/class-emwc-guest-claim.php:192
     7457#: includes/woocommerce/class-emwc-guest-claim.php:372
     7458msgid "Please log in to save your tickets."
     7459msgstr ""
     7460
     7461#: includes/woocommerce/class-emwc-guest-claim.php:205
     7462#: includes/woocommerce/class-emwc-guest-claim.php:278
     7463msgid "These tickets already belong to another account."
     7464msgstr ""
     7465
     7466#: includes/woocommerce/class-emwc-guest-claim.php:208
     7467msgid "There are no tickets to save on this order."
     7468msgstr ""
     7469
     7470#: includes/woocommerce/class-emwc-guest-claim.php:215
     7471msgid "Sign in with the email address used for the order to save these tickets."
     7472msgstr ""
     7473
     7474#: includes/woocommerce/class-emwc-guest-claim.php:232
     7475msgid "These tickets can't be saved to an account."
     7476msgstr ""
     7477
     7478#: includes/woocommerce/class-emwc-guest-claim.php:268
     7479msgid "These tickets are being saved right now. Try again in a moment."
     7480msgstr ""
     7481
     7482#: includes/woocommerce/class-emwc-guest-claim.php:282
     7483msgid "Tickets claimed into a customer account from the order link."
     7484msgstr ""
     7485
     7486#: includes/woocommerce/class-emwc-guest-claim.php:374
     7487msgid "This request expired. Open the link from your ticket email again."
     7488msgstr ""
     7489
     7490#: includes/woocommerce/class-emwc-guest-claim.php:381
     7491#: includes/woocommerce/class-emwc-guest-claim.php:412
     7492msgid "Your tickets are now in My Tickets."
     7493msgstr ""
     7494
     7495#. translators: %s: order number
     7496#: includes/woocommerce/class-emwc-guest-claim.php:425
     7497#, php-format
     7498msgid "Save the tickets from order #%s to your account?"
     7499msgstr ""
     7500
     7501#: includes/woocommerce/class-emwc-guest-claim.php:480
     7502msgid "Log in or register to save these tickets to your account."
     7503msgstr ""
     7504
     7505#: includes/woocommerce/class-emwc-recurring-tickets.php:437
    71327506msgid "Please choose a date."
    71337507msgstr ""
    71347508
    7135 #: includes/woocommerce/class-emwc-recurring-tickets.php:388
     7509#: includes/woocommerce/class-emwc-recurring-tickets.php:440
    71367510msgid "The chosen date is not available for this ticket."
    71377511msgstr ""
    71387512
    7139 #: includes/woocommerce/class-emwc-recurring-tickets.php:393
     7513#: includes/woocommerce/class-emwc-recurring-tickets.php:445
    71407514msgid "Ticket sales for the chosen date are closed."
    71417515msgstr ""
    71427516
    7143 #: includes/woocommerce/class-emwc-recurring-tickets.php:396
    7144 #: includes/woocommerce/class-emwc-wc-integration.php:155
    7145 #: includes/woocommerce/class-emwc-wc-integration.php:165
     7517#: includes/woocommerce/class-emwc-recurring-tickets.php:453
     7518msgid "Ticket sales for the chosen date have not started yet."
     7519msgstr ""
     7520
     7521#: includes/woocommerce/class-emwc-recurring-tickets.php:456
     7522msgid "Ticket sales for the chosen date have ended."
     7523msgstr ""
     7524
     7525#: includes/woocommerce/class-emwc-recurring-tickets.php:460
     7526#: includes/woocommerce/class-emwc-wc-integration.php:157
     7527#: includes/woocommerce/class-emwc-wc-integration.php:167
    71467528msgid "The chosen date is sold out."
    71477529msgstr ""
    71487530
    7149 #: includes/woocommerce/class-emwc-recurring-tickets.php:570
     7531#: includes/woocommerce/class-emwc-recurring-tickets.php:649
    71507532msgid "That date isn't available anymore, so the next available date is shown."
    71517533msgstr ""
    71527534
    71537535#. translators: 1: event title, 2: event date
    7154 #: includes/woocommerce/class-emwc-recurring-tickets.php:868
     7536#: includes/woocommerce/class-emwc-recurring-tickets.php:958
    71557537#, php-format
    71567538msgid "%1$s (%2$s)"
    71577539msgstr ""
    71587540
    7159 #: includes/woocommerce/class-emwc-recurring-tickets.php:950
     7541#: includes/woocommerce/class-emwc-recurring-tickets.php:1040
    71607542msgid "(sold out)"
    71617543msgstr ""
    71627544
    7163 #: includes/woocommerce/class-emwc-recurring-tickets.php:953
     7545#: includes/woocommerce/class-emwc-recurring-tickets.php:1043
    71647546msgid "(sales closed)"
     7547msgstr ""
     7548
     7549#: includes/woocommerce/class-emwc-recurring-tickets.php:1046
     7550msgid "(not on sale yet)"
    71657551msgstr ""
    71667552
    … …  
    72337619
    72347620#. translators: 1: event date, 2: reason
    7235 #: includes/woocommerce/class-emwc-wc-integration.php:177
     7621#: includes/woocommerce/class-emwc-wc-integration.php:179
    72367622#, php-format
    72377623msgid "Tickets for %1$s can't be bought: %2$s Please remove them from your cart."
    72387624msgstr ""
    72397625
    7240 #: includes/woocommerce/class-emwc-wc-integration.php:230
    7241 msgid "Event tickets cannot be purchased with other products. Please complete your current order first or empty your cart."
     7626#: includes/woocommerce/class-emwc-wc-integration.php:232
     7627msgid "Event tickets can't be purchased with other products. Please complete your current order first or empty your cart."
    72427628msgstr ""
    72437629
    72447630#. translators: 1: required seats, 2: selected seats
    7245 #: includes/woocommerce/class-emwc-wc-integration.php:294
     7631#: includes/woocommerce/class-emwc-wc-integration.php:296
    72467632#, php-format
    72477633msgid "Please select %1$d seat(s). You have selected %2$d."
    … …  
    72497635
    72507636#. translators: 1: required seats, 2: selected seats
    7251 #: includes/woocommerce/class-emwc-wc-integration.php:307
     7637#: includes/woocommerce/class-emwc-wc-integration.php:309
    72527638#, php-format
    72537639msgid "You have selected too many seats. Please select exactly %1$d seat(s) for your order."
    … …  
    72557641
    72567642#. translators: 1: section name, 2: row letter, 3: seat number
    7257 #: includes/woocommerce/class-emwc-wc-integration.php:324
     7643#: includes/woocommerce/class-emwc-wc-integration.php:326
    72587644#, php-format
    72597645msgid "Seat %1$s - Row %2$s, Seat %3$d is no longer available. Please choose another seat."
    72607646msgstr ""
    72617647
    7262 #: includes/woocommerce/class-emwc-wc-integration.php:403
     7648#: includes/woocommerce/class-emwc-wc-integration.php:405
    72637649msgid "Sorry, this event is at full capacity. No more tickets are available."
    72647650msgstr ""
    72657651
    72667652#. translators: 1: persons to add, 2: remaining capacity
    7267 #: includes/woocommerce/class-emwc-wc-integration.php:410
    7268 #, php-format
    7269 msgid "Cannot add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event."
    7270 msgstr ""
    7271 
    7272 #: includes/woocommerce/class-emwc-wc-integration.php:512
    7273 #: includes/woocommerce/class-emwc-wc-integration.php:546
     7653#: includes/woocommerce/class-emwc-wc-integration.php:412
     7654#, php-format
     7655msgid "Can't add %1$d person(s) to your order. Only %2$d spot(s) remaining for this event."
     7656msgstr ""
     7657
     7658#: includes/woocommerce/class-emwc-wc-integration.php:514
     7659#: includes/woocommerce/class-emwc-wc-integration.php:548
    72747660msgid "Event Ticket"
    72757661msgstr ""
    72767662
    7277 #: includes/woocommerce/class-emwc-wc-integration.php:513
     7663#: includes/woocommerce/class-emwc-wc-integration.php:515
    72787664msgid "Enable to sell tickets for an event."
    72797665msgstr ""
    72807666
    7281 #: includes/woocommerce/class-emwc-wc-integration.php:610
    7282 #: includes/woocommerce/class-emwc-wc-integration.php:876
     7667#: includes/woocommerce/class-emwc-wc-integration.php:615
     7668#: includes/woocommerce/class-emwc-wc-integration.php:930
    72837669msgid "Dropdown"
    72847670msgstr ""
    72857671
    7286 #: includes/woocommerce/class-emwc-wc-integration.php:611
    7287 #: includes/woocommerce/class-emwc-wc-integration.php:877
     7672#: includes/woocommerce/class-emwc-wc-integration.php:616
     7673#: includes/woocommerce/class-emwc-wc-integration.php:931
    72887674msgid "Checkbox"
    72897675msgstr ""
    72907676
    7291 #: includes/woocommerce/class-emwc-wc-integration.php:616
     7677#: includes/woocommerce/class-emwc-wc-integration.php:621
    72927678msgid "Billing First Name"
    72937679msgstr ""
    72947680
    7295 #: includes/woocommerce/class-emwc-wc-integration.php:617
     7681#: includes/woocommerce/class-emwc-wc-integration.php:622
    72967682msgid "Billing Last Name"
    72977683msgstr ""
    72987684
    7299 #: includes/woocommerce/class-emwc-wc-integration.php:618
     7685#: includes/woocommerce/class-emwc-wc-integration.php:623
    73007686msgid "Billing Email"
    73017687msgstr ""
    73027688
    7303 #: includes/woocommerce/class-emwc-wc-integration.php:619
     7689#: includes/woocommerce/class-emwc-wc-integration.php:624
    73047690msgid "Billing Phone"
    73057691msgstr ""
    73067692
    7307 #: includes/woocommerce/class-emwc-wc-integration.php:620
     7693#: includes/woocommerce/class-emwc-wc-integration.php:625
    73087694msgid "Billing Company"
    73097695msgstr ""
    73107696
    73117697#. translators: %d: ID of an event that no longer exists
    7312 #: includes/woocommerce/class-emwc-wc-integration.php:641
     7698#: includes/woocommerce/class-emwc-wc-integration.php:646
    73137699#, php-format
    73147700msgid "Event #%d (deleted)"
    73157701msgstr ""
    73167702
    7317 #: includes/woocommerce/class-emwc-wc-integration.php:646
     7703#: includes/woocommerce/class-emwc-wc-integration.php:651
    73187704msgid "Select the event this ticket is for."
    73197705msgstr ""
    73207706
    73217707#. translators: %s: URL to create new event
    7322 #: includes/woocommerce/class-emwc-wc-integration.php:649
     7708#: includes/woocommerce/class-emwc-wc-integration.php:654
    73237709#, php-format
    73247710msgid "No events found. <a href=\"%s\">Create an event first</a>."
    73257711msgstr ""
    73267712
    7327 #: includes/woocommerce/class-emwc-wc-integration.php:658
     7713#: includes/woocommerce/class-emwc-wc-integration.php:663
    73287714msgid "Minimum per order"
    73297715msgstr ""
    73307716
    7331 #: includes/woocommerce/class-emwc-wc-integration.php:660
     7717#: includes/woocommerce/class-emwc-wc-integration.php:665
    73327718msgid "Minimum tickets required per order."
    73337719msgstr ""
    73347720
    7335 #: includes/woocommerce/class-emwc-wc-integration.php:672
     7721#: includes/woocommerce/class-emwc-wc-integration.php:677
    73367722msgid "Maximum per order"
    73377723msgstr ""
    73387724
    7339 #: includes/woocommerce/class-emwc-wc-integration.php:674
     7725#: includes/woocommerce/class-emwc-wc-integration.php:679
    73407726msgid "Maximum tickets allowed per order. 0 = unlimited."
    73417727msgstr ""
    73427728
    7343 #: includes/woocommerce/class-emwc-wc-integration.php:686
    7344 #: includes/woocommerce/class-emwc-wc-integration.php:890
     7729#: includes/woocommerce/class-emwc-wc-integration.php:691
     7730#: includes/woocommerce/class-emwc-wc-integration.php:944
    73457731msgid "Persons per ticket"
    73467732msgstr ""
    73477733
    7348 #: includes/woocommerce/class-emwc-wc-integration.php:688
     7734#: includes/woocommerce/class-emwc-wc-integration.php:693
    73497735msgid "How many people one ticket admits. Use for group tickets."
    73507736msgstr ""
    73517737
    7352 #: includes/woocommerce/class-emwc-wc-integration.php:705
    7353 #: includes/woocommerce/class-emwc-wc-integration.php:896
     7738#: includes/woocommerce/class-emwc-wc-integration.php:710
     7739#: includes/woocommerce/class-emwc-wc-integration.php:951
     7740msgid "Sales window"
     7741msgstr ""
     7742
     7743#: includes/woocommerce/class-emwc-wc-integration.php:712
     7744msgid "Fixed dates use the dates below. A relative window opens and closes before the event starts, and a recurring event counts from each date."
     7745msgstr ""
     7746
     7747#: includes/woocommerce/class-emwc-wc-integration.php:714
     7748#: includes/woocommerce/class-emwc-wc-integration.php:954
     7749msgid "Fixed dates"
     7750msgstr ""
     7751
     7752#: includes/woocommerce/class-emwc-wc-integration.php:715
     7753#: includes/woocommerce/class-emwc-wc-integration.php:955
     7754msgid "Relative to event start"
     7755msgstr ""
     7756
     7757#: includes/woocommerce/class-emwc-wc-integration.php:726
     7758#: includes/woocommerce/class-emwc-wc-integration.php:960
    73547759msgid "Sales start date"
    73557760msgstr ""
    73567761
    7357 #: includes/woocommerce/class-emwc-wc-integration.php:707
     7762#: includes/woocommerce/class-emwc-wc-integration.php:728
    73587763msgid "Date when ticket sales begin."
    73597764msgstr ""
    73607765
    7361 #: includes/woocommerce/class-emwc-wc-integration.php:717
    7362 #: includes/woocommerce/class-emwc-wc-integration.php:900
     7766#: includes/woocommerce/class-emwc-wc-integration.php:738
     7767#: includes/woocommerce/class-emwc-wc-integration.php:964
    73637768msgid "Sales start time"
    73647769msgstr ""
    73657770
    7366 #: includes/woocommerce/class-emwc-wc-integration.php:719
     7771#: includes/woocommerce/class-emwc-wc-integration.php:740
    73677772msgid "Time when sales begin (e.g., 09:00). Leave empty for midnight."
    73687773msgstr ""
    73697774
    7370 #: includes/woocommerce/class-emwc-wc-integration.php:727
    7371 #: includes/woocommerce/class-emwc-wc-integration.php:905
     7775#: includes/woocommerce/class-emwc-wc-integration.php:748
     7776#: includes/woocommerce/class-emwc-wc-integration.php:969
    73727777msgid "Sales end"
    73737778msgstr ""
    73747779
    7375 #: includes/woocommerce/class-emwc-wc-integration.php:737
    7376 #: includes/woocommerce/class-emwc-wc-integration.php:910
     7780#: includes/woocommerce/class-emwc-wc-integration.php:758
     7781#: includes/woocommerce/class-emwc-wc-integration.php:974
    73777782msgid "Sales end date"
    73787783msgstr ""
    73797784
    7380 #: includes/woocommerce/class-emwc-wc-integration.php:739
     7785#: includes/woocommerce/class-emwc-wc-integration.php:760
    73817786msgid "Date when ticket sales end."
    73827787msgstr ""
    73837788
    7384 #: includes/woocommerce/class-emwc-wc-integration.php:749
    7385 #: includes/woocommerce/class-emwc-wc-integration.php:914
     7789#: includes/woocommerce/class-emwc-wc-integration.php:770
     7790#: includes/woocommerce/class-emwc-wc-integration.php:978
    73867791msgid "Sales end time"
    73877792msgstr ""
    73887793
    7389 #: includes/woocommerce/class-emwc-wc-integration.php:751
     7794#: includes/woocommerce/class-emwc-wc-integration.php:772
    73907795msgid "Time when sales end (e.g., 23:59). Leave empty for end of day."
    73917796msgstr ""
    73927797
    7393 #: includes/woocommerce/class-emwc-wc-integration.php:767
     7798#: includes/woocommerce/class-emwc-wc-integration.php:787
     7799#: includes/woocommerce/class-emwc-wc-integration.php:985
     7800msgid "Open days before"
     7801msgstr ""
     7802
     7803#: includes/woocommerce/class-emwc-wc-integration.php:789
     7804#: includes/woocommerce/class-emwc-wc-integration.php:985
     7805msgid "Sales open this many days before the event starts. Leave empty to open now."
     7806msgstr ""
     7807
     7808#: includes/woocommerce/class-emwc-wc-integration.php:801
     7809#: includes/woocommerce/class-emwc-wc-integration.php:989
     7810msgid "Close hours before"
     7811msgstr ""
     7812
     7813#: includes/woocommerce/class-emwc-wc-integration.php:803
     7814#: includes/woocommerce/class-emwc-wc-integration.php:989
     7815msgid "Sales close this many hours before the event starts. Use 0 to close when it starts."
     7816msgstr ""
     7817
     7818#: includes/woocommerce/class-emwc-wc-integration.php:821
    73947819msgid "Collect attendee info"
    73957820msgstr ""
    73967821
    7397 #: includes/woocommerce/class-emwc-wc-integration.php:768
     7822#: includes/woocommerce/class-emwc-wc-integration.php:822
    73987823msgid "Require attendee details for each ticket."
    73997824msgstr ""
    74007825
    7401 #: includes/woocommerce/class-emwc-wc-integration.php:776
     7826#: includes/woocommerce/class-emwc-wc-integration.php:830
    74027827msgid "Attendee fields"
    74037828msgstr ""
    74047829
    7405 #: includes/woocommerce/class-emwc-wc-integration.php:783
     7830#: includes/woocommerce/class-emwc-wc-integration.php:837
    74067831msgid "Auto-fill"
    74077832msgstr ""
    74087833
    7409 #: includes/woocommerce/class-emwc-wc-integration.php:784
    7410 #: includes/woocommerce/class-emwc-wc-integration.php:931
     7834#: includes/woocommerce/class-emwc-wc-integration.php:838
     7835#: includes/woocommerce/class-emwc-wc-integration.php:1006
    74117836msgid "Required"
    74127837msgstr ""
    74137838
    7414 #: includes/woocommerce/class-emwc-wc-integration.php:797
    7415 #: includes/woocommerce/class-emwc-wc-integration.php:819
     7839#: includes/woocommerce/class-emwc-wc-integration.php:851
     7840#: includes/woocommerce/class-emwc-wc-integration.php:873
     7841#: includes/woocommerce/class-emwc-wc-integration.php:1019
     7842#: includes/woocommerce/class-emwc-wc-integration.php:1037
     7843msgid "Small | Medium | Large"
     7844msgstr ""
     7845
     7846#: includes/woocommerce/class-emwc-wc-integration.php:851
     7847#: includes/woocommerce/class-emwc-wc-integration.php:873
     7848#: includes/woocommerce/class-emwc-wc-integration.php:1019
     7849#: includes/woocommerce/class-emwc-wc-integration.php:1037
     7850msgid "Dropdown choices, separated by |"
     7851msgstr ""
     7852
     7853#: includes/woocommerce/class-emwc-wc-integration.php:862
     7854msgid "+ Add Field"
     7855msgstr ""
     7856
     7857#: includes/woocommerce/class-emwc-wc-integration.php:864
     7858msgid "For a Dropdown, type the choices separated by |, for example S | M | L. A Dropdown without choices is asked as a text box."
     7859msgstr ""
     7860
     7861#: includes/woocommerce/class-emwc-wc-integration.php:936
     7862msgid "Min per order"
     7863msgstr ""
     7864
     7865#: includes/woocommerce/class-emwc-wc-integration.php:936
     7866msgid "Minimum tickets required per order for this variation."
     7867msgstr ""
     7868
     7869#: includes/woocommerce/class-emwc-wc-integration.php:937
     7870#: includes/woocommerce/class-emwc-wc-integration.php:941
     7871msgid "Default"
     7872msgstr ""
     7873
     7874#: includes/woocommerce/class-emwc-wc-integration.php:940
     7875msgid "Max per order"
     7876msgstr ""
     7877
     7878#: includes/woocommerce/class-emwc-wc-integration.php:940
     7879msgid "Maximum tickets allowed per order. Leave empty for unlimited."
     7880msgstr ""
     7881
    74167882#: includes/woocommerce/class-emwc-wc-integration.php:944
    7417 #: includes/woocommerce/class-emwc-wc-integration.php:962
    7418 msgid "Small | Medium | Large"
    7419 msgstr ""
    7420 
    7421 #: includes/woocommerce/class-emwc-wc-integration.php:797
    7422 #: includes/woocommerce/class-emwc-wc-integration.php:819
    7423 #: includes/woocommerce/class-emwc-wc-integration.php:944
    7424 #: includes/woocommerce/class-emwc-wc-integration.php:962
    7425 msgid "Dropdown choices, separated by |"
    7426 msgstr ""
    7427 
    7428 #: includes/woocommerce/class-emwc-wc-integration.php:808
    7429 msgid "+ Add Field"
    7430 msgstr ""
    7431 
    7432 #: includes/woocommerce/class-emwc-wc-integration.php:810
    7433 msgid "For a Dropdown, type the choices separated by |, for example S | M | L. A Dropdown without choices is asked as a text box."
    7434 msgstr ""
    7435 
    7436 #: includes/woocommerce/class-emwc-wc-integration.php:882
    7437 msgid "Min per order"
    7438 msgstr ""
    7439 
    7440 #: includes/woocommerce/class-emwc-wc-integration.php:882
    7441 msgid "Minimum tickets required per order for this variation."
    7442 msgstr ""
    7443 
    7444 #: includes/woocommerce/class-emwc-wc-integration.php:883
    7445 #: includes/woocommerce/class-emwc-wc-integration.php:887
    7446 msgid "Default"
    7447 msgstr ""
    7448 
    7449 #: includes/woocommerce/class-emwc-wc-integration.php:886
    7450 msgid "Max per order"
    7451 msgstr ""
    7452 
    7453 #: includes/woocommerce/class-emwc-wc-integration.php:886
    7454 msgid "Maximum tickets allowed per order. Leave empty for unlimited."
    7455 msgstr ""
    7456 
    7457 #: includes/woocommerce/class-emwc-wc-integration.php:890
    74587883msgid "How many people this ticket admits. For group tickets, set higher number."
    74597884msgstr ""
    74607885
    7461 #: includes/woocommerce/class-emwc-wc-integration.php:921
     7886#: includes/woocommerce/class-emwc-wc-integration.php:953
     7887msgid "Same as the ticket"
     7888msgstr ""
     7889
     7890#: includes/woocommerce/class-emwc-wc-integration.php:996
    74627891msgid "Use custom attendee fields for this variation"
    74637892msgstr ""
    74647893
    7465 #: includes/woocommerce/class-emwc-wc-integration.php:951
     7894#: includes/woocommerce/class-emwc-wc-integration.php:1026
    74667895msgid "+ Add"
    74677896msgstr ""
    74687897
    7469 #: includes/woocommerce/class-emwc-wc-integration.php:1109
     7898#: includes/woocommerce/class-emwc-wc-integration.php:1188
    74707899msgid "Now Available!"
    74717900msgstr ""
    74727901
    7473 #: includes/woocommerce/class-emwc-wc-integration.php:1290
     7902#: includes/woocommerce/class-emwc-wc-integration.php:1384
    74747903#: includes/woocommerce/class-emwc-wc-order.php:207
    7475 #: includes/woocommerce/class-emwc-wc-order.php:1139
     7904#: includes/woocommerce/class-emwc-wc-order.php:1176
    74767905msgid "Admits"
    74777906msgstr ""
    74787907
    74797908#. translators: %d: number of persons admitted
    7480 #: includes/woocommerce/class-emwc-wc-integration.php:1292
     7909#: includes/woocommerce/class-emwc-wc-integration.php:1386
    74817910#: includes/woocommerce/class-emwc-wc-order.php:209
    7482 #: includes/woocommerce/class-emwc-wc-order.php:1185
     7911#: includes/woocommerce/class-emwc-wc-order.php:1222
    74837912#, php-format
    74847913msgid "%d person"
    … …  
    74877916msgstr[1] ""
    74887917
    7489 #: includes/woocommerce/class-emwc-wc-integration.php:1304
    7490 #: includes/woocommerce/class-emwc-wc-order.php:1140
     7918#: includes/woocommerce/class-emwc-wc-integration.php:1398
     7919#: includes/woocommerce/class-emwc-wc-order.php:1177
    74917920msgid "Seat(s)"
    74927921msgstr ""
    74937922
    7494 #: includes/woocommerce/class-emwc-wc-integration.php:1377
    7495 #: includes/woocommerce/class-emwc-wc-integration.php:1438
     7923#: includes/woocommerce/class-emwc-wc-integration.php:1471
     7924#: includes/woocommerce/class-emwc-wc-integration.php:1532
    74967925msgid "Coming Soon"
    74977926msgstr ""
    74987927
    7499 #: includes/woocommerce/class-emwc-wc-integration.php:1381
    7500 #: includes/woocommerce/class-emwc-wc-integration.php:1442
    7501 #: includes/woocommerce/class-emwc-wc-integration.php:1976
    7502 #: includes/woocommerce/class-emwc-wc-integration.php:2001
    7503 #: includes/woocommerce/class-emwc-wc-integration.php:2031
     7928#: includes/woocommerce/class-emwc-wc-integration.php:1475
     7929#: includes/woocommerce/class-emwc-wc-integration.php:1536
     7930#: includes/woocommerce/class-emwc-wc-integration.php:2181
     7931#: includes/woocommerce/class-emwc-wc-integration.php:2206
     7932#: includes/woocommerce/class-emwc-wc-integration.php:2241
    75047933msgid "Sales Ended"
    75057934msgstr ""
    75067935
    7507 #: includes/woocommerce/class-emwc-wc-integration.php:1385
     7936#: includes/woocommerce/class-emwc-wc-integration.php:1479
    75087937msgid "Get Tickets"
    75097938msgstr ""
    75107939
    7511 #: includes/woocommerce/class-emwc-wc-integration.php:1446
     7940#: includes/woocommerce/class-emwc-wc-integration.php:1540
    75127941msgid "Buy Tickets"
    75137942msgstr ""
    75147943
    7515 #: includes/woocommerce/class-emwc-wc-integration.php:1616
     7944#: includes/woocommerce/class-emwc-wc-integration.php:1677
    75167945msgid "Format"
    75177946msgstr ""
    75187947
    7519 #: includes/woocommerce/class-emwc-wc-integration.php:1616
     7948#: includes/woocommerce/class-emwc-wc-integration.php:1677
    75207949msgid "Hybrid Event"
    75217950msgstr ""
    75227951
    75237952#. translators: %s: event date
    7524 #: includes/woocommerce/class-emwc-wc-integration.php:1753
     7953#: includes/woocommerce/class-emwc-wc-integration.php:1814
    75257954#, php-format
    75267955msgid "%s is sold out."
    75277956msgstr ""
    75287957
    7529 #: includes/woocommerce/class-emwc-wc-integration.php:1757
     7958#: includes/woocommerce/class-emwc-wc-integration.php:1818
    75307959msgid "Sold out"
    75317960msgstr ""
    75327961
    7533 #: includes/woocommerce/class-emwc-wc-integration.php:2050
     7962#: includes/woocommerce/class-emwc-wc-integration.php:2260
    75347963msgid "Event Ended"
    75357964msgstr ""
    75367965
    7537 #: includes/woocommerce/class-emwc-wc-integration.php:2064
     7966#: includes/woocommerce/class-emwc-wc-integration.php:2274
    75387967msgid "Event Started"
    75397968msgstr ""
    75407969
    7541 #: includes/woocommerce/class-emwc-wc-integration.php:2089
    7542 #: templates/single-emwc_event.php:472
    7543 #: templates/single-emwc_event.php:582
     7970#: includes/woocommerce/class-emwc-wc-integration.php:2303
     7971#: templates/single-emwc_event.php:476
     7972#: templates/single-emwc_event.php:586
    75447973msgid "Tickets Coming Soon!"
    75457974msgstr ""
    … …  
    75477976#. translators: %s: date and time
    75487977#. translators: %s: sale start date and time
    7549 #: includes/woocommerce/class-emwc-wc-integration.php:2093
    7550 #: templates/single-emwc_event.php:476
    7551 #: templates/single-emwc_event.php:586
     7978#: includes/woocommerce/class-emwc-wc-integration.php:2307
     7979#: templates/single-emwc_event.php:480
     7980#: templates/single-emwc_event.php:590
    75527981#, php-format
    75537982msgid "Sales begin on %s"
    75547983msgstr ""
    75557984
    7556 #: includes/woocommerce/class-emwc-wc-integration.php:2101
    7557 #: includes/woocommerce/class-emwc-wc-integration.php:2116
    7558 #: templates/single-emwc_event.php:484
    7559 #: templates/single-emwc_event.php:508
    7560 #: templates/single-emwc_event.php:572
    7561 #: templates/single-emwc_event.php:594
     7985#: includes/woocommerce/class-emwc-wc-integration.php:2315
     7986#: includes/woocommerce/class-emwc-wc-integration.php:2330
     7987#: templates/single-emwc_event.php:488
     7988#: templates/single-emwc_event.php:512
     7989#: templates/single-emwc_event.php:576
     7990#: templates/single-emwc_event.php:598
    75627991msgid "Sec"
    75637992msgstr ""
    75647993
    7565 #: includes/woocommerce/class-emwc-wc-integration.php:2110
     7994#: includes/woocommerce/class-emwc-wc-integration.php:2324
    75667995msgid "Hurry! Sales end in:"
    75677996msgstr ""
    75687997
    7569 #: includes/woocommerce/class-emwc-wc-integration.php:2126
     7998#: includes/woocommerce/class-emwc-wc-integration.php:2340
    75707999msgid "Ticket sales for this event have closed."
    75718000msgstr ""
    75728001
    7573 #: includes/woocommerce/class-emwc-wc-integration.php:2136
     8002#: includes/woocommerce/class-emwc-wc-integration.php:2350
    75748003msgid "This event is sold out. Check back later for cancellations."
    75758004msgstr ""
    75768005
    7577 #: includes/woocommerce/class-emwc-wc-integration.php:2219
     8006#: includes/woocommerce/class-emwc-wc-integration.php:2433
    75788007msgid "This ticket sells every date of a recurring event. Each date's tickets are on sale until that date starts."
    75798008msgstr ""
    75808009
    7581 #: includes/woocommerce/class-emwc-wc-integration.php:2253
     8010#: includes/woocommerce/class-emwc-wc-integration.php:2467
    75828011msgid "Recurring event tickets now close per date: each date is on sale until it starts. Evenzo removed the Sales End date from these ticket products because it would have closed every date of their recurring event:"
    75838012msgstr ""
    75848013
    7585 #: includes/woocommerce/class-emwc-wc-integration.php:2259
     8014#: includes/woocommerce/class-emwc-wc-integration.php:2473
    75868015msgid "To hold back sales, use Sales Start on the product. To stop selling a date, cancel that date or set its capacity."
    75878016msgstr ""
    75888017
    75898018#. translators: 1: product name, 2: total possible attendees, 3: event capacity
    7590 #: includes/woocommerce/class-emwc-wc-integration.php:2534
     8019#: includes/woocommerce/class-emwc-wc-integration.php:2748
    75918020#, php-format
    75928021msgid "\"%1$s\" variation stock allows %2$d possible attendees, exceeding event capacity of %3$d. Capacity is validated at checkout, but consider adjusting stock."
    … …  
    75948023
    75958024#. translators: %d: number of remaining spots (people capacity)
    7596 #: includes/woocommerce/class-emwc-wc-integration.php:2722
     8025#: includes/woocommerce/class-emwc-wc-integration.php:2936
    75978026#, php-format
    75988027msgid "%d spot remaining"
    … …  
    76018030msgstr[1] ""
    76028031
    7603 #: includes/woocommerce/class-emwc-wc-integration.php:2779
     8032#: includes/woocommerce/class-emwc-wc-integration.php:2993
    76048033msgid "Event Capacity Warning:"
    76058034msgstr ""
    76068035
    7607 #: includes/woocommerce/class-emwc-wc-integration.php:2811
     8036#: includes/woocommerce/class-emwc-wc-integration.php:3025
    76088037msgid "This ticket is not linked to an event yet, so it will not show on any event. Open the Event Ticket tab below, select an event, then update the product."
    76098038msgstr ""
    76108039
    76118040#. translators: 1: stock quantity, 2: event capacity
    7612 #: includes/woocommerce/class-emwc-wc-integration.php:2849
     8041#: includes/woocommerce/class-emwc-wc-integration.php:3063
    76138042#, php-format
    76148043msgid "Product stock (%1$d) exceeds event capacity (%2$d). Stock will be limited to event capacity."
    … …  
    76168045
    76178046#. translators: 1: total stock, 2: event capacity
    7618 #: includes/woocommerce/class-emwc-wc-integration.php:2869
     8047#: includes/woocommerce/class-emwc-wc-integration.php:3083
    76198048#, php-format
    76208049msgid "Total variation stock (%1$d) exceeds event capacity (%2$d). Please reduce variation stock levels."
    … …  
    76378066msgstr ""
    76388067
    7639 #: includes/woocommerce/class-emwc-wc-my-account.php:199
     8068#: includes/woocommerce/class-emwc-wc-my-account.php:204
    76408069msgid "QR"
    76418070msgstr ""
    76428071
    7643 #: includes/woocommerce/class-emwc-wc-my-account.php:203
     8072#: includes/woocommerce/class-emwc-wc-my-account.php:208
    76448073msgid "Print"
    76458074msgstr ""
    76468075
    7647 #: includes/woocommerce/class-emwc-wc-my-account.php:231
     8076#: includes/woocommerce/class-emwc-wc-my-account.php:249
    76488077msgid "Save QR Code"
    76498078msgstr ""
    76508079
    7651 #: includes/woocommerce/class-emwc-wc-my-account.php:359
     8080#: includes/woocommerce/class-emwc-wc-my-account.php:275
     8081msgid "Cancel this ticket? This can't be undone."
     8082msgstr ""
     8083
     8084#: includes/woocommerce/class-emwc-wc-my-account.php:278
     8085msgid "Cancel ticket"
     8086msgstr ""
     8087
     8088#: includes/woocommerce/class-emwc-wc-my-account.php:406
    76528089msgid "TBD"
    76538090msgstr ""
    76548091
    7655 #: includes/woocommerce/class-emwc-wc-my-account.php:383
     8092#: includes/woocommerce/class-emwc-wc-my-account.php:433
    76568093msgid "Confirmed"
    76578094msgstr ""
    … …  
    76968133
    76978134#. translators: 1: ticket number, 2: seat
    7698 #: includes/woocommerce/class-emwc-wc-order.php:638
     8135#: includes/woocommerce/class-emwc-wc-order.php:644
    76998136#, php-format
    77008137msgid "Ticket #%1$d was cancelled: its seat %2$s was booked by another order while this order was unpaid or in the trash. Book another seat for the customer or refund the ticket."
    … …  
    77028139
    77038140#. translators: %s: seats, comma separated
    7704 #: includes/woocommerce/class-emwc-wc-order.php:989
     8141#: includes/woocommerce/class-emwc-wc-order.php:1026
    77058142#, php-format
    77068143msgid "Seat %s was booked or blocked while the order was in the trash, so it is no longer held for this order. Its ticket will be cancelled when the order is paid."
    … …  
    77108147
    77118148#. translators: %s: order status
    7712 #: includes/woocommerce/class-emwc-wc-order.php:1022
     8149#: includes/woocommerce/class-emwc-wc-order.php:1059
    77138150#, php-format
    77148151msgid "The order was restored as %s, so its event tickets stay cancelled."
    … …  
    77168153
    77178154#. translators: 1: ticket number, 2: seat
    7718 #: includes/woocommerce/class-emwc-wc-order.php:1047
     8155#: includes/woocommerce/class-emwc-wc-order.php:1084
    77198156#, php-format
    77208157msgid "Ticket #%1$d stays cancelled: seat %2$s was blocked while the order was in the trash. Unblock it and reactivate the ticket to give it back."
    … …  
    77228159
    77238160#. translators: 1: ticket number, 2: seat
    7724 #: includes/woocommerce/class-emwc-wc-order.php:1054
     8161#: includes/woocommerce/class-emwc-wc-order.php:1091
    77258162#, php-format
    77268163msgid "Ticket #%1$d stays cancelled: its seat %2$s was booked while the order was in the trash."
    … …  
    77288165
    77298166#. translators: 1: event title and date, 2: capacity, 3: tickets now booked
    7730 #: includes/woocommerce/class-emwc-wc-order.php:1085
     8167#: includes/woocommerce/class-emwc-wc-order.php:1122
    77318168#, php-format
    77328169msgid "%1$s is now over capacity: %3$d booked, %2$d capacity."
    … …  
    77348171
    77358172#. translators: %d: tickets restored
    7736 #: includes/woocommerce/class-emwc-wc-order.php:1096
     8173#: includes/woocommerce/class-emwc-wc-order.php:1133
    77378174#, php-format
    77388175msgid "Restored %d event ticket from the trash."
    … …  
    77418178msgstr[1] ""
    77428179
    7743 #: includes/woocommerce/class-emwc-wc-order.php:1112
     8180#: includes/woocommerce/class-emwc-wc-order.php:1149
    77448181msgid "Ticket Codes"
    77458182msgstr ""
    77468183
    7747 #: includes/woocommerce/class-emwc-wc-order.php:1174
     8184#: includes/woocommerce/class-emwc-wc-order.php:1211
    77488185#: templates/emails/plain/admin-new-registration.php:44
     8186#: templates/emails/plain/admin-ticket-cancelled.php:33
    77498187#: templates/emails/plain/event-cancellation.php:46
    77508188#: templates/emails/plain/event-reminder.php:38
    77518189#: templates/emails/plain/event-update.php:46
    77528190#: templates/emails/plain/registration-confirmation.php:35
     8191#: templates/emails/plain/ticket-cancelled.php:40
    77538192msgid "Event:"
    77548193msgstr ""
    77558194
    7756 #: includes/woocommerce/class-emwc-wc-order.php:1183
     8195#: includes/woocommerce/class-emwc-wc-order.php:1220
    77578196msgid "Admits:"
    77588197msgstr ""
    77598198
    7760 #: includes/woocommerce/class-emwc-wc-order.php:1196
     8199#: includes/woocommerce/class-emwc-wc-order.php:1233
    77618200msgid "Seat(s):"
    77628201msgstr ""
    77638202
    7764 #: includes/woocommerce/class-emwc-wc-order.php:1202
     8203#: includes/woocommerce/class-emwc-wc-order.php:1239
    77658204msgid "Tickets:"
    77668205msgstr ""
    77678206
    7768 #: includes/woocommerce/class-emwc-wc-order.php:1270
     8207#: includes/woocommerce/class-emwc-wc-order.php:1307
    77698208msgid "YOUR EVENT TICKETS"
    77708209msgstr ""
    77718210
    7772 #: includes/woocommerce/class-emwc-wc-order.php:1276
     8211#: includes/woocommerce/class-emwc-wc-order.php:1313
    77738212msgid "Your Event Tickets"
    77748213msgstr ""
    77758214
    7776 #: includes/woocommerce/class-emwc-wc-order.php:1277
     8215#: includes/woocommerce/class-emwc-wc-order.php:1314
    77778216msgid "Present these codes at the event for check-in."
    77788217msgstr ""
    … …  
    78218260#: templates/emails/admin-new-registration.php:109
    78228261msgid "View All Attendees"
     8262msgstr ""
     8263
     8264#. translators: %s: event name
     8265#: templates/emails/admin-ticket-cancelled.php:34
     8266#: templates/emails/plain/admin-ticket-cancelled.php:27
     8267#, php-format
     8268msgid "A ticket for %s was cancelled. The place is free again."
     8269msgstr ""
     8270
     8271#: templates/emails/admin-ticket-cancelled.php:71
     8272msgid "Cancelled by"
     8273msgstr ""
     8274
     8275#: templates/emails/admin-ticket-cancelled.php:77
     8276#: templates/emails/plain/admin-ticket-cancelled.php:46
     8277msgid "Refunds are not made automatically. Refund the order from its page if the customer should get money back."
    78238278msgstr ""
    78248279
    … …  
    79408395
    79418396#: templates/emails/plain/admin-new-registration.php:58
     8397#: templates/emails/plain/admin-ticket-cancelled.php:42
    79428398msgid "Order:"
    79438399msgstr ""
    … …  
    79578413#: templates/emails/plain/admin-new-registration.php:64
    79588414msgid "View All Attendees:"
     8415msgstr ""
     8416
     8417#: templates/emails/plain/admin-ticket-cancelled.php:32
     8418#: templates/emails/plain/ticket-cancelled.php:47
     8419#: templates/emails/plain/ticket-delivery.php:79
     8420msgid "Attendee:"
     8421msgstr ""
     8422
     8423#: templates/emails/plain/admin-ticket-cancelled.php:44
     8424msgid "Cancelled by:"
    79598425msgstr ""
    79608426
    … …  
    80248490msgstr ""
    80258491
    8026 #: templates/emails/plain/registration-confirmation.php:81
    8027 #: templates/emails/registration-confirmation.php:113
     8492#: templates/emails/plain/registration-confirmation.php:86
     8493#: templates/emails/registration-confirmation.php:120
    80288494msgid "We look forward to seeing you at the event!"
     8495msgstr ""
     8496
     8497#. translators: 1: attendee name, 2: event name
     8498#: templates/emails/plain/ticket-cancelled.php:34
     8499#: templates/emails/ticket-cancelled.php:44
     8500#, php-format
     8501msgid "The ticket for %1$s to %2$s is cancelled. It can no longer be used to enter the event."
     8502msgstr ""
     8503
     8504#: templates/emails/plain/ticket-cancelled.php:50
     8505#: templates/emails/ticket-cancelled.php:72
     8506msgid "If you have questions about a refund, please contact the shop."
    80298507msgstr ""
    80308508
    … …  
    80428520msgstr ""
    80438521
    8044 #: templates/emails/plain/ticket-delivery.php:79
    8045 msgid "Attendee:"
    8046 msgstr ""
    8047 
    8048 #: templates/emails/plain/ticket-delivery.php:92
     8522#: templates/emails/plain/ticket-delivery.php:97
    80498523msgid "IMPORTANT"
    80508524msgstr ""
    80518525
    8052 #: templates/emails/plain/ticket-delivery.php:95
    8053 #: templates/emails/ticket-delivery.php:138
     8526#: templates/emails/plain/ticket-delivery.php:100
     8527#: templates/emails/ticket-delivery.php:145
    80548528msgid "Save or print this email to present at check-in."
    80558529msgstr ""
    80568530
    8057 #: templates/emails/plain/ticket-delivery.php:96
    8058 #: templates/emails/ticket-delivery.php:139
     8531#: templates/emails/plain/ticket-delivery.php:101
     8532#: templates/emails/ticket-delivery.php:146
    80598533msgid "You can also access your ticket from your account on our website."
    80608534msgstr ""
    80618535
    8062 #: templates/emails/plain/ticket-delivery.php:97
    8063 #: templates/emails/ticket-delivery.php:140
     8536#: templates/emails/plain/ticket-delivery.php:102
     8537#: templates/emails/ticket-delivery.php:147
    80648538msgid "Arrive at least 15 minutes before the event starts."
    80658539msgstr ""
    80668540
    8067 #: templates/emails/plain/ticket-delivery.php:99
     8541#: templates/emails/plain/ticket-delivery.php:104
     8542#: templates/emails/ticket-delivery.php:150
     8543msgid "We look forward to seeing you!"
     8544msgstr ""
     8545
    80688546#: templates/emails/ticket-delivery.php:143
    8069 msgid "We look forward to seeing you!"
    8070 msgstr ""
    8071 
    8072 #: templates/emails/ticket-delivery.php:136
    80738547msgid "Important:"
    80748548msgstr ""
    80758549
    8076 #: templates/single-emwc_event.php:107
     8550#: templates/single-emwc_event.php:111
    80778551msgid "Skip to event content"
    80788552msgstr ""
    80798553
    8080 #: templates/single-emwc_event.php:151
     8554#: templates/single-emwc_event.php:155
    80818555msgid "No dates on sale."
    80828556msgstr ""
    80838557
    8084 #: templates/single-emwc_event.php:151
     8558#: templates/single-emwc_event.php:155
    80858559msgid "No upcoming dates."
    80868560msgstr ""
    80878561
    8088 #: templates/single-emwc_event.php:215
     8562#: templates/single-emwc_event.php:219
    80898563msgid "Where"
    80908564msgstr ""
    80918565
    8092 #: templates/single-emwc_event.php:228
     8566#: templates/single-emwc_event.php:232
    80938567msgid "Hosted by"
    80948568msgstr ""
    80958569
    8096 #: templates/single-emwc_event.php:239
     8570#: templates/single-emwc_event.php:243
    80978571msgid "Free"
    80988572msgstr ""
    80998573
    8100 #: templates/single-emwc_event.php:246
     8574#: templates/single-emwc_event.php:250
    81018575#: templates/single-emwc_speaker.php:134
    81028576msgid "About"
    81038577msgstr ""
    81048578
    8105 #: templates/single-emwc_event.php:252
     8579#: templates/single-emwc_event.php:256
    81068580msgid "No description available."
    81078581msgstr ""
    81088582
    8109 #: templates/single-emwc_event.php:310
    8110 #: templates/single-emwc_event.php:322
     8583#: templates/single-emwc_event.php:314
     8584#: templates/single-emwc_event.php:326
    81118585msgid "Admin Notice:"
    81128586msgstr ""
    81138587
    8114 #: templates/single-emwc_event.php:311
     8588#: templates/single-emwc_event.php:315
    81158589msgid "Map could not be loaded. This may be due to an invalid API key, missing Geocoding API, or an unrecognized address."
    81168590msgstr ""
    81178591
    8118 #: templates/single-emwc_event.php:312
     8592#: templates/single-emwc_event.php:316
    81198593msgid "Check Settings"
    81208594msgstr ""
    81218595
    81228596#. translators: %s: Settings URL
    8123 #: templates/single-emwc_event.php:326
     8597#: templates/single-emwc_event.php:330
    81248598#, php-format
    81258599msgid "Google Maps requires an API key. Configure it in %s to display maps."
    81268600msgstr ""
    81278601
    8128 #: templates/single-emwc_event.php:327
     8602#: templates/single-emwc_event.php:331
    81298603msgid "Events > Settings > Google Maps"
    81308604msgstr ""
    81318605
    81328606#. translators: %d: number of dates in the series
    8133 #: templates/single-emwc_event.php:453
     8607#: templates/single-emwc_event.php:457
    81348608#, php-format
    81358609msgid "One of %d date."
    … …  
    81388612msgstr[1] ""
    81398613
    8140 #: templates/single-emwc_event.php:455
     8614#: templates/single-emwc_event.php:459
    81418615msgid "See all dates"
    81428616msgstr ""
    81438617
    8144 #: templates/single-emwc_event.php:482
    8145 #: templates/single-emwc_event.php:506
    8146 #: templates/single-emwc_event.php:570
    8147 #: templates/single-emwc_event.php:592
     8618#: templates/single-emwc_event.php:486
     8619#: templates/single-emwc_event.php:510
     8620#: templates/single-emwc_event.php:574
     8621#: templates/single-emwc_event.php:596
    81488622msgid "Hrs"
    81498623msgstr ""
    81508624
    8151 #: templates/single-emwc_event.php:492
     8625#: templates/single-emwc_event.php:496
    81528626msgid "Ticket sales have ended."
    81538627msgstr ""
    81548628
    8155 #: templates/single-emwc_event.php:503
    8156 #: templates/single-emwc_event.php:567
     8629#: templates/single-emwc_event.php:507
     8630#: templates/single-emwc_event.php:571
    81578631msgid "Sales end in:"
    81588632msgstr ""
    81598633
    8160 #: templates/single-emwc_event.php:516
     8634#: templates/single-emwc_event.php:520
    81618635msgid "per person"
    81628636msgstr ""
    81638637
    81648638#. translators: %d: number of persons
    8165 #: templates/single-emwc_event.php:519
    8166 #: templates/single-emwc_event.php:623
     8639#: templates/single-emwc_event.php:523
     8640#: templates/single-emwc_event.php:627
    81678641#, php-format
    81688642msgid "· %d persons"
    81698643msgstr ""
    81708644
    8171 #: templates/single-emwc_event.php:531
     8645#: templates/single-emwc_event.php:535
    81728646msgid "Register Now"
    81738647msgstr ""
    81748648
    8175 #: templates/single-emwc_event.php:620
     8649#: templates/single-emwc_event.php:624
    81768650msgid "· per person"
    81778651msgstr ""
    81788652
    8179 #: templates/single-emwc_event.php:630
    8180 #: templates/single-emwc_event.php:663
     8653#: templates/single-emwc_event.php:634
     8654#: templates/single-emwc_event.php:667
    81818655msgid "Soon"
    81828656msgstr ""
    81838657
    8184 #: templates/single-emwc_event.php:643
    8185 #: templates/single-emwc_event.php:672
     8658#: templates/single-emwc_event.php:647
     8659#: templates/single-emwc_event.php:676
    81868660msgid "Buy"
    81878661msgstr ""
    81888662
    8189 #: templates/single-emwc_event.php:695
     8663#: templates/single-emwc_event.php:699
    81908664msgid "Tickets coming soon."
    81918665msgstr ""
    81928666
    8193 #: templates/single-emwc_event.php:707
     8667#: templates/single-emwc_event.php:711
    81948668msgid "Add to Calendar"
    81958669msgstr ""
    81968670
    8197 #: templates/single-emwc_event.php:709
     8671#: templates/single-emwc_event.php:713
    81988672msgid "Google Calendar"
    81998673msgstr ""
    82008674
    8201 #: templates/single-emwc_event.php:712
     8675#: templates/single-emwc_event.php:716
    82028676msgid "Outlook"
    82038677msgstr ""
    82048678
    8205 #: templates/single-emwc_event.php:715
     8679#: templates/single-emwc_event.php:719
    82068680msgid "Yahoo Calendar"
    82078681msgstr ""
    82088682
    8209 #: templates/single-emwc_event.php:718
     8683#: templates/single-emwc_event.php:722
    82108684msgid "Download iCal (.ics) - Works with Apple Calendar, Thunderbird, and other apps"
    82118685msgstr ""
    82128686
    8213 #: templates/single-emwc_event.php:727
     8687#: templates/single-emwc_event.php:731
    82148688#: templates/single-emwc_speaker.php:209
    82158689msgid "Share"
  • evenzo-events-manager/trunk/readme.txt

    r3829439 r3831477  
    55Tested up to: 7.1
    66Requires PHP: 7.4
    7 Stable tag: 1.1.7
     7Stable tag: 1.2.0
    88License: GPLv2 or later
    99License URI: https://www.gnu.org/licenses/gpl-2.0.html
    … …  
    232232
    233233Yes, from Events > Add Booking or the Book tickets link on an event in Events > All Events. Each booking is a regular WooCommerce order, paid or complimentary, so tickets, emails, stock and reports work as they do for an online order. Seats and capacity are checked before anything is booked, and booking over capacity needs a checkbox you tick on purpose.
     234
     235= Can customers cancel their own tickets? =
     236
     237Yes, if you turn it on. Go to Evenzo > Settings > Tickets > Changes by customers and tick "Let customers cancel tickets from My Account". Set the deadline in hours before the event starts (24 by default; 0 means until it starts). Customers see a Cancel ticket button in My Account > My Tickets until the deadline. A cancelled ticket frees its place, puts the product stock back and notifies the waitlist. Evenzo doesn't refund the order. Refund it in WooCommerce, or hook `emwc_pre_cancel_ticket` to do it for you.
     238
     239= Can a customer give a ticket to someone else? =
     240
     241Yes, if you tick "Let customers transfer tickets to another person" in the same settings box. The customer enters the new holder's name and email in My Tickets. The old ticket code stops working, a new code is made and the new holder gets the ticket email. The buyer still sees the ticket in My Tickets. A ticket can be transferred 3 times, and one customer can make 10 transfers in 24 hours. Both limits can be changed with the `emwc_transfer_limits` filter.
     242
     243= A guest bought tickets and made an account later. Can they see the tickets? =
     244
     245Yes. The order received page and the ticket email carry a "Save these tickets to your account" link. The guest signs in with the same email address used for the order, confirms, and the tickets appear in My Tickets. If the emails don't match, Evenzo asks them to sign in with the order's email.
     246
     247= Can I give members a lower ticket price? =
     248
     249Yes, with WooCommerce Memberships or Paid Memberships Pro. Edit the ticket product, tick "Member prices" on the General tab and set a percent off or a fixed price for each plan. A member who holds several plans gets the lowest price. Other customers pay the regular price.
    234250
    235251= Can customers pick their own seats? =
    … …  
    316332
    317333== Changelog ==
     334
     335= 1.2.0 =
     336* New: Customers can cancel a ticket from My Account > My Tickets, up to a deadline you set. It's off until you turn it on under Evenzo > Settings > Tickets > Changes by customers. Cancelling gives the place back to stock and the waitlist.
     337* New: Customers can transfer a ticket to another person from My Tickets. The new holder gets a new ticket code and the ticket email, and the old code stops working. Transfers are off until you turn them on in the same settings box.
     338* New: Transfers are limited to 3 per ticket and 10 per customer in 24 hours. Change them with the `emwc_transfer_limits` filter. Admins aren't limited.
     339* New: The buyer keeps managing a ticket after it is transferred, so a customer who booked for a group can still see it in My Tickets. The old holder's custom field answers are cleared on transfer.
     340* New: Two new default emails, "Ticket cancelled" for the buyer and "Ticket cancelled (admin)" for the shop. The admin email goes out only when a customer cancels. Both are under WooCommerce > Settings > Emails.
     341* New: Cancelling a ticket as an admin now emails the buyer and puts the stock back. Order notes say who cancelled it.
     342* New: The "Notify ticket holders" box on an event is checked by default. Changing the date, time or venue emails each ticket holder once, through Action Scheduler, with an optional message from you.
     343* New: Member prices for tickets, with WooCommerce Memberships or Paid Memberships Pro. Set a percent or fixed price per plan on the ticket.
     344* New: The ticket sales window can be set relative to the event start, for example open 5 days before and close 2 hours before.
     345* New: Guests can save the tickets from a guest order to their account with the link on the order received page and in the ticket email. They must sign in with the email used for the order.
     346* Fix: A ticket whose sales end date was ahead showed "Hurry! Sales end in" on a sold-out event. It now shows "Sold Out".
     347* Fix: My Tickets listed only the tickets with the buyer's own name. It now lists every ticket the buyer bought and shows the attendee in a new column.
     348* Dev: New hooks `emwc_pre_cancel_ticket`, `emwc_customer_can_cancel_ticket`, `emwc_customer_cancel_hours`, `emwc_customer_transfer_hours`, `emwc_my_tickets_ticket_actions`, `emwc_pre_transfer_ticket`, `emwc_ticket_transferred`, `emwc_transfer_limits`, `emwc_can_claim_order`, `emwc_order_claimed`, `emwc_member_ticket_price`, `emwc_user_membership_ids` and `emwc_event_update_recipients`.
     349* Dev: `emwc_ticket_cancelled` now passes a third argument, `$context`, with `by`, `user_id`, `order` and `item`.
    318350
    319351= 1.1.7 =
    … …  
    472504== Upgrade Notice ==
    473505
     506= 1.2.0 =
     507Customers can cancel and transfer their own tickets, guests can save tickets to an account, and members can get lower ticket prices. New default emails tell buyers about cancelled tickets and event changes.
     508
    474509= 1.1.7 =
    475510Ticket and admin emails now name each ticket's own attendee instead of the buyer.
  • evenzo-events-manager/trunk/templates/emails/plain/registration-confirmation.php

    r3829439 r3831477  
    7979}
    8080
     81$emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : '';
     82if ( '' !== $emwc_claim_url ) {
     83        EMWC_Guest_Claim::print_email_link( $emwc_claim_url, true );
     84}
     85
    8186echo esc_html__( 'We look forward to seeing you at the event!', 'evenzo-events-manager' );
    8287echo "\n\n";
  • evenzo-events-manager/trunk/templates/emails/plain/ticket-delivery.php

    r3829439 r3831477  
    8989}
    9090
     91$emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : '';
     92if ( '' !== $emwc_claim_url ) {
     93        EMWC_Guest_Claim::print_email_link( $emwc_claim_url, true );
     94}
     95
    9196echo "----------------------------------------\n";
    9297echo esc_html__( 'IMPORTANT', 'evenzo-events-manager' ) . "\n";
  • evenzo-events-manager/trunk/templates/emails/registration-confirmation.php

    r3829439 r3831477  
    111111<?php endif; ?>
    112112
     113<?php
     114$emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : '';
     115if ( '' !== $emwc_claim_url ) {
     116        EMWC_Guest_Claim::print_email_link( $emwc_claim_url, false );
     117}
     118?>
     119
    113120<p><?php esc_html_e( 'We look forward to seeing you at the event!', 'evenzo-events-manager' ); ?></p>
    114121
  • evenzo-events-manager/trunk/templates/emails/ticket-delivery.php

    r3829439 r3831477  
    134134?>
    135135
     136<?php
     137$emwc_claim_url = ( $order instanceof WC_Order && class_exists( 'EMWC_Guest_Claim' ) ) ? EMWC_Guest_Claim::get_email_link( $order, $email->get_recipient() ) : '';
     138if ( '' !== $emwc_claim_url ) {
     139        EMWC_Guest_Claim::print_email_link( $emwc_claim_url, false );
     140}
     141?>
     142
    136143<p><strong><?php esc_html_e( 'Important:', 'evenzo-events-manager' ); ?></strong></p>
    137144<ul>
  • evenzo-events-manager/trunk/templates/single-emwc_event.php

    r3716241 r3831477  
    6767                        : $emwc_event_id;
    6868        }
    69         $emwc_date_on_sale = $emwc_date_id && 'available' === EMWC_Recurring_Tickets::get_date_status( $emwc_date_id );
     69        $emwc_date_status = $emwc_date_id ? EMWC_Recurring_Tickets::get_date_status( $emwc_date_id ) : '';
     70        // A ticket sells the date only inside its own sales window.
     71        $emwc_on_sale_for = function ( $emwc_ticket ) use ( $emwc_date_id, $emwc_date_status ) {
     72                return $emwc_date_id && 'available' === EMWC_Recurring_Tickets::apply_window( $emwc_date_status, $emwc_date_id, $emwc_ticket );
     73        };
    7074
    7175        // The date the page shows: the chosen date on a series page, else this event.
    … …  
    443447                                        <?php if ( $emwc_has_tickets && 'cancelled' !== $emwc_event_status ) : ?>
    444448                                                <?php if ( $emwc_series_id === $emwc_event_id ) : ?>
    445                                                         <?php echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $emwc_series_id, $emwc_date_id, true ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() ); ?>
     449                                                        <?php echo wp_kses( EMWC_Recurring_Tickets::render_date_picker( $emwc_series_id, $emwc_date_id, true, array_values( $emwc_series_products ) ), EMWC_Recurring_Tickets::get_date_picker_allowed_html() ); ?>
    446450                                                <?php elseif ( $emwc_series_id ) : ?>
    447451                                                        <p class="emwc-series-note">
    … …  
    521525                                                                ?>
    522526                                                        </div>
    523                                                         <?php if ( $emwc_single_product->is_in_stock() && $emwc_single_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_date_on_sale ) ) : ?>
     527                                                        <?php if ( $emwc_single_product->is_in_stock() && $emwc_single_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_on_sale_for( $emwc_single_product ) ) ) : ?>
    524528                                                                <form class="emwc-ticket-form" method="post" action="<?php echo esc_url( get_permalink() ); ?>">
    525529                                                                        <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $emwc_single_product->get_id() ); ?>" />
    … …  
    629633                                                                                <?php if ( 'coming_soon' === $emwc_var_status['status'] ) : ?>
    630634                                                                                        <span class="button disabled emwc-btn-sm"><?php esc_html_e( 'Soon', 'evenzo-events-manager' ); ?></span>
    631                                                                                 <?php elseif ( $emwc_var_product->is_in_stock() && $emwc_var_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_date_on_sale ) ) : ?>
     635                                                                                <?php elseif ( $emwc_var_product->is_in_stock() && $emwc_var_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_single_product->get_id() ] ) || $emwc_on_sale_for( $emwc_single_product ) ) ) : ?>
    632636                                                                                        <form class="emwc-ticket-form emwc-ticket-form-inline" method="post" action="<?php echo esc_url( get_permalink() ); ?>">
    633637                                                                                                <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $emwc_single_product->get_id() ); ?>" />
    … …  
    662666                                                                        <?php if ( 'coming_soon' === $emwc_prod_status['status'] ) : ?>
    663667                                                                                <span class="button disabled emwc-btn-sm"><?php esc_html_e( 'Soon', 'evenzo-events-manager' ); ?></span>
    664                                                                         <?php elseif ( $emwc_product->is_in_stock() && $emwc_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_product->get_id() ] ) || $emwc_date_on_sale ) ) : ?>
     668                                                                        <?php elseif ( $emwc_product->is_in_stock() && $emwc_product->is_purchasable() && ( ! isset( $emwc_series_products[ $emwc_product->get_id() ] ) || $emwc_on_sale_for( $emwc_product ) ) ) : ?>
    665669                                                                                <form class="emwc-ticket-form emwc-ticket-form-inline" method="post" action="<?php echo esc_url( get_permalink() ); ?>">
    666670                                                                                        <input type="hidden" name="add-to-cart" value="<?php echo esc_attr( $emwc_product->get_id() ); ?>" />
  • evenzo-events-manager/trunk/uninstall.php

    r3826082 r3831477  
    117117                'emwc_collect_attendee_info',
    118118                'emwc_allow_mixed_cart',
     119                'emwc_customer_cancel',
     120                'emwc_customer_cancel_hours',
     121                'emwc_customer_transfer',
     122                'emwc_customer_transfer_hours',
    119123                'emwc_min_tickets_default',
    120124                'emwc_max_tickets_default',
    … …  
    178182        }
    179183
    180         // Reminder flags (one per event and attendee), booking locks, and the settings of the plugin's WooCommerce emails.
    181         // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
    182         $wpdb->query(
    183                 $wpdb->prepare(
    184                         "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s",
     184        // Reminder flags (one per event and attendee), booking locks, queued update email lists, and the settings of the plugin's WooCommerce emails.
     185        // phpcs:ignore WordPress.DB.DirectDatabaseQuery.DirectQuery, WordPress.DB.DirectDatabaseQuery.NoCaching
     186        $wpdb->query(
     187                $wpdb->prepare(
     188                        "DELETE FROM {$wpdb->options} WHERE option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s OR option_name LIKE %s",
    185189                        $wpdb->esc_like( '_emwc_reminder_sent_' ) . '%',
    186190                        $wpdb->esc_like( 'emwc_booking_lock_' ) . '%',
     191                        $wpdb->esc_like( 'emwc_update_job_' ) . '%',
    187192                        $wpdb->esc_like( 'woocommerce_emwc_' ) . '%' . $wpdb->esc_like( '_settings' )
    188193                )
    … …  
    218223 */
    219224function emwc_uninstall_cron() {
    220         foreach ( array( 'emwc_send_event_reminders', 'emwc_waitlist_expiration_check', 'emwc_release_expired_seats', 'emwc_deliver_webhook', 'emwc_webhook_retry' ) as $hook ) {
     225        foreach ( array( 'emwc_send_event_reminders', 'emwc_waitlist_expiration_check', 'emwc_release_expired_seats', 'emwc_cleanup_update_jobs', 'emwc_deliver_webhook', 'emwc_webhook_retry' ) as $hook ) {
    221226                wp_unschedule_hook( $hook );
    222227        }
     228        if ( function_exists( 'as_unschedule_all_actions' ) ) {
     229                as_unschedule_all_actions( 'emwc_send_event_update_batch' );
     230                as_unschedule_all_actions( 'emwc_send_ticket_cancelled_batch' );
     231        }
     232        wp_unschedule_hook( 'emwc_send_event_update_batch' );
     233        wp_unschedule_hook( 'emwc_send_ticket_cancelled_batch' );
    223234}
    224235
Note: See TracChangeset for help on using the changeset viewer.