{"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":"2023-08-08T05:32:32","modified_gmt":"2023-08-08T12:32:32","slug":"incremento-del-numero-de-billete","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/es\/docs\/topics\/tickets\/incrementing-ticket-numbers\/","title":{"rendered":"Incrementar el n\u00famero de billetes"},"content":{"rendered":"<p>You can set FooEvents tickets to use incrementing ticket numbers in place of the traditional default ticket ID.<\/p>\n<h3>Overview<\/h3>\n<p>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<p><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone size-full wp-image-133966\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.08.17.png\" alt=\"FooEvents Ticket ID\" width=\"603\" height=\"291\" 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=\"(max-width: 603px) 100vw, 603px\" \/><\/p>\n<p>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<p><img decoding=\"async\" class=\"alignnone size-full wp-image-133968\" 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\" width=\"603\" height=\"283\" 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=\"(max-width: 603px) 100vw, 603px\" \/><\/p>\n<p>The ticket can still also be identified using the standard default ticket ID.<\/p>\n<h3>Setting up incrementing ticket numbers<\/h3>\n<p>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<ol>\n<li>Go to\u00a0<strong>Products<\/strong>\u00a0&gt;\u00a0<strong>Add\/Edit Product<\/strong>\u00a0in the main menu<\/li>\n<li>Go to the\u00a0<strong>Product Data\u00a0<\/strong>tabs\u00a0and select \u2018<strong>Ticket Settings<\/strong>\u2019 and scroll down to the following incrementing ticket numbers settings.\n<ol>\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<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<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<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<li>Once you have configured these options as needed, <strong>save<\/strong> the product.<\/li>\n<\/ol>\n<p>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<h3>Examples settings<\/h3>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-133969\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2023\/08\/Screenshot-2023-08-07-at-10.35.56.png\" alt=\"Incrementing ticket number settings\" width=\"514\" height=\"238\" 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=\"(max-width: 514px) 100vw, 514px\" \/><\/p>\n<p>The settings shown above will output a ticket number as follows:<\/p>\n<ul>\n<li>#ABC123_00001_XYZ987<\/li>\n<li>#ABC123_00002_XYZ987<\/li>\n<li>#ABC123_00003_XYZ987<\/li>\n<li>#ABC123_00004_XYZ987<\/li>\n<\/ul>\n<h3>Ticket Themes<\/h3>\n<p>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<p>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<pre>$ticket['WooCommerceEventsTicketID']<\/pre>\n<p>with this new variable name:<\/p>\n<pre>$ticket['TicketNumberTicketOutput']<\/pre>\n<p>Depending on your product configuration, this value will output either the ticket ID or incrementing ticket number.<\/p>\n","protected":false},"featured_media":0,"parent":942,"menu_order":15,"comment_status":"closed","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_tag":[],"class_list":["post-133965","docs","type-docs","status-publish","hentry"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/docs\/133965","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/comments?post=133965"}],"version-history":[{"count":0,"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/docs\/133965\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/docs\/942"}],"prev":[{"title":"Billetes de importaci\u00f3n","link":"https:\/\/help.fooevents.com\/es\/docs\/topics\/tickets\/import-tickets\/","href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/docs\/133750"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/media?parent=133965"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/es\/wp-json\/wp\/v2\/doc_tag?post=133965"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}