{"id":133965,"date":"2023-08-07T01:04:40","date_gmt":"2023-08-07T08:04:40","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/topics\/tickets\/incrementing-ticket-numbers\/"},"modified":"2026-06-03T12:44:30","modified_gmt":"2026-06-03T19:44:30","slug":"zvysovani-cisel-tipu","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/cs\/docs\/topics\/tickets\/incrementing-ticket-numbers\/","title":{"rendered":"Zvy\u0161ov\u00e1n\u00ed \u010d\u00edsel tip\u016f"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">You can set FooEvents tickets to use incrementing ticket numbers in place of the traditional default ticket ID.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Overview<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">By default, FooEvents generates a <strong>unique ticket ID<\/strong> for each ticket. This ID is included on all tickets and is used to identify the ticket. Here is an example of a ticket that displays a standard non-incremental ticket ID:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"291\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.08.17.png\" alt=\"FooEvents Ticket ID\" class=\"wp-image-133966\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.08.17.png 603w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.08.17-300x145.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When using <strong>incrementing ticket numbers<\/strong>, the ticket ID value will be replaced by an incrementing ticket number as illustrated in the following example:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"283\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.26.19.png\" alt=\"Example of an incrementing ticket number\" class=\"wp-image-133968\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.26.19.png 603w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.26.19-300x141.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The ticket can still also be identified using the standard default ticket ID.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Setting up incrementing ticket numbers<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Incrementing ticket numbers are implemented on a product level and are configured separately for each product. To do so, please follow these steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Go to&nbsp;<strong>Products<\/strong>&nbsp;&gt;&nbsp;<strong>Add\/Edit Product<\/strong>&nbsp;in the main menu<\/li>\n\n\n\n<li>Go to the&nbsp;<strong>Product Data&nbsp;<\/strong>tabs&nbsp;and select \u2018<strong>Ticket Settings<\/strong>\u2019 and scroll down to the following incrementing ticket numbers settings.\n<ol class=\"wp-block-list\">\n<li><strong>Ticket identifier &#8211; <\/strong>This option determines whether the traditional default ticket ID or auto-incrementing ticket number should be used as the ticket identifier.<\/li>\n\n\n\n<li><strong style=\"font-size: 16px;\">Ticket character number &#8211; <\/strong>This option selects how many characters the auto-incrementing ticket number should output. Note: This has no effect on the default Ticket ID number, only the incremental ticket number (if selected).<\/li>\n\n\n\n<li><strong style=\"font-size: 16px;\">Ticket number prefix &#8211; <\/strong>This is an optional alphanumeric prefix displayed before the auto-incrementing ticket number (e.g. AA0001). Note: This has no effect on the default Ticket ID number, only the incremental ticket number (if selected).<\/li>\n\n\n\n<li><strong style=\"font-size: 16px;\">Ticket number suffix &#8211; <\/strong>This is an optional alphanumeric prefix displayed before the auto-incrementing ticket number (e.g. 0001ZA). Note: This has no effect on the default Ticket ID number, only the incremental ticket number (if selected).<\/li>\n<\/ol>\n<\/li>\n\n\n\n<li>Once you have configured these options as needed, <strong>save<\/strong> the product.<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Tickets will then be generated using the applied settings and can be identified by scanning the ticket&#8217;s barcodes\/QR codes using the <a href=\"https:\/\/www.fooevents.com\/apps\/\" target=\"_blank\" rel=\"noopener\">FooEvents Check-ins apps<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Examples settings<\/h2>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"514\" height=\"238\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.35.56.png\" alt=\"Incrementing ticket number settings\" class=\"wp-image-133969\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.35.56.png 514w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.35.56-300x139.png 300w\" sizes=\"auto, (max-width: 514px) 100vw, 514px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The settings shown above will output a ticket number as follows:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>#ABC123_00001_XYZ987<\/li>\n\n\n\n<li>#ABC123_00002_XYZ987<\/li>\n\n\n\n<li>#ABC123_00003_XYZ987<\/li>\n\n\n\n<li>#ABC123_00004_XYZ987<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Ticket Themes<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">All FooEvents ticket themes have been updated to include support for incrementing ticket numbers. <strong>If you installed the FooEvents for WooCommerce plugin before version 1.18.32 (7 August 2023), you will need to update your ticket themes in order to add support for incrementing ticket numbers.<\/strong> For detailed instructions on how to do so, please review <a href=\"https:\/\/help.fooevents.com\/docs\/topics\/tickets\/updating-ticket-themes\/\">this help document<\/a>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If you have made any custom changes to your ticket theme code, you will need to <a href=\"https:\/\/help.fooevents.com\/docs\/topics\/tickets\/ticket-themes\/#modifying-a-ticket-theme-template\">manually update<\/a> your ticket themes &#8216;ticket.php&#8217; file by replacing the following:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ticket['WooCommerceEventsTicketID']<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">with this new variable name:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">$ticket['TicketNumberTicketOutput']<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">Depending on your product configuration, this value will output either the ticket ID or incrementing ticket number.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can set FooEvents tickets to use incrementing ticket numbers in place of the traditional default ticket ID. Overview By default, FooEvents generates a unique ticket ID for each ticket. This ID is included on all tickets and is used to identify the ticket. Here is an example of a ticket that displays a standard [&hellip;]<\/p>\n","protected":false},"featured_media":0,"parent":942,"menu_order":15,"template":"","doc_tag":[],"class_list":["post-133965","docs","type-docs","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/133965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/types\/docs"}],"version-history":[{"count":3,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/133965\/revisions"}],"predecessor-version":[{"id":148878,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/133965\/revisions\/148878"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/docs\/942"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/media?parent=133965"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/cs\/wp-json\/wp\/v2\/doc_tag?post=133965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}