Ticket

Internal link: Allow sell ticket in your site

External link: When click booking ticket, The system will redirect to link that you setup.

Add bellow code to functions.php file in child theme

add_filter( 'el_show_ticket_internal_link_field', '__return_false' );

Add bellow code to functions.php file in child theme

add_filter( 'el_show_ticket_external_link_field', '__return_false' );
add_filter( 'el_ticket_link_default', function(){ return  'ticket_external_link'; } );

Support 3 types of tickets: No Seat, Simple Seat, Map

None Ticket: Don't use seat code in ticket

Simple Ticket: - Seat Code List: You have to insert Seat Code List here. - Customers choose seat: Yes (The customer can choose seat code when booking), No (The seat code does not display customers' choices , it is automatically assigned random seat code for each booking.)

Map Ticket: Customers can choose Seat Code in Map Image Shortcodes Map: Only admin can make shortcode map. Please follow steps bellow :

Hide "No Seat" option

Add bellow code to functions.php file in child theme

add_filter( 'el_show_ticket_type_no_seat', '__return_false' );

Hide "Simple Seat" option

Add bellow code to functions.php file in child theme

add_filter( 'el_show_ticket_type_simple', '__return_false' );

Hide "Map" option

Add bellow code to functions.php file in child theme

add_filter( 'el_show_ticket_type_map', '__return_false' );

Setup "Simple Seat" option is Default

Add bellow code to functions.php file in child theme

add_filter( 'el_ticket_type_default', function(){ return 'simple'; } );

Setup "Map" option is Deafult

add_filter( 'el_ticket_type_default', function(){ return 'map'; } );

3: Customize Field in this tab

3.1: Customize in template

Without use some above filter hook, you can customize template in child theme:

Copy file 
wp-content/plugins/eventlist/templates/vendor/__edit-event-ticket.php 
to
wp-content/themes/meup-child/eventlist/vendor/__edit-event-ticket.php
and edit code in that file

Last updated