The Sell Tickets add-on helps organizers sell event tickets and track sales with ease.
Installing the Plugin
The installation process is the same for all WP Event Manager add-ons. They can be installed automatically or manually.
Automatic Installation: Install the plugin directly from the WordPress backend. View the automatic installation instructions.
Manual Installation: Install the plugin manually using SFTP or FTP tools. View the manual installation instructions.
Displaying Ticket Options on the Event Submission Form
The Sell Tickets add-on allows you to offer three types of tickets:
Paid tickets.
Free tickets.
Donation tickets.
To display these options on the event submission form, enable the corresponding fields in the Sell Tickets settings.
Sell Tickets Settings
To access the Sell Tickets settings:
Go to wp-admin.
Click on Event Manager.
Select Settings.
Open the Sell Tickets tab.
The following options are available:
Show Paid Tickets Field: Enable this option to display the Paid Tickets option on the event submission form.
Show Free Tickets Field: Enable this option to display the Free Tickets option on the event submission form.
Show Donation Tickets Field: Enable this option to display the Donation Tickets option on the event submission form.
Show Event Registration Addon Form: Enable this option to display the Register for event button on the event detail page.
Enable Multiple Event Ticket Purchase: Enable this option to allow attendees to purchase tickets for different events in a single order.
Select Address For Ticket PDF: Choose whether to include the event location, event venue, or both in the address section of the ticket PDF.
Select Ticket Layout: Choose your preferred ticket layout:
Default: Use the default ticket layout.
Style 1 to 6: Choose from the available predefined styles.
Custom: Customize the ticket HTML using dynamic tags.
Design Ticket: Customize the ticket’s visual design.
WooCommerce Registration Status Mapping: Configure the relationship between WooCommerce order statuses and registration statuses.
Custom Ticket Layout
The Custom styling option allows you to customize the ticket HTML and define how ticket information is displayed.
You can use the available dynamic tags to display:
Event details.
Organizer details.
Attendee details.
Order details.
Ticket details.
Tags also support optional prefix and suffix values, which are displayed only when the corresponding value is available.
When you select Custom and save the settings, the following fields become available:
Ticket PDF: Paste your ticket HTML into this field.
Test Email: Enter the email address you want to use for testing the ticket.
The following sample files contain ticket HTML:
Design Ticket
The Design Ticket option allows you to customize the appearance of your tickets.
Go to wp-admin >> Event Manager >> Settings >> Sell Tickets.
Under Select Ticket Layout, choose Design Ticket.
Configure the options in the Customize your ticket window.
Click on Save Settings.
The ticket design settings include:
Ticket Logo: Select your preferred logo from the available options.
Font: Choose your preferred font style.
Font Color: Select the text color.
Background Color: Choose the ticket background color.
Border Color: Choose the ticket border color.
To check whether your design has been applied:
Go to WooCommerce >> Orders.
Open a ticket order.
Download the ticket.
Check the ticket design.
Adding a Paid Ticket from the Frontend
Use paid tickets when you want to charge attendees for admission to your event.
To add a paid ticket:
Go to the frontend event dashboard.
Click on Events.
Click on the + icon to add a new event.
Fill in the event details on the event submission form.
Select Paid Tickets.
Fill in the ticket details and configure the ticket settings.
Complete the event submission process.
When adding a ticket, you will find two tabs:
Ticket Details
Ticket Settings
The Ticket Details tab contains the following fields:
Ticket Name: Enter the name of the ticket.
Ticket Image: Upload an image for the ticket.
Ticket Quantity: Enter the number of tickets available.
Ticket Price: Enter the regular ticket price.
Sale Price: Enter the sale price, if applicable.
Sales Start Date: Enter the date on which ticket sales begin.
Sales Start Time: Enter the time at which ticket sales begin.
Sales End Date: Enter the date on which ticket sales end.
Sales End Time: Enter the time at which ticket sales end.
Adding a Free Ticket from the Frontend
You can offer free tickets to your attendees using the Free Tickets option on the event submission form.
To add a free ticket:
Go to the frontend event dashboard.
Click on Events.
Add a new event or edit an existing event.
Select Free Tickets.
Fill in the ticket details and configure the ticket settings.
Complete the event submission process.
The Ticket Details tab contains the following fields:
Ticket Name: Enter the name of the ticket.
Ticket Image: Upload an image for the ticket.
Ticket Quantity: Enter the number of tickets available.
Sales Start Date: Enter the date from which tickets will be available.
Sales Start Time: Enter the time from which tickets will be available.
Sales End Date: Enter the date on which ticket availability ends.
Sales End Time: Enter the time at which ticket availability ends.
Adding a Donation Ticket from the Frontend
Donation tickets allow attendees to contribute an amount towards an event. They can be used for charity or crowdfunding events.
To add a donation ticket:
Go to the frontend event dashboard.
Click on Events.
Add a new event or edit an existing event.
Select Donation Tickets.
Fill in the ticket details and configure the ticket settings.
Complete the event submission process.
The Ticket Details tab contains the following fields:
Ticket Name: Enter the name of the ticket.
Ticket Quantity: Enter the number of tickets available.
Minimum Ticket Price: Enter the minimum donation amount.
Sales Start Date: Enter the date on which ticket sales begin.
Sales Start Time: Enter the time at which ticket sales begin.
Sales End Date: Enter the date on which ticket sales end.
Sales End Time: Enter the time at which ticket sales end.
In the Ticket Settings tab, you can also configure:
Fees Pay By: Choose whether the attendee or organizer pays the ticket fees.
Available For: Choose who can purchase the ticket:
Everyone.
Logged-in users.
Guest users.
How Donation Tickets Work on the Frontend
The minimum donation amount entered during event submission appears in the ticket information section on the event detail page.
An attendee can purchase the ticket at the minimum amount or increase the amount they want to donate.
For example, if the minimum price for Donation Ticket A is $20, the attendee will see $20 in the ticket information section. They can purchase the ticket at that amount or increase it using the amount control before clicking on Order Now.
Ticket Settings
The Settings tab appears beside Ticket Details on the frontend event submission form.
Use this tab to configure the following options:
Ticket Description: Enter a description for the ticket.
Show Ticket Description: Enable this option to display the description on the event detail page.
Fees Pay By:
Pay By Attendee: The attendee pays the ticket fees.
Pay By Organizer: The organizer pays the ticket fees.
Available For: Choose who can purchase the ticket:
Everyone.
Logged-in users.
Guest users.
Tickets Visibility:
Private: Visible to the organizer only.
Public: Visible to all.
Minimum Tickets: Set the minimum number of tickets allowed per order.
Maximum Tickets: Set the maximum number of tickets allowed per order.
Show Remaining Tickets: Enable this option to display the remaining ticket quantity on the event detail page.
Sold Tickets Individually: Enable this option to allow only one ticket per customer.
Adding Paid, Free, and Donation Tickets from the Backend
You can create tickets within an event from the WordPress backend.
To add tickets:
Log in to wp-admin.
Open the event listings menu and select Add New, or edit an existing event.
Locate the Tickets section in the event editor.
Add the required ticket type.
Fill in the ticket details and configure its settings.
Click on Save all tickets.
Publish or update the event.
The ticket details are similar to those used on the frontend. Additional ticket options include:
Show Remaining Tickets: Display the remaining ticket quantity on the event detail page.
Sold Tickets Individually: Allow only one ticket per customer.
Ticket Priority: Set the display priority of the ticket.
Adding Tickets from the WooCommerce Product Page
Tickets can also be created as WooCommerce products.
To add a ticket:
Go to wp-admin >> Products >> Add New.
Enter the product name, which will serve as the ticket name.
Enter the description.
Under Product data, select Event Tickets.
Fill in the required details, including:
Ticket price.
Sale price, if applicable.
The event associated with the ticket.
Ticket type: paid, free, or donation.
Sales start and end dates.
Whether ticket fees are paid by the attendee or organizer.
Publish the ticket.
The published ticket will appear on the detail page of the associated event.
Ticket Information Block on the Event Detail Page
Once you add tickets to an event, the ticket information block appears on the event detail page.
This block displays:
Available tickets.
Ticket prices.
Ticket sales dates and availability information.
Ticket quantity selection.
The Order Now button.
frontend-ticket-information.jpg
Order Summary Page
After selecting tickets on the event detail page, attendees are redirected to the Order Summary page.
From this page, attendees can:
Review the selected tickets.
Update the cart if required.
Proceed to checkout.
Ticket Registration Fields on the Checkout Page
At checkout, attendees need to complete the required registration fields.
Admins can add, edit, or delete registration fields from:
wp-admin >> Event Registration >> Registration Form
These fields determine the information attendees must provide when registering for an event.
Displaying Registration Fields Using the Checkout Shortcode
If registration fields do not appear on your checkout page, create a checkout page using:
- [woocommerce_checkout]
To create the page:
Go to wp-admin >> Pages >> Add New.
Give the page a title different from the existing WooCommerce checkout page.
Add the shortcode to the page.
Click on Publish.
Then assign the new checkout page:
Go to WooCommerce >> Settings.
Open the Advanced tab.
Under Checkout page, select the newly created page.
Save the settings.
Check the new checkout page to confirm that the registration fields appear.
Frontend Registration Dashboard
The Sell Tickets and Registration add-ons work together to manage tickets and attendee registrations.
Organizers manage registrations from the frontend registration dashboard.
Admins manage registrations from the backend registration dashboard.
To access the frontend registration dashboard:
Go to the frontend event dashboard.
Select Registrations.
Click on List.
The dashboard displays registration and ticket information, including:
Total registrations.
New registrations.
Confirmed registrations.
Waiting registrations.
Cancelled registrations.
Archived registrations.
Checked-in attendees.
Total sold tickets.
Paid tickets.
Free tickets.
Donation tickets.
Use Select Events to choose an event and view its registration and ticket details.
For the selected event, you can view:
Total sold tickets.
Paid tickets.
Free tickets.
Donation tickets.
Exporting Registration Details
Organizers can export attendee registration details as a CSV file.
To export the data:
Go to the frontend event dashboard.
Select Registrations.
Click on Export.
Select the event.
Click on Download CSV.
Depending on the registration fields and enabled features, exported information can include:
Event ID.
Registration ID.
Registration date.
Registration status.
Attendee first name.
Attendee last name.
Attendee email.
Matchmaking information.
Profession.
Event name.
Check-in information.
Buyer’s name.
Buyer’s email.
Total ticket quantity.
Ticket name.
Registration Report
To access a registration report:
Go to the frontend event dashboard.
Select Registrations.
Click on Report.
Select the event to view its graphical registration report.
Matchmaking Settings
Select Matchmaking Settings from the Registrations menu to access the meeting deletion settings.
The available meeting categories include:
Cancel.
Past.
Pending.
All.
These settings control whether hosts can permanently delete meetings or only cancel them. The meeting types that can be deleted are governed by the admin’s global policy.
Sell Tickets Report
Select Registrations >> Sell Tickets Report to view ticket sales in chart form.
Backend Registration Dashboard
Admins can access attendee registration details from:
wp-admin >> Event Registrations >> All Event Registrations
The backend dashboard also provides ticket information, including sold, paid, and free ticket totals.
Backend Ticket Fees Settings
The Ticket Fee feature allows you to configure additional fees for event tickets.
To access these settings, go to:
wp-admin >> WooCommerce >> Settings >> Ticket Fees
Default Fee Settings
The default fee settings include:
Default Fee: Set the default fee value.
Default Fee Label: Enter the label displayed for the fee.
Maximum Fee: Configure the maximum fee.
Default Fee Mode: Choose whether the fee applies per order or per ticket.
Fee Type: Choose a fixed fee or percentage.
Fee per Order
With Fee per Order, the fee is applied once to an order.
For example, if you configure a fixed fee of $20 per order, a customer purchasing multiple tickets in the same order pays the $20 fee once.
Fee per Ticket
With Fee per Ticket, the fee is calculated based on the number of tickets in the cart.
For example, a fixed fee of $20 per ticket results in a total fee of $60 when the customer purchases three tickets.
Country-Based Fee Settings
Country-based fee settings include:
Country Code
Fee Mode
Fee
Maximum Fee
Fee Label
Fee Type
Sell Tickets Shortcodes
To access the Sell Tickets shortcodes:
Go to wp-admin >> Event Manager >> Shortcodes.
Select WPEM - Sell Tickets from the dropdown.
Click on Filter.
backend-sell-tickets-shortcodes.jpg
The following shortcodes are available:
[event_sell_tickets]
[event_sell_ticket]
Displaying All Tickets for an Event
Use [event_sell_tickets] to display all tickets associated with a specific event.
[event_sell_tickets event_id='integer_value' orderby='_ticket_priority' order='ASC']
Replace integer_value with the event ID.
The shortcode attributes are:
event_id: The event ID as an integer.
orderby: The field used to sort tickets, such as title, ID, posted_date or _ticket_priority. The default is _ticket_priority.
order: The sorting direction, either ASC or DESC. The default is ASC.
Displaying a Specific Ticket
Use [event_sell_ticket] to display a specific ticket.
- [event_sell_ticket ticket_id='integer_value']
Replace integer_value with the ticket ID.
Each shortcode entry in the shortcode list has a View Details button for accessing its information.
Hiding Event Tickets from the WooCommerce Product Page
To hide event tickets from the WooCommerce shop listing:
Open your child theme’s functions.php file.
Add the following code.
Save the file.
- add_action( 'woocommerce_product_query', 'ts_custom_pre_get_posts_query' );
- function ts_custom_pre_get_posts_query( $q ) {
- $tax_query = (array) $q->get( 'tax_query' );
- $tax_query[] = array(
- 'taxonomy' => 'product_type',
- 'field' => 'slug',
- 'terms' => array( 'event_package', 'event_ticket' ),
- 'operator' => 'NOT IN'
- );
- $q->set( 'tax_query', $tax_query );
- }
Tickets Priority
You can customize the order in which event tickets are displayed using the following filter.
In this example, tickets are sorted by price in ascending order:
- add_filter(
- 'event_manager_output_event_sell_tickets_defaults',
- 'YOUR_THEME_SLUG_output_event_sell_tickets_defaults'
- );
- function YOUR_THEME_SLUG_output_event_sell_tickets_defaults( $atts ) {
- $atts['orderby'] = '_price'; // _ticket_priority, ID, name, title
- $atts['order'] = 'ASC'; // ASC, DESC
- return $atts;
- }
Change the orderby and order values to configure your preferred ticket order.
Solving Translation Issues in Ticket PDFs
If a ticket PDF displays question marks or missing characters when using a language such as Hindi, check whether the font used for the PDF supports the required characters.
Configure an appropriate font in dompdf using the following reference:
dompdf font configuration reference
Setting Ticket Start and End Dates and Times
The add-on can automatically populate ticket sales dates and times when creating tickets.
Sales Start Date: Uses the ticket creation date.
Sales Start Time: Uses the time of ticket creation.
Sales End Date: Uses the event end date.
Sales End Time: Uses the event end time.
This functionality is available on both the frontend and backend.
Adding an Image to a Ticket
To add an image to a ticket from the backend:
Go to wp-admin.
Open the relevant event.
Add a ticket or edit an existing ticket.
In the ticket details form, click on Choose File.
Select the ticket image.
Complete the remaining ticket details.
Click on Save all tickets.
Update the event.
You can also add ticket images from the frontend using the Ticket Image field on the event submission form.
Ticket Drag and Drop Functionality
To arrange tickets using drag and drop:
Go to wp-admin >> Event Manager >> All Events.
Select an event and click on Edit.
Add multiple tickets in the Tickets section.
Drag and drop the tickets into your preferred order.
Click on Save all tickets.
Graphic Report in Sell Tickets
To view the ticket sales report:
Go to the frontend event dashboard.
Click on Registrations.
Select Sell Tickets Report.
View the report for all listed events.
To view a specific event, select it from the All Events dropdown.
Click on View Report.
Adding Ticket Names to Custom Tickets
To include a ticket name in a custom ticket layout:
Go to wp-admin >> Event Manager >> Settings.
Open the Sell Tickets tab.
Under Select Ticket Layout, choose Custom.
Click on Save Changes.
Refresh the page.
In the Ticket PDF field, use the ticket name dynamic tag available in the custom layout editor.
Save the updated layout.
To check the ticket:
Go to WooCommerce >> Orders.
Open a ticket order.
Download the ticket and check the displayed ticket name.
Purchasing Tickets for Different Events in a Single Order
To allow attendees to purchase tickets for different events in one order:
Go to wp-admin >> Event Manager >> Settings.
Open the Sell Tickets tab.
Enable Multiple Event Tickets Purchase.
Click on Save Changes.
Once enabled, attendees can purchase tickets for multiple events in a single order.
Exporting Registration Data from the Backend
To export event registration data:
Go to wp-admin.
Click on Event Registration.
Select All Registrations.
Select the required event or events.
Click on Export Registration.
The selected registration data is exported as a CSV file.
Remember: If you have overridden a template file, keep it synchronized with updates to the plugin’s original template file to maintain compatibility and access updated functionality.
Advanced Template Overrides and Customization
The Sell Tickets template files are located in:
wp-event-manager-sell-tickets/templates/
To override a template:
Create a folder named wp-event-manager-sell-tickets inside your active theme or child theme.
Copy the required template file from the plugin’s templates directory into this folder.
Customize the copied file.
For example, the override directory in a child theme would be:
/wp-content/themes/your-child-theme/wp-event-manager-sell-tickets/
The examples below are for reference and help identify where each template is used.
content-single-event-listing-ticket.php: Controls the display of the ticket type, such as Free or Paid. View example
tickets-overview-detail.php: Controls the ticket overview section, including total tickets sold and the breakdown of paid and free tickets. View example
registered-user-purchased-tickets-detail.php: Controls ticket details for an attendee in the Attendee List section of the Event Registrations List page. These details include ticket type, ticket name, and ticket price. View example
event-registration-dashboard-buyer-details.php: Controls buyer information displayed in the event registration dashboard. View example
ticket-link-registration-dashboard.php: Controls the design and appearance of the Download Ticket link in the event registration dashboard.
sell-tickets-report.php: Controls the Sell Tickets Report section on the event dashboard. View example