<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Event Tickets - Documentation</title>
	<atom:link href="https://docs.myeventon.com/documentation/addons/event-tickets/feed/" rel="self" type="application/rss+xml" />
	<link>https://docs.myeventon.com</link>
	<description>EventON Documentation</description>
	<lastBuildDate>Tue, 16 Dec 2025 20:37:06 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>How To Switch From WooCommerce Blocks to Shortcode-Based Cart &#038; Checkout Pages</title>
		<link>https://docs.myeventon.com/documentations/how-to-switch-from-woocommerce-blocks-to-shortcode-based-cart-checkout-pages/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-switch-from-woocommerce-blocks-to-shortcode-based-cart-checkout-pages</link>
		
		<dc:creator><![CDATA[Artem Barkov]]></dc:creator>
		<pubDate>Wed, 05 Jun 2024 22:18:20 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=28518</guid>

					<description><![CDATA[<p>Starting with WooCommerce version 8.3, the Cart and Checkout Blocks are the default for new installations. While these blocks help to improve the checkout flow, they are not currently supported by the EventON Tickets addon. If you&#8217;re unsure whether your WooCommerce checkout page is using the new blocks, compare it to these images showing how [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/how-to-switch-from-woocommerce-blocks-to-shortcode-based-cart-checkout-pages/">How To Switch From WooCommerce Blocks to Shortcode-Based Cart & Checkout Pages</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Starting with WooCommerce version 8.3, the Cart and Checkout Blocks are the default for new installations. While these blocks help to improve the checkout flow, they are not currently supported by the <a href="https://www.myeventon.com/addons/event-tickets/" target="_blank" rel="noopener" title="">EventON Tickets</a> addon.</p>



<p>If you&#8217;re unsure whether your WooCommerce checkout page is using the new blocks, compare it to these images showing how the pages appear in the WordPress admin interface:</p>



<h3 class="wp-block-heading">Block-based cart page</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img fetchpriority="high" decoding="async" width="650" height="870" src="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.09.12.jpg" alt="" class="wp-image-29194" srcset="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.09.12.jpg 650w, https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.09.12-224x300.jpg 224w" sizes="(max-width: 650px) 100vw, 650px" /></figure>
</div>


<h3 class="wp-block-heading">Block-based checkout page</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="650" height="767" src="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.11.27.jpg" alt="" class="wp-image-29195" srcset="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.11.27.jpg 650w, https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.11.27-254x300.jpg 254w" sizes="(max-width: 650px) 100vw, 650px" /></figure>
</div>


<h3 class="wp-block-heading">Shortcode-based cart page</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img decoding="async" width="650" height="454" src="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.07.00.jpg" alt="" class="wp-image-29196" srcset="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.07.00.jpg 650w, https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.07.00-300x210.jpg 300w" sizes="(max-width: 650px) 100vw, 650px" /></figure>
</div>


<h3 class="wp-block-heading">Shortcode-based checkout page</h3>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="650" height="464" src="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.07.13.jpg" alt="" class="wp-image-29197" srcset="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.07.13.jpg 650w, https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.07.13-300x214.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" /></figure>
</div>


<p>If your site is using the block-based cart and checkout pages, we recommend going to <strong>Pages → Add new</strong> and creating two new blank pages. You can give one the title of <strong>Cart</strong> <strong>New</strong> and the other one <strong>Checkout</strong> <strong>New</strong>.</p>



<p>On the <strong>Checkout page</strong>, add the Shortcode block in WordPress or simply enter the following shortcode to create a new shortcode-based checkout page:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="[woocommerce_checkout]" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #ECEFF4">[</span><span style="color: #D8DEE9FF">woocommerce_checkout</span><span style="color: #ECEFF4">]</span></span></code></pre></div>



<p>To create a <strong>Cart page</strong>, follow the same steps and add the following shortcode:</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="[woocommerce_cart]" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #ECEFF4">[</span><span style="color: #D8DEE9FF">woocommerce_cart</span><span style="color: #ECEFF4">]</span></span></code></pre></div>



<p>Next, navigate to <strong>WooCommerce → Settings → Advanced</strong> and select the two new pages under the respective setting as shown below:</p>


<div class="wp-block-image">
<figure class="aligncenter size-full"><img loading="lazy" decoding="async" width="650" height="373" src="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.08.32.jpg" alt="" class="wp-image-29199" srcset="https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.08.32.jpg 650w, https://docs.myeventon.com/wp-content/uploads/2024/06/Screenshot-2025-02-12-at-00.08.32-300x172.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" /></figure>
</div>


<p>Once done, click <strong>Save</strong> and that&#8217;s it!</p><p>The post <a href="https://docs.myeventon.com/documentations/how-to-switch-from-woocommerce-blocks-to-shortcode-based-cart-checkout-pages/">How To Switch From WooCommerce Blocks to Shortcode-Based Cart & Checkout Pages</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>CODE: How to send Emails as Bcc</title>
		<link>https://docs.myeventon.com/documentations/code-how-to-send-emails-as-bcc/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=code-how-to-send-emails-as-bcc</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Mon, 13 Nov 2023 22:07:00 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=28374</guid>

					<description><![CDATA[<p>This is the pluggable filter code to modify the original function of sending ticket emails to send them as Bcc instead of regular mail.</p>
<p>The post <a href="https://docs.myeventon.com/documentations/code-how-to-send-emails-as-bcc/">CODE: How to send Emails as Bcc</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>This is the pluggable filter code to modify the original function of sending <strong>ticket emails</strong> to send them as Bcc instead of regular mail.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_beforesend_tix_email_data','custom_function_001',10,2);
public function custom_function_001($array, $order_id){
	$array['type']='bcc';
	return $array;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #D8DEE9FF">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_beforesend_tix_email_data</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">custom_function_001</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">2</span><span style="color: #D8DEE9FF">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9">public</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">custom_function_001</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9">$array</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #D8DEE9">$order_id</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #D8DEE9">$array</span><span style="color: #D8DEE9FF">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">type</span><span style="color: #ECEFF4">&#39;</span><span style="color: #D8DEE9FF">]</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">bcc</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #D8DEE9">$array</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div><p>The post <a href="https://docs.myeventon.com/documentations/code-how-to-send-emails-as-bcc/">CODE: How to send Emails as Bcc</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to manage capacity separately for repeat events</title>
		<link>https://docs.myeventon.com/documentations/how-to-manage-capacity-separately-for-repeat-events/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-manage-capacity-separately-for-repeat-events</link>
		
		<dc:creator><![CDATA[Artem Barkov]]></dc:creator>
		<pubDate>Tue, 02 Mar 2021 00:07:34 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=27203</guid>

					<description><![CDATA[<p>First of all create a repeating event. Then save changes and refresh the page to load event tickets with repeat enabled settings. Click on Configure Ticket Settings to open the event ticket settings lightbox. Under Manage Tickets Stock you should find Manage capacity seperate for each repeating event option. Enabling this will open separate ticket [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/how-to-manage-capacity-separately-for-repeat-events/">How to manage capacity separately for repeat events</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>First of all create a repeating event.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="649" height="529" src="https://docs.myeventon.com/wp-content/uploads/2021/03/Screenshot-2025-01-13-at-23.56.52.jpg" alt="" class="wp-image-28973" srcset="https://docs.myeventon.com/wp-content/uploads/2021/03/Screenshot-2025-01-13-at-23.56.52.jpg 649w, https://docs.myeventon.com/wp-content/uploads/2021/03/Screenshot-2025-01-13-at-23.56.52-300x245.jpg 300w" sizes="auto, (max-width: 649px) 100vw, 649px" /></figure>
</div>


<p></p>



<p>Then <strong>save changes</strong> and refresh the page to load event tickets with repeat enabled settings.</p>



<p>Click on <strong>Configure Ticket Settings </strong>to open the event ticket settings lightbox.</p>



<p>Under <strong>Manage Tickets Stock</strong> you should find <strong>Manage capacity seperate for each repeating event</strong> option. Enabling this will open separate ticket stock capacity field for each repeat instance.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="649" height="900" src="https://docs.myeventon.com/wp-content/uploads/2021/03/Screenshot-2025-01-13-at-23.58.32.jpg" alt="" class="wp-image-28975" srcset="https://docs.myeventon.com/wp-content/uploads/2021/03/Screenshot-2025-01-13-at-23.58.32.jpg 649w, https://docs.myeventon.com/wp-content/uploads/2021/03/Screenshot-2025-01-13-at-23.58.32-216x300.jpg 216w" sizes="auto, (max-width: 649px) 100vw, 649px" /></figure>
</div>


<p></p>



<p>Add ticket stock for each repeat instance and save changes. Once the page is refreshed, <strong>Total Tickets in Stock</strong>&nbsp;field will update to the total all all repeat instance stocks.</p>



<p>NOTE: If the ticket repeat instance stock is set to 0, the front end will recognize this as&nbsp;<strong>Ticket sold out.&nbsp;</strong>But all the other repeating instance days will be available for ticket sale.</p><p>The post <a href="https://docs.myeventon.com/documentations/how-to-manage-capacity-separately-for-repeat-events/">How to manage capacity separately for repeat events</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Auto re-stocking refunded, cancelled or failed orders</title>
		<link>https://docs.myeventon.com/documentations/auto-re-stocking-refunded-cancelled-or-failed-orders/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=auto-re-stocking-refunded-cancelled-or-failed-orders</link>
		
		<dc:creator><![CDATA[Artem Barkov]]></dc:creator>
		<pubDate>Thu, 25 Feb 2021 22:14:52 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=27198</guid>

					<description><![CDATA[<p>EventON Tickets supports auto restocking for refunded, cancelled or failed orders. This can be enabled in EventON &#62; Tickets Settings &#62; General &#62; Auto re-stock tickets The restocking of tickets stock using event tickets, will restock for repeat instance ticket stocks (if enabled) VERY IMPORTANT: If auto re-stock is enabled via eventON tickets, you&#160;MUST NOT [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/auto-re-stocking-refunded-cancelled-or-failed-orders/">Auto re-stocking refunded, cancelled or failed orders</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>EventON Tickets supports auto restocking for refunded, cancelled or failed orders. This can be enabled in <strong>EventON &gt; Tickets Settings &gt; General &gt; Auto re-stock tickets</strong></p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="649" height="794" src="https://docs.myeventon.com/wp-content/uploads/2021/02/Screenshot-2025-01-13-at-23.53.02.jpg" alt="" class="wp-image-28969" srcset="https://docs.myeventon.com/wp-content/uploads/2021/02/Screenshot-2025-01-13-at-23.53.02.jpg 649w, https://docs.myeventon.com/wp-content/uploads/2021/02/Screenshot-2025-01-13-at-23.53.02-245x300.jpg 245w" sizes="auto, (max-width: 649px) 100vw, 649px" /></figure>
</div>


<p></p>



<p>The restocking of tickets stock using event tickets, will restock for repeat instance ticket stocks (if enabled)</p>



<p><strong>VERY IMPORTANT:</strong> If auto re-stock is enabled via eventON tickets, you&nbsp;<strong>MUST NOT</strong> select restock refunded items when refunding stock via woocommerce orders. &#8212; This will result in duplicate stock being added back.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="649" height="686" src="https://docs.myeventon.com/wp-content/uploads/2021/02/Screenshot-2025-01-13-at-23.55.25.jpg" alt="" class="wp-image-28971" srcset="https://docs.myeventon.com/wp-content/uploads/2021/02/Screenshot-2025-01-13-at-23.55.25.jpg 649w, https://docs.myeventon.com/wp-content/uploads/2021/02/Screenshot-2025-01-13-at-23.55.25-284x300.jpg 284w" sizes="auto, (max-width: 649px) 100vw, 649px" /></figure>
</div>


<p></p>



<p>Further information about woocommerce auto refunds and restocking <a href="https://docs.woocommerce.com/document/woocommerce-refunds">please read this</a>.</p><p>The post <a href="https://docs.myeventon.com/documentations/auto-re-stocking-refunded-cancelled-or-failed-orders/">Auto re-stocking refunded, cancelled or failed orders</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add additional data to confirmation email</title>
		<link>https://docs.myeventon.com/documentations/how-to-additional-data-to-confirmation-email/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-additional-data-to-confirmation-email</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Mon, 08 Feb 2021 17:00:44 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=27192</guid>

					<description><![CDATA[<p>This code can be placed in functions.php file or as a separate plugin file. This code will add any additional values to Ticket confirmation email. You can use passed on parameters such as $EVENT, $TIX_CPT, $order, $styles to grab new values from those objects. How to Get Ticket Meta Values $TIX_CPT is eventon ticket post [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/how-to-additional-data-to-confirmation-email/">How to add additional data to confirmation email</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>class custom_code{
	public function __construct(){
		add_action('evotix_confirmation_email_data_after_tr', array($this,'tix_confirmation'), 10, 4);
	}

	public function tix_confirmation($EVENT, $TIX_CPT, $order, $styles){

		// get the new values
		$new_value = 'new value';
		?>
		&lt;tr>&lt;td colspan='3' style='border-top:1px solid #e0e0e0; padding:8px 20px; text-transform: none'>
		 	&lt;div style='font-size: 14px;font-style: italic;font-family: "open sans",helvetica; padding: 0px; margin: 0px;font-weight: bold;line-height: 100%;word-break:break-word'>
		 		&lt;?php echo $new_value;?> 			
		 	&lt;/div>
		 	&lt;p style="&lt;?php echo $styles&#91;'004'&#93;;?>">&lt;?php echo 'Additional Information';?>&lt;/p>
		 &lt;/td>&lt;/tr>
		&lt;?php
		
	}
}
// initiate the class
new custom_code();</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #81A1C1">class</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">custom_code</span><span style="color: #ECEFF4">{</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">public</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">__construct</span><span style="color: #ECEFF4">(){</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #88C0D0">add_action</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotix_confirmation_email_data_after_tr</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">array</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$this</span><span style="color: #ECEFF4">,</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">tix_confirmation</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">),</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">4</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #ECEFF4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">public</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">tix_confirmation</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">EVENT</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">TIX_CPT</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">styles</span><span style="color: #ECEFF4">){</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ECEFF4">		</span><span style="color: #616E88">// get the new values</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">new_value</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">new value</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">?&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">&lt;</span><span style="color: #D8DEE9FF">tr</span><span style="color: #81A1C1">&gt;&lt;</span><span style="color: #D8DEE9FF">td colspan</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">3</span><span style="color: #ECEFF4">&#39;</span><span style="color: #D8DEE9FF"> style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">border-top:1px solid #e0e0e0; padding:8px 20px; text-transform: none</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		 	</span><span style="color: #81A1C1">&lt;</span><span style="color: #D8DEE9FF">div style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">font-size: 14px;font-style: italic;font-family: &quot;open sans&quot;,helvetica; padding: 0px; margin: 0px;font-weight: bold;line-height: 100%;word-break:break-word</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		 		</span><span style="color: #81A1C1">&lt;?</span><span style="color: #D8DEE9FF">php </span><span style="color: #81A1C1">echo</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">new_value</span><span style="color: #81A1C1">;?&gt;</span><span style="color: #D8DEE9FF"> 			</span></span>
<span class="line"><span style="color: #D8DEE9FF">		 	</span><span style="color: #81A1C1">&lt;/</span><span style="color: #D8DEE9FF">div</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		 	</span><span style="color: #81A1C1">&lt;</span><span style="color: #D8DEE9FF">p style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">&lt;?php echo </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">styles</span><span style="color: #A3BE8C">&#91;&#39;004&#39;&#93;;?&gt;</span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;&lt;?</span><span style="color: #D8DEE9FF">php </span><span style="color: #81A1C1">echo</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">Additional Information</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;?&gt;&lt;/</span><span style="color: #D8DEE9FF">p</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		 </span><span style="color: #81A1C1">&lt;/</span><span style="color: #D8DEE9FF">td</span><span style="color: #81A1C1">&gt;&lt;/</span><span style="color: #D8DEE9FF">tr</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">&lt;?</span><span style="color: #D8DEE9FF">php</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span></span>
<span class="line"><span style="color: #D8DEE9FF">	}</span></span>
<span class="line"><span style="color: #D8DEE9FF">}</span></span>
<span class="line"><span style="color: #616E88">// initiate the class</span></span>
<span class="line"><span style="color: #81A1C1">new</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">custom_code</span><span style="color: #ECEFF4">()</span><span style="color: #81A1C1">;</span></span></code></pre></div>



<p>This code can be placed in functions.php file or as a separate plugin file.</p>



<p>This code will add any additional values to Ticket confirmation email. You can use passed on parameters such as $EVENT, $TIX_CPT, $order, $styles to grab new values from those objects.</p>



<h2 class="wp-block-heading">How to Get Ticket Meta Values</h2>



<p>$TIX_CPT is eventon ticket post object, that will give you access to fetch ticket meta values like; cost, email, status, wc_var_id, wcid. </p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>$TIX_CPT->get_prop( "property-name" );</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #D8DEE9">$TIX_CPT</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">get_prop</span><span style="color: #D8DEE9FF">( </span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">property-name</span><span style="color: #ECEFF4">&quot;</span><span style="color: #D8DEE9FF"> )</span><span style="color: #81A1C1">;</span></span></code></pre></div>



<h2 class="wp-block-heading">Example Code Ideas</h2>



<h3 class="wp-block-heading">Show Billing Address/Details</h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>// Get the formatted billing address (handles localization, line breaks, etc.)
$formatted_billing_address = $order->get_formatted_billing_address();

// Optional: Fallback text if no address is set
$formatted_billing_address = $formatted_billing_address ? $formatted_billing_address : __('N/A', 'woocommerce');

// Output it (e.g., in a custom template or hooked location)
?>
&lt;div style="&lt;?php echo $styles&#91;'103'&#93;; ?> overflow:hidden;">
    &lt;span style="display:inline-block;  width:50%; &lt;?php echo $styles&#91;'007'&#93;; ?> text-transform:none;">&lt;?php echo wp_kses_post($formatted_billing_address); ?>&lt;/span>
    &lt;span style="display:inline-block; width:50%; &lt;?php echo $styles&#91;'004'&#93;; ?> ">&lt;?php echo 'Billing Address' ?>&lt;/span>
&lt;/div>
&lt;?php</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #616E88">// Get the formatted billing address (handles localization, line breaks, etc.)</span></span>
<span class="line"><span style="color: #D8DEE9">$formatted_billing_address</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #D8DEE9">$order</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">get_formatted_billing_address</span><span style="color: #D8DEE9FF">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #616E88">// Optional: Fallback text if no address is set</span></span>
<span class="line"><span style="color: #D8DEE9">$formatted_billing_address</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #D8DEE9">$formatted_billing_address</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">?</span><span style="color: #D8DEE9FF"> </span><span style="color: #D8DEE9">$formatted_billing_address</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">:</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">__</span><span style="color: #D8DEE9FF">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">N/A</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">woocommerce</span><span style="color: #ECEFF4">&#39;</span><span style="color: #D8DEE9FF">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #616E88">// Output it (e.g., in a custom template or hooked location)</span></span>
<span class="line"><span style="color: #81A1C1">?&gt;</span></span>
<span class="line"><span style="color: #81A1C1">&lt;div</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">&lt;?php echo $styles&#91;&#39;103&#39;&#93;; ?&gt; overflow:hidden;</span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">    </span><span style="color: #81A1C1">&lt;span</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">display:inline-block;  width:50%; &lt;?php echo $styles&#91;&#39;007&#39;&#93;; ?&gt; text-transform:none;</span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;</span><span style="color: #D8DEE9FF">&lt;?php echo wp_kses_post($formatted_billing_address); ?&gt;</span><span style="color: #81A1C1">&lt;/span&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">    </span><span style="color: #81A1C1">&lt;span</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">display:inline-block; width:50%; &lt;?php echo $styles&#91;&#39;004&#39;&#93;; ?&gt; </span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;</span><span style="color: #D8DEE9FF">&lt;?php echo &#39;Billing Address&#39; ?&gt;</span><span style="color: #81A1C1">&lt;/span&gt;</span></span>
<span class="line"><span style="color: #81A1C1">&lt;/div&gt;</span></span>
<span class="line"><span style="color: #81A1C1">&lt;?</span><span style="color: #D8DEE9">php</span></span></code></pre></div>



<h3 class="wp-block-heading">Show Ticket Cost/Price</h3>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><pre class="code-block-pro-copy-button-pre" aria-hidden="true"><textarea class="code-block-pro-copy-button-textarea" tabindex="-1" aria-hidden="true" readonly>$help = new evotx_helper();

?>
&lt;div style="&lt;?php echo $styles&#91;'103'&#93;; ?> overflow:hidden;">
    &lt;span style="display:inline-block;  width:50%; &lt;?php echo $styles&#91;'007'&#93;; ?> text-transform:none;">&lt;?php echo $help->convert_price_to_format($TIX_CPT->get_prop('cost')); ?>&lt;/span>
    &lt;span style="display:inline-block; width:50%; &lt;?php echo $styles&#91;'004'&#93;; ?> ">&lt;?php echo 'Ticket Value' ?>&lt;/span>
&lt;/div>
&lt;?ph</textarea></pre><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #D8DEE9">$help</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">new</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_helper</span><span style="color: #D8DEE9FF">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #81A1C1">?&gt;</span></span>
<span class="line"><span style="color: #81A1C1">&lt;div</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">&lt;?php echo $styles&#91;&#39;103&#39;&#93;; ?&gt; overflow:hidden;</span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">    </span><span style="color: #81A1C1">&lt;span</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">display:inline-block;  width:50%; &lt;?php echo $styles&#91;&#39;007&#39;&#93;; ?&gt; text-transform:none;</span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;</span><span style="color: #D8DEE9FF">&lt;?php echo $help-&gt;convert_price_to_format($TIX_CPT-&gt;get_prop(&#39;cost&#39;)); ?&gt;</span><span style="color: #81A1C1">&lt;/span&gt;</span></span>
<span class="line"><span style="color: #D8DEE9FF">    </span><span style="color: #81A1C1">&lt;span</span><span style="color: #D8DEE9FF"> </span><span style="color: #8FBCBB">style</span><span style="color: #81A1C1">=</span><span style="color: #ECEFF4">&quot;</span><span style="color: #A3BE8C">display:inline-block; width:50%; &lt;?php echo $styles&#91;&#39;004&#39;&#93;; ?&gt; </span><span style="color: #ECEFF4">&quot;</span><span style="color: #81A1C1">&gt;</span><span style="color: #D8DEE9FF">&lt;?php echo &#39;Ticket Value&#39; ?&gt;</span><span style="color: #81A1C1">&lt;/span&gt;</span></span>
<span class="line"><span style="color: #81A1C1">&lt;/div&gt;</span></span>
<span class="line"><span style="color: #81A1C1">&lt;?</span><span style="color: #D8DEE9">ph</span></span></code></pre></div><p>The post <a href="https://docs.myeventon.com/documentations/how-to-additional-data-to-confirmation-email/">How to add additional data to confirmation email</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>Auto Complete Ticket Order</title>
		<link>https://docs.myeventon.com/documentations/auto-complete-ticket-order/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=auto-complete-ticket-order</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Wed, 30 Dec 2020 23:58:03 +0000</pubDate>
				<guid isPermaLink="false">https://docs.myeventon.com/?post_type=document&#038;p=27150</guid>

					<description><![CDATA[<p>Below code can be added to&#160;functions.php&#160; or inside a plugin code.</p>
<p>The post <a href="https://docs.myeventon.com/documentations/auto-complete-ticket-order/">Auto Complete Ticket Order</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Below code can be added to&nbsp;<strong>functions.php&nbsp;</strong> or inside a plugin code.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter( 'woocommerce_payment_complete_order_status', 'auto_complete_virtual_orders', 10, 3 );

function auto_complete_virtual_orders( $payment_complete_status, $order_id, $order ) {
	$current_status = $order-&gt;get_status();
	

	// only change status if it is coming from these
	$allowed_current_statuses = array( 'on-hold', 'pending', 'failed' );

	if ( 'processing' === $payment_complete_status &amp;&amp; in_array( $current_status, $allowed_current_statuses ) ) {

		$order_items = $order-&gt;get_items();

		// Create an array of products in the order
		$order_products = array_filter( array_map( function( $item ) {		
			// Get associated product for each line item
			return $item-&gt;get_product();
		}, $order_items ), function( $product ) {
			// Remove non-products
			return !! $product;
		} );

		if( count( $order_products &gt; 0 ) ) {
			// check if product is a virtual product
			$is_virtual_order = array_reduce( $order_products, function( $virtual_order_so_far, $product ) {
				return $virtual_order_so_far &amp;&amp; $product-&gt;is_virtual();
			}, true );

			if ( $is_virtual_order ) {
				$payment_complete_status = 'completed';
			}
		}

	}

	return $payment_complete_status;
}
" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">woocommerce_payment_complete_order_status</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">auto_complete_virtual_orders</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">3</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">auto_complete_virtual_orders</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">payment_complete_status</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order_id</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">{</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">current_status</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">get_status</span><span style="color: #ECEFF4">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// only change status if it is coming from these</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">allowed_current_statuses</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">array</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">on-hold</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">pending</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">failed</span><span style="color: #ECEFF4">&#39;</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">if</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">processing</span><span style="color: #ECEFF4">&#39;</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">===</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">payment_complete_status</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">&amp;&amp;</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">in_array</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">current_status</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">allowed_current_statuses</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">{</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order_items</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">get_items</span><span style="color: #ECEFF4">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ECEFF4">		</span><span style="color: #616E88">// Create an array of products in the order</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order_products</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">array_filter</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> array_map</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">function</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">item</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">{</span><span style="color: #88C0D0">		</span></span>
<span class="line"><span style="color: #ECEFF4">			</span><span style="color: #616E88">// Get associated product for each line item</span></span>
<span class="line"><span style="color: #88C0D0">			</span><span style="color: #81A1C1">return</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">item</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">get_product</span><span style="color: #ECEFF4">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #88C0D0">		</span><span style="color: #ECEFF4">},</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order_items</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">),</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">function</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">product</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">{</span></span>
<span class="line"><span style="color: #ECEFF4">			</span><span style="color: #616E88">// Remove non-products</span></span>
<span class="line"><span style="color: #88C0D0">			</span><span style="color: #81A1C1">return</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">!!</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">product</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #88C0D0">		</span><span style="color: #ECEFF4">}</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #81A1C1">if</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">count</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order_products</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">&gt;</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">0</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">{</span></span>
<span class="line"><span style="color: #ECEFF4">			</span><span style="color: #616E88">// check if product is a virtual product</span></span>
<span class="line"><span style="color: #D8DEE9FF">			</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">is_virtual_order</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">array_reduce</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">order_products</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">function</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">virtual_order_so_far</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">product</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">{</span></span>
<span class="line"><span style="color: #88C0D0">				</span><span style="color: #81A1C1">return</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">virtual_order_so_far</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">&amp;&amp;</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">product</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">is_virtual</span><span style="color: #ECEFF4">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #88C0D0">			</span><span style="color: #ECEFF4">},</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">true</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">			</span><span style="color: #81A1C1">if</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">is_virtual_order</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">)</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">{</span></span>
<span class="line"><span style="color: #D8DEE9FF">				</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">payment_complete_status</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">completed</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">			</span><span style="color: #ECEFF4">}</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #ECEFF4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #ECEFF4">}</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">payment_complete_status</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span>
<span class="line"></span></code></pre></div><p>The post <a href="https://docs.myeventon.com/documentations/auto-complete-ticket-order/">Auto Complete Ticket Order</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add additional fields to download attendees CSV file</title>
		<link>https://docs.myeventon.com/documentations/how-to-add-additional-fields-to-download-attendees-csv-file/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-add-additional-fields-to-download-attendees-csv-file</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Fri, 19 Apr 2019 20:12:46 +0000</pubDate>
				<guid isPermaLink="false">http://docs.myeventon.com/?post_type=document&#038;p=27009</guid>

					<description><![CDATA[<p>Create a CSV column header For every new field you will need to add a new header field eg. Field Name Add CSV row value Similar to the above column values, for each data row you will need to add a new value for the new column field you added. How to get custom values [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/how-to-add-additional-fields-to-download-attendees-csv-file/">How to add additional fields to download attendees CSV file</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<h3 class="wp-block-heading">Create a CSV column header</h3>



<p>For every new field you will need to add a new header field eg. Field Name</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_csv_headers', 'evotx_add_headers',10,2);
function evotx_add_headers($array, $EVENT){
	$array[] = 'Field Name';
	$array[] = 'Field Name 2';
	return $array;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_csv_headers</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_add_headers</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">2</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_add_headers</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">EVENT</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">[]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">Field Name</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">[]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">Field Name 2</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<h3 class="wp-block-heading">Add CSV row value</h3>



<p>Similar to the above column values, for each data row you will need to add a new value for the new column field you added.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_csv_row', 'evotx_add_row',10,4);
function evotx_add_row( $array, $tn, $td, $EVENT){
	$array['new_field_slug'] = $EVENT-&gt;ID;
	$array['new_field_2_slug'] = $EVENT-&gt;get_title();

	return $array;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_csv_row</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_add_row</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">4</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_add_row</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">tn</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">td</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">EVENT</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">new_field_slug</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">EVENT</span><span style="color: #81A1C1">-&gt;</span><span style="color: #D8DEE9">ID</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">new_field_2_slug</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">EVENT</span><span style="color: #81A1C1">-&gt;</span><span style="color: #88C0D0">get_title</span><span style="color: #ECEFF4">()</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<h3 class="wp-block-heading">How to get custom values</h3>



<p>The second part of the code, pass on the value for each row of attendee. The function get variables $tn (ticket number), $td (ticket data array) and $EVENT (main event class) You can use those to create values for the new field you are adding to each attendee in the CSV file.</p>



<p>$td &#8211; the ticket data array holds an array of data for the ticket. You can use print_r($td) within the code to see what information is there and use correct associate path in the array to show those information.</p>



<p>eg. $td[&#8216;oD&#8217;][&#8216;ordered_date&#8217;] &#8211; will get you the date the ticket was ordered.</p>



<p>$td[&#8216;oDD&#8217;][&#8216;order_id&#8217;] &#8211; will give you order ID for the ticket.</p><p>The post <a href="https://docs.myeventon.com/documentations/how-to-add-additional-fields-to-download-attendees-csv-file/">How to add additional fields to download attendees CSV file</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to add additional fields at checkout</title>
		<link>https://docs.myeventon.com/documentations/how-to-add-additional-fields-at-checkout/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-add-additional-fields-at-checkout</link>
		
		<dc:creator><![CDATA[Artem Barkov]]></dc:creator>
		<pubDate>Mon, 16 Jul 2018 18:43:47 +0000</pubDate>
				<guid isPermaLink="false">http://docs.myeventon.com/?post_type=document&#038;p=26936</guid>

					<description><![CDATA[<p>Where do I put this code? &#8212; in functions.php file in your theme (recommended) or in any plugin folder index php file. Code 1: Include new field in settings Code 2: Include at checkout stage&#160; The below code will make sure the new field will show in the checkout page for woocommerce. &#160;Code 3: Show [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/how-to-add-additional-fields-at-checkout/">How to add additional fields at checkout</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<p><strong>Where do I put this code?</strong> &#8212; in functions.php file in your theme (recommended) or in any plugin folder index php file.</p>



<h2 class="wp-block-heading"><strong>Code 1:</strong> Include new field in settings</h2>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_checkout_additional_fields_settings','evotx_2',10,1);
function evotx_2($fields){
	$fields['business'] = __('Business Name','evotx');
	// you can add other fields like this similarly
	return $fields;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_checkout_additional_fields_settings</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_2</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">1</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_2</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">__</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">Business Name</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// you can add other fields like this similarly</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<h2 class="wp-block-heading"><strong>Code 2:</strong> Include at checkout stage&nbsp;</h2>



<p>The below code will make sure the new field will show in the checkout page for woocommerce.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_additional_ticket_info_fields', 'evotx_1', 10,1);
function evotx_1($fields){
	// additonal field code block
	$fields['business'] = array(
		'type'=&gt;'text',
		'label'=&gt; evo_lang('Business Name'),
		'required'=&gt; false,
	);
	// you can use same code block for more fields
	return $fields;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_additional_ticket_info_fields</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_1</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">1</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_1</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #ECEFF4">){</span></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// additonal field code block</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">array</span><span style="color: #ECEFF4">(</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">type</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">=&gt;</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">text</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">label</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">=&gt;</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evo_lang</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">Business Name</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">),</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">required</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">=&gt;</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">false</span><span style="color: #ECEFF4">,</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// you can use same code block for more fields</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">fields</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="527" height="860" src="https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-29-at-1.34.51 PM.png" alt="" class="wp-image-28548" srcset="https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-29-at-1.34.51 PM.png 527w, https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-29-at-1.34.51 PM-184x300.png 184w" sizes="auto, (max-width: 527px) 100vw, 527px" /></figure>



<h2 class="wp-block-heading">&nbsp;<strong>Code 3</strong>: Show the save information</h2>



<p>There are several places we need to show the ticket holder custom data. First place is ticket holder details on Woocommerce emails and View Attendees sections.</p>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_get_attendees_for_event', 'evotx_3',10, 3);
function evotx_3($arr, $event_id, $_th){

	if(!isset($_th['business'])) return $arr;
	$arr['oD']['business'] = $_th['business'];

	// the above 2 lines can be used for all other new fields

	return $arr;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_get_attendees_for_event</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_3</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">3</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_3</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">arr</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">event_id</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">_th</span><span style="color: #ECEFF4">){</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">if</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">!isset</span><span style="color: #ECEFF4">(</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">_th</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]))</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">arr</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">arr</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">oD</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">][</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">_th</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #ECEFF4">	</span><span style="color: #616E88">// the above 2 lines can be used for all other new fields</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">arr</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="720" height="299" src="https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-29-at-1.37.40 PM.png" alt="" class="wp-image-28549" srcset="https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-29-at-1.37.40 PM.png 720w, https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-29-at-1.37.40 PM-300x125.png 300w" sizes="auto, (max-width: 720px) 100vw, 720px" /></figure>



<h2 class="wp-block-heading"><strong>Code 4</strong>: &nbsp;Show in the confirmation email</h2>



<p>Below code will make sure the custom additional data collected is displayed in the confirmation email as well. EventON Tickets v 2.3.3 is needed for this.</p>



<figure class="wp-block-image size-full"><img loading="lazy" decoding="async" width="782" height="630" src="https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-30-at-2.08.45 PM.png" alt="" class="wp-image-28550" srcset="https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-30-at-2.08.45 PM.png 782w, https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-30-at-2.08.45 PM-300x242.png 300w, https://docs.myeventon.com/wp-content/uploads/2018/07/Screenshot-2024-07-30-at-2.08.45 PM-768x619.png 768w" sizes="auto, (max-width: 782px) 100vw, 782px" /></figure>



<div class="wp-block-kevinbatdorf-code-block-pro" data-code-block-pro-font-family="Code-Pro-JetBrains-Mono" style="font-size:.875rem;font-family:Code-Pro-JetBrains-Mono,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)"><span style="display:block;padding:16px 0 0 16px;margin-bottom:-1px;width:100%;text-align:left;background-color:#2e3440ff"><svg xmlns="http://www.w3.org/2000/svg" width="54" height="14" viewBox="0 0 54 14"><g fill="none" fill-rule="evenodd" transform="translate(1 1)"><circle cx="6" cy="6" r="6" fill="#FF5F56" stroke="#E0443E" stroke-width=".5"></circle><circle cx="26" cy="6" r="6" fill="#FFBD2E" stroke="#DEA123" stroke-width=".5"></circle><circle cx="46" cy="6" r="6" fill="#27C93F" stroke="#1AAB29" stroke-width=".5"></circle></g></svg></span><span role="button" tabindex="0" data-code="add_filter('evotx_confirmation_email_additional_data_array','evotx_4', 10, 4);
function evotx_4(  $array, $_this_ticket , $TIX_CPT, $EVENT ){

	if( empty( $_this_ticket['oD']['business'] )) return $array;

	$array['business'] = array(
		'label'=&gt; evo_lang('Business Name'),
		'value'=&gt; $_this_ticket['oD']['business']
	);

	return $array;
}" style="color:#d8dee9ff;display:none" aria-label="Copy" class="code-block-pro-copy-button"><svg xmlns="http://www.w3.org/2000/svg" style="width:24px;height:24px" fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="2"><path class="with-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2m-6 9l2 2 4-4"></path><path class="without-check" stroke-linecap="round" stroke-linejoin="round" d="M9 5H7a2 2 0 00-2 2v12a2 2 0 002 2h10a2 2 0 002-2V7a2 2 0 00-2-2h-2M9 5a2 2 0 002 2h2a2 2 0 002-2M9 5a2 2 0 012-2h2a2 2 0 012 2"></path></svg></span><pre class="shiki nord" style="background-color: #2e3440ff" tabindex="0"><code><span class="line"><span style="color: #88C0D0">add_filter</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_confirmation_email_additional_data_array</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">evotx_4</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">10</span><span style="color: #ECEFF4">,</span><span style="color: #88C0D0"> </span><span style="color: #B48EAD">4</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #81A1C1">function</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evotx_4</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF">  </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">_this_ticket</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">TIX_CPT</span><span style="color: #ECEFF4">,</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">EVENT</span><span style="color: #D8DEE9FF"> </span><span style="color: #ECEFF4">){</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">if</span><span style="color: #ECEFF4">(</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">empty</span><span style="color: #ECEFF4">(</span><span style="color: #88C0D0"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">_this_ticket</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">oD</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">][</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #88C0D0"> </span><span style="color: #ECEFF4">))</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">=</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">array</span><span style="color: #ECEFF4">(</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">label</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">=&gt;</span><span style="color: #D8DEE9FF"> </span><span style="color: #88C0D0">evo_lang</span><span style="color: #ECEFF4">(</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">Business Name</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">),</span></span>
<span class="line"><span style="color: #D8DEE9FF">		</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">value</span><span style="color: #ECEFF4">&#39;</span><span style="color: #81A1C1">=&gt;</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">_this_ticket</span><span style="color: #ECEFF4">[</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">oD</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">][</span><span style="color: #ECEFF4">&#39;</span><span style="color: #A3BE8C">business</span><span style="color: #ECEFF4">&#39;</span><span style="color: #ECEFF4">]</span></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #ECEFF4">)</span><span style="color: #81A1C1">;</span></span>
<span class="line"></span>
<span class="line"><span style="color: #D8DEE9FF">	</span><span style="color: #81A1C1">return</span><span style="color: #D8DEE9FF"> </span><span style="color: #81A1C1">$</span><span style="color: #D8DEE9">array</span><span style="color: #81A1C1">;</span></span>
<span class="line"><span style="color: #ECEFF4">}</span></span></code></pre></div><p>The post <a href="https://docs.myeventon.com/documentations/how-to-add-additional-fields-at-checkout/">How to add additional fields at checkout</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to customize ticket email template</title>
		<link>https://docs.myeventon.com/documentations/customize-ticket-email-template/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customize-ticket-email-template</link>
		
		<dc:creator><![CDATA[Ashan Perera]]></dc:creator>
		<pubDate>Fri, 20 Feb 2015 20:16:41 +0000</pubDate>
				<guid isPermaLink="false">http://www.myeventon.com/?post_type=document&#038;p=9811</guid>

					<description><![CDATA[<p>Step 1: Copy the event ticket confirmation php file from event tickets addon from below path ../eventon-tickets/templates/email/ticket_confirmation_email.php Copy this file NOT cut &#8212; aka leave a version of this file in the addon folder. Step 2: Create a directory inside your current theme as below &#8230;/wp-content/themes/{your-theme-name}/eventon/templates/email/tickets/ Paste the copied PHP file from above step into [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/customize-ticket-email-template/">How to customize ticket email template</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<h3 class="wp-block-heading">Step 1:</h3>



<p>Copy the event ticket confirmation php file from event tickets addon from below path</p>



<p>../eventon-tickets/templates/email/ticket_confirmation_email.php</p>



<p>Copy this file NOT cut &#8212; aka leave a version of this file in the addon folder.</p>



<h3 class="wp-block-heading">Step 2:</h3>



<p>Create a directory inside your current theme as below</p>



<p>&#8230;/wp-content/themes/{your-theme-name}/eventon/templates/email/tickets/</p>



<p>Paste the copied PHP file from above step into this directory.</p>



<h3 class="wp-block-heading">Step 3:</h3>



<figure class="wp-block-image"><img decoding="async" src="http://www.myeventon.com/wp-content/uploads/2015/02/Capture5.png" alt="Capture" class="wp-image-9812"/></figure>



<p>Now you can edit this email confirmation PHP file using your favorite text editor to a custom look you want. Next time a ticket email is sent, event tickets addon will look for the ticket PHP file in your theme template directory before using the template inside the tickets addon.</p><p>The post <a href="https://docs.myeventon.com/documentations/customize-ticket-email-template/">How to customize ticket email template</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>How to set up Event Tickets</title>
		<link>https://docs.myeventon.com/documentations/set-event-tickets/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=set-event-tickets</link>
		
		<dc:creator><![CDATA[Artem Barkov]]></dc:creator>
		<pubDate>Tue, 01 Jul 2014 15:14:46 +0000</pubDate>
				<guid isPermaLink="false">http://www.myeventon.com/?post_type=document&#038;p=5654</guid>

					<description><![CDATA[<p>Step 1: Install and activate WooCommerce and follow their instructions to set up woocommerce store. Step 2: Create a new Event from&#160;Events &#62; Add New Event or edit an existing event. In here you will see Event Tickets settings box like this. Step 3: Activate event ticket for this event and fill in information about [&#8230;]</p>
<p>The post <a href="https://docs.myeventon.com/documentations/set-event-tickets/">How to set up Event Tickets</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></description>
										<content:encoded><![CDATA[<h3 class="wp-block-heading">Step 1:</h3>



<p>Install and activate <strong>WooCommerce</strong> and follow their instructions to set up woocommerce store.</p>



<h3 class="wp-block-heading">Step 2:</h3>



<p>Create a new Event from&nbsp;<strong>Events &gt; Add New Event</strong> or edit an existing event. In here you will see Event Tickets settings box like this.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="650" height="234" src="https://docs.myeventon.com/wp-content/uploads/2014/06/Screenshot-2024-12-28-at-00.02.27.jpg" alt="" class="wp-image-28688" srcset="https://docs.myeventon.com/wp-content/uploads/2014/06/Screenshot-2024-12-28-at-00.02.27.jpg 650w, https://docs.myeventon.com/wp-content/uploads/2014/06/Screenshot-2024-12-28-at-00.02.27-300x108.jpg 300w" sizes="auto, (max-width: 650px) 100vw, 650px" /></figure>
</div>


<p></p>



<h3 class="wp-block-heading">Step 3:</h3>



<p>Activate event ticket for this event and fill in information about the ticket.</p>



<p><strong>Ticket price</strong> should be a decimal number such as 19.50 it should not be an integer (eg 19) that will give empty cart error.</p>



<p><strong>SKU</strong> for the ticket is also important and required. If this was not filled the order may not go through as this is how woocommerce identifies a product to be a unique product in your inventory. In reality you should not have same SKU for 2 different items. SKU stands for stock keeping unit.</p>



<p><strong>Capacity</strong>&nbsp;is not required but you can set capacity to limit number of tickets sold.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="645" height="894" src="https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.05.07.jpg" alt="" class="wp-image-28693" srcset="https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.05.07.jpg 645w, https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.05.07-216x300.jpg 216w" sizes="auto, (max-width: 645px) 100vw, 645px" /></figure>
</div>


<p></p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="651" height="627" src="https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.05.33.jpg" alt="" class="wp-image-28694" srcset="https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.05.33.jpg 651w, https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.05.33-300x289.jpg 300w" sizes="auto, (max-width: 651px) 100vw, 651px" /></figure>
</div>


<p></p>



<p><strong>Make ticket out of stock</strong> will mark ticket as sold out and no one will be able to buy tickets. It is important to know once the event has past current day the ticket will automatically become unavailable for purchase.</p>



<p><strong>Sold Individually</strong>&nbsp;will allow customers to only buy one ticket at a time.</p>



<h3 class="wp-block-heading">Step 4:</h3>



<p>Click update event or <b>Publish</b> (if you just created a new event) This will create associate W<strong>ooCommerce</strong> product (ticket) for this ticket you activated.</p>


<div class="wp-block-image">
<figure class="aligncenter"><img loading="lazy" decoding="async" width="648" height="329" src="https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.07.50-1.jpg" alt="" class="wp-image-28696" srcset="https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.07.50-1.jpg 648w, https://docs.myeventon.com/wp-content/uploads/2014/07/Screenshot-2024-12-28-at-00.07.50-1-300x152.jpg 300w" sizes="auto, (max-width: 648px) 100vw, 648px" /></figure>
</div>


<p></p>



<h3 class="wp-block-heading">Step 5:</h3>



<p>Go to <strong>EventON &gt; Settings&gt; EventCard</strong> and find the&nbsp;<strong>Event Ticket</strong>&nbsp;<strong>Box</strong> and re-arrange as you wish and click&nbsp;<strong>Save Changes</strong></p>



<p>The Event tickets should appear on front-end. You can also further customize the ticket to <a title="How to set up variable prices for Tickets" href="http://www.myeventon.com/documentation/set-variable-prices-tickets/">create variable priced tickets</a>.</p>



<h3 class="wp-block-heading">Further Improvements &amp; Additions</h3>



<p>We have seen customers having trouble with ticket orders not completing after purchase in WooCommerce. We suggest <a href="https://wordpress.org/plugins/handmade-woocommerce-order-status-control/">Woocommerce Order Status Control</a> plugin to help resolve auto complete orders issue.</p><p>The post <a href="https://docs.myeventon.com/documentations/set-event-tickets/">How to set up Event Tickets</a> first appeared on <a href="https://docs.myeventon.com">Documentation</a>.</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
