{"id":1951052,"date":"2021-11-03T07:46:29","date_gmt":"2021-11-03T11:46:29","guid":{"rendered":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/?post_type=tribe-knowledgebase&#038;p=1951052"},"modified":"2022-02-24T10:48:45","modified_gmt":"2022-02-24T15:48:45","slug":"tickets-commerce-template-files","status":"publish","type":"post","link":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/tickets-commerce-template-files\/","title":{"rendered":"Tickets Commerce Template Files"},"content":{"rendered":"\n<p>Event Tickets comes with a number of template files that determine how the plugin looks and behaves. We call these templates&nbsp;<strong>views<\/strong>&nbsp;because they create the pages and elements that you see on your site.<\/p>\n\n\n\n<p>Each plugin and add-on has its own unique set of templates and each template can be copied and&nbsp;<a href=\"https:\/\/dev.theeventscalendar.com\/knowledgebase\/k\/customizing-template-files-2\/\" target=\"_blank\" rel=\"noreferrer noopener\">customized in your theme folder<\/a>.<\/p>\n\n\n\n<p>We\u2019ve 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.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tickets-commerce-checkout\">Tickets Commerce Checkout<\/h2>\n\n\n\n<p>Parent folder located at: <\/p>\n\n\n\n<p><code>event-tickets\/src\/views\/v2\/commerce\/checkout<\/code><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>Template<\/th><th>What it Does<\/th><\/tr><\/thead><tbody><tr><td><code>\/cart\/empty\/description.php<\/code><\/td><td>This is the text that appears when the cart is empty.<\/td><\/tr><tr><td><code>\/cart\/empty\/title.php<\/code><\/td><td>The title that appears when the cart is empty.<\/td><\/tr><tr><td><code>\/cart\/footer\/quantity.php<\/code><\/td><td>Shows the checkout cart footer quantity.<\/td><\/tr><tr><td><code>\/cart\/footer\/total.php<\/code><\/td><td>Displays the checkout cart total in the footer.<\/td><\/tr><tr><td><code>\/cart\/item\/details\/description.php<\/code><\/td><td>Contains the checkout cart item description.<\/td><\/tr><tr><td><code>\/cart\/item\/details\/title.php<\/code><\/td><td>Has the checkout cart item title.<\/td><\/tr><tr><td><code>\/cart\/item\/details\/toggle.php<\/code><\/td><td>Toggles the ticket details on or off.<\/td><\/tr><tr><td><code>\/cart\/item\/details.php<\/code><\/td><td>Checkout cart item details.<\/td><\/tr><tr><td><code>\/cart\/item\/price.php<\/code><\/td><td>Displays the checkout cart item price.<\/td><\/tr><tr><td><code>\/cart\/item\/quantity.php<\/code><\/td><td>Shows the checkout cart item quantity.<\/td><\/tr><tr><td><code>\/cart\/item\/sub-total.php<\/code><\/td><td>Checkout cart item sub-total.<\/td><\/tr><tr><td><code>\/cart\/empty.php<\/code><\/td><td>The wrapper for the title and description of an empty checkout cart.<\/td><\/tr><tr><td><code>\/cart\/footer.php<\/code><\/td><td>The wrapper for the checkout cart footer.<\/td><\/tr><tr><td><code>\/cart\/header.php<\/code><\/td><td>Contains the checkout cart header.<\/td><\/tr><tr><td><code>\/cart\/item.php<\/code><\/td><td>Checkout cart item wrapper.<\/td><\/tr><tr><td><code>\/cart\/items.php<\/code><\/td><td>Wrapper for multiple checkout items.<\/td><\/tr><tr><td><code>\/footer\/gateway-error.php<\/code><\/td><td>Shows a gateway error at checkout.<\/td><\/tr><tr><td><code>\/header\/links\/back.php<\/code><\/td><td>Checkout page header backlinks.<\/td><\/tr><tr><td><code>\/header\/links\/modify-attendees.php<\/code><\/td><td>Checkout page links to modify attendees.<\/td><\/tr><tr><td><code>\/header\/links.php<\/code><\/td><td>Wrapper for checkout page header links.<\/td><\/tr><tr><td><code>\/header\/title.php<\/code><\/td><td>Displays the checkout page header title.<\/td><\/tr><tr><td><code>\/must-login\/login.php<\/code><\/td><td>Shows the button requiring users to log in to purchase.<\/td><\/tr><tr><td><code>\/must-login\/registration.php<\/code><\/td><td>Provides the link to register a new account.<\/td><\/tr><tr><td><code>\/cart.php<\/code><\/td><td>Wrapper for the checkout cart.<\/td><\/tr><tr><td><code>\/fields.php<\/code><\/td><td>Contains the wrapper for checkout page fields.<\/td><\/tr><tr><td><code>\/footer.php<\/code><\/td><td>Checkout page footer wrapper.<\/td><\/tr><tr><td><code>\/header.php<\/code><\/td><td>Checkout page header wrapper.<\/td><\/tr><tr><td><code>\/must-login.php<\/code><\/td><td>Checkout page &#8220;must log in&#8221; wrapper.<\/td><\/tr><tr><td><code>\/gateways.php<\/code><\/td><td>The container where we display the list of gateways.<\/td><\/tr><tr><td><code>\/purchaser-info.php<\/code><\/td><td>Purchaser information form for anonymous purchases.<\/td><\/tr><tr><td><code>\/purchaser-info\/email.php<\/code><\/td><td>Purchaser information email field for anonymous purchases.<\/td><\/tr><tr><td><code>\/purchaser-info\/name.php<\/code><\/td><td>Purchaser information name field for anonymous purchases.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tickets-commerce-gateway\">Tickets Commerce Gateway<\/h2>\n\n\n\n<p>Parent folder located at:<\/p>\n\n\n\n<p><code>event-tickets\/src\/views\/v2\/commerce\/gateway<\/code><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>Template<\/th><th>What it Does<\/th><\/tr><\/thead><tbody><tr><td><code>\/paypal\/buttons.php<\/code><\/td><td>Displays PayPal checkout buttons.<\/td><\/tr><tr><td><code>\/paypal\/checkout-script.php<\/code><\/td><td>Contains the PayPal checkout scripts.<\/td><\/tr><tr><td><code>\/paypal\/container.php<\/code><\/td><td>The PayPal container for checkout.<\/td><\/tr><tr><td><code>\/stripe\/card-elements.php<\/code><\/td><td>Displays the Stripe card element.<\/td><\/tr><tr><td><code>\/stripe\/container.php<\/code><\/td><td>Shows the Stripe container for checkout.<\/td><\/tr><tr><td><code>\/stripe\/payment-element.php<\/code><\/td><td>Shows the Stripe payment element.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tickets-commerce-orders\">Tickets Commerce Orders<\/h2>\n\n\n\n<p>Parent folder located at:<\/p>\n\n\n\n<p><code>event-tickets\/src\/views\/v2\/commerce\/order<\/code><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>Template <\/th><th>What it Does<\/th><\/tr><\/thead><tbody><tr><td><code>\/details\/date.php&nbsp;<\/code><\/td><td>Contains the date for the success page order details.<\/td><\/tr><tr><td><code>\/details\/email.php<\/code><\/td><td>Email on the success page order details.<\/td><\/tr><tr><td><code>\/details\/order-number.php<\/code><\/td><td>Order number on the success page order details.<\/td><\/tr><tr><td><code>\/details\/payment-method.php<\/code><\/td><td>Contains payment method on success page order details.<\/td><\/tr><tr><td><code>\/details\/total.php<\/code><\/td><td>Success page order details total.<\/td><\/tr><tr><td><code>\/footer\/links\/back-home.php<\/code><\/td><td>Success order page footer links back home.<\/td><\/tr><tr><td><code>\/footer\/links\/browse-events.php<\/code><\/td><td>Success order page footer links back to browse events.<\/td><\/tr><tr><td><code>\/footer\/links.php<\/code><\/td><td>Wrapper for footer links.<\/td><\/tr><tr><td><code>\/description.php<\/code><\/td><td>Success order page description.<\/td><\/tr><tr><td><code>\/details.php<\/code><\/td><td>Wrapper for success order page details.<\/td><\/tr><tr><td><code>\/footer.php<\/code><\/td><td>Wrapper for success order page footer.<\/td><\/tr><tr><td><code>\/header.php<\/code><\/td><td>Success order page header.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-tickets-commerce-pages\">Tickets Commerce Pages<\/h2>\n\n\n\n<p>Parent folder located at:<\/p>\n\n\n\n<p><code>event-tickets\/src\/views\/v2\/commerce\/<\/code><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>Template<\/th><th>What it Does<\/th><\/tr><\/thead><tbody><tr><td><code>\/checkout.php<\/code><\/td><td>Wrapper for checkout page.<\/td><\/tr><tr><td><code>\/success.php<\/code><\/td><td>Wrapper for success order page.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-event-tickets-plus\">Event Tickets Plus<\/h2>\n\n\n\n<p>Parent folder located at:<\/p>\n\n\n\n<p><code>event-tickets-plus\/src\/views\/v2\/commerce\/checkout<\/code><\/p>\n\n\n\n<figure class=\"wp-block-table is-style-stripes\"><table class=\"has-fixed-layout\"><thead><tr><th>Template<\/th><th>What it Does<\/th><\/tr><\/thead><tbody><tr><td><code>\/cart\/item\/details\/extra.php<\/code><\/td><td>List the Attendee Registration Fields on checkout page.<\/td><\/tr><tr><td><code>\/header\/links\/modify-attendees.php<\/code><\/td><td>Includes the link to &#8220;Modify Attendees&#8221; on the checkout page if there are tickets with attendee registration fields.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Event Tickets comes with a number of template files that determine how the plugin looks and behaves. We call these templates&nbsp;views&nbsp;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&nbsp;customized in your theme folder&#8230;.<\/p>\n","protected":false},"author":3,"featured_media":1955565,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","_swpsp_post_exclude":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"ep_exclude_from_search":false,"footnotes":""},"categories":[24,84],"tags":[],"stellar-product-taxonomy":[155],"class_list":["post-1951052","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-customizing","category-theming-overview","stellar-product-taxonomy-event-tickets"],"acf":[],"taxonomy_info":{"category":[{"value":24,"label":"Customizations"},{"value":84,"label":"Templating &amp; Layout"}],"stellar-product-taxonomy":[{"value":155,"label":"Event Tickets"}]},"featured_image_src_large":["https:\/\/images.theeventscalendar.com\/kb\/uploads\/2023\/02\/social-share-1024x538.png",1024,538,true],"author_info":{"display_name":"Jaime Marchwinski","author_link":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/author\/jaimetri-be\/"},"comment_info":0,"category_info":[{"term_id":24,"name":"Customizations","slug":"customizing","term_group":0,"term_taxonomy_id":24,"taxonomy":"category","description":"","parent":0,"count":110,"filter":"raw","term_order":"0","cat_ID":24,"category_count":110,"category_description":"","cat_name":"Customizations","category_nicename":"customizing","category_parent":0},{"term_id":84,"name":"Templating &amp; Layout","slug":"theming-overview","term_group":0,"term_taxonomy_id":84,"taxonomy":"category","description":"","parent":24,"count":59,"filter":"raw","term_order":"0","cat_ID":84,"category_count":59,"category_description":"","cat_name":"Templating &amp; Layout","category_nicename":"theming-overview","category_parent":24}],"tag_info":false,"_links":{"self":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1951052","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/comments?post=1951052"}],"version-history":[{"count":1,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1951052\/revisions"}],"predecessor-version":[{"id":1955905,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/posts\/1951052\/revisions\/1955905"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media\/1955565"}],"wp:attachment":[{"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/media?parent=1951052"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/categories?post=1951052"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/tags?post=1951052"},{"taxonomy":"stellar-product-taxonomy","embeddable":true,"href":"https:\/\/dev.theeventscalendar.com\/knowledgebase\/wp-json\/wp\/v2\/stellar-product-taxonomy?post=1951052"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}