Event Tickets comes with a number of template files that determine how the plugin looks and behaves. We call these templates views because they create the pages and elements that you see on your site.
Each plugin and add-on has its own unique set of templates and each template can be copied and customized in your theme folder.
We’ve put together an outline of all of the available templates that come included with Tickets Commerce, so that you can customize them to your liking.
Tickets Commerce Checkout
Parent folder located at:
event-tickets/src/views/v2/commerce/checkout
Template | What it Does |
---|---|
/cart/empty/description.php | This is the text that appears when the cart is empty. |
/cart/empty/title.php | The title that appears when the cart is empty. |
/cart/footer/quantity.php | Shows the checkout cart footer quantity. |
/cart/footer/total.php | Displays the checkout cart total in the footer. |
/cart/item/details/description.php | Contains the checkout cart item description. |
/cart/item/details/title.php | Has the checkout cart item title. |
/cart/item/details/toggle.php | Toggles the ticket details on or off. |
/cart/item/details.php | Checkout cart item details. |
/cart/item/price.php | Displays the checkout cart item price. |
/cart/item/quantity.php | Shows the checkout cart item quantity. |
/cart/item/sub-total.php | Checkout cart item sub-total. |
/cart/empty.php | The wrapper for the title and description of an empty checkout cart. |
/cart/footer.php | The wrapper for the checkout cart footer. |
/cart/header.php | Contains the checkout cart header. |
/cart/item.php | Checkout cart item wrapper. |
/cart/items.php | Wrapper for multiple checkout items. |
/footer/gateway-error.php | Shows a gateway error at checkout. |
/header/links/back.php | Checkout page header backlinks. |
/header/links/modify-attendees.php | Checkout page links to modify attendees. |
/header/links.php | Wrapper for checkout page header links. |
/header/title.php | Displays the checkout page header title. |
/must-login/login.php | Shows the button requiring users to log in to purchase. |
/must-login/registration.php | Provides the link to register a new account. |
/cart.php | Wrapper for the checkout cart. |
/fields.php | Contains the wrapper for checkout page fields. |
/footer.php | Checkout page footer wrapper. |
/header.php | Checkout page header wrapper. |
/must-login.php | Checkout page “must log in” wrapper. |
/gateways.php | The container where we display the list of gateways. |
/purchaser-info.php | Purchaser information form for anonymous purchases. |
/purchaser-info/email.php | Purchaser information email field for anonymous purchases. |
/purchaser-info/name.php | Purchaser information name field for anonymous purchases. |
Tickets Commerce Gateway
Parent folder located at:
event-tickets/src/views/v2/commerce/gateway
Template | What it Does |
---|---|
/paypal/buttons.php | Displays PayPal checkout buttons. |
/paypal/checkout-script.php | Contains the PayPal checkout scripts. |
/paypal/container.php | The PayPal container for checkout. |
/stripe/card-elements.php | Displays the Stripe card element. |
/stripe/container.php | Shows the Stripe container for checkout. |
/stripe/payment-element.php | Shows the Stripe payment element. |
Tickets Commerce Orders
Parent folder located at:
event-tickets/src/views/v2/commerce/order
Template | What it Does |
---|---|
/details/date.php | Contains the date for the success page order details. |
/details/email.php | Email on the success page order details. |
/details/order-number.php | Order number on the success page order details. |
/details/payment-method.php | Contains payment method on success page order details. |
/details/total.php | Success page order details total. |
/footer/links/back-home.php | Success order page footer links back home. |
/footer/links/browse-events.php | Success order page footer links back to browse events. |
/footer/links.php | Wrapper for footer links. |
/description.php | Success order page description. |
/details.php | Wrapper for success order page details. |
/footer.php | Wrapper for success order page footer. |
/header.php | Success order page header. |
Tickets Commerce Pages
Parent folder located at:
event-tickets/src/views/v2/commerce/
Template | What it Does |
---|---|
/checkout.php | Wrapper for checkout page. |
/success.php | Wrapper for success order page. |
Event Tickets Plus
Parent folder located at:
event-tickets-plus/src/views/v2/commerce/checkout
Template | What it Does |
---|---|
/cart/item/details/extra.php | List the Attendee Registration Fields on checkout page. |
/header/links/modify-attendees.php | Includes the link to “Modify Attendees” on the checkout page if there are tickets with attendee registration fields. |