Skip to main content

How to Customize Evey Tickets for Gifting With a Checkbox and Personalized Message

Updated this week

Evey Events & Tickets (Evey) allows customers to buy tickets as gifts, perfect for holidays, birthdays, or surprise experiences. You can customize the attendee form and ticket email to support personalized gifting with just a few setup steps.


Step 1: Create Gift-Related Fields in the Attendee Form

  1. Go to your event in Evey and click "Event Settings."

  2. Navigate to the "Attendee Information" tab.

  3. Under Attendee information fields, add a Checkbox field labeled: "Is this a gift?"
    Tip: Leave this optional so customers who aren't gifting can skip it.

  4. Add a Text field labeled: "Who is this gift from?"

  5. Under "Show this field only under certain conditions," set the condition to:
    Is this a giftHas valueYes

  6. Add another Text field labeled: "Add a personal message for your gift."

  7. Set this field to appear only if the gift checkbox is selected.

  8. Copy the unique ID shown at the bottom of each field. ​You’ll need these IDs to insert the data into the ticket email later.

This setup ensures the gift message and sender fields only appear when the checkbox is selected, keeping the form clean for non-gifting customers.


Step 2: Insert Custom Fields in the Ticket Email

To customize the email content based on the form responses:

  1. From your event, go to Event Settings > Notifications.

  2. Scroll down to the Templates section and click "Customize" under the email you want to edit.

  3. In the email editor, insert a Custom HTML (Liquid) block.

  4. You can use the code snippet below as-is or customize it using your field’s unique ID to control how the information appears in the ticket email:

{% assign gift_name = attendee.custom["your-name-"] %}
{% assign gift_msg = attendee.custom["add-a-pers"] %}

{% if gift_name or gift_msg %}
<!-- Gift Message Card -->
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0" style="margin:0; padding:0;">
<tr>
<td style="padding:16px 0;">
<table role="presentation" width="100%" cellspacing="0" cellpadding="0" border="0"
style="max-width:640px; width:100%; margin:0 auto; border:1px solid #e5e7eb; border-radius:12px; background:#f8f9fb;">
<tr>
<td style="padding:20px 24px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; color:#0f172a;">

<!-- Header -->
<div style="font-size:18px; line-height:1.3; font-weight:700; margin:0 0 12px;">
:gift: Gift Details
</div>

<!-- From Name -->
{% if gift_name %}
<div style="margin:6px 0 10px; font-size:14px; line-height:1.5;">
<span style="display:inline-block; min-width:72px; font-weight:600; color:#334155;">From:</span>
<span style="color:#0f172a;">{{ gift_name | escape }}</span>
</div>
{% endif %}

<!-- Divider (only if both name and message exist) -->
{% if gift_name and gift_msg %}
<div style="height:1px; background:#e5e7eb; margin:12px 0;"></div>
{% endif %}

<!-- Gift Message -->
{% if gift_msg %}
<div style="margin:10px 0 0;">
<div style="font-size:14px; font-weight:600; color:#334155; margin:0 0 6px;">Message:</div>
<div style="font-size:15px; line-height:1.6; color:#0f172a; background:#ffffff; border:1px solid #e5e7eb; border-radius:10px; padding:12px 14px; white-space:pre-wrap;">
{{ gift_msg | escape }}
</div>
</div>
{% endif %}

</td>
</tr>
</table>
</td>
</tr>
</table>
{% endif %}

You can use this code as-is or customize it using your unique field IDs and preferred layout. This setup conditionally displays the “From” and “Message” sections in the ticket email only if they were filled out during checkout.


💡 Notes & Best Practices

  • Always use double quotes (") around field IDs in Liquid. Single quotes can break the code.

  • This setup keeps emails clean and relevant; gift fields only appear if used.

  • Avoid changing field labels after setup, as that could affect email content unless you update the Liquid accordingly.


Testing

To verify the setup:

  1. Place a test order using the attendee form and fill out the gift fields.

  2. Review the ticket email sent to the attendee through the email notification customizer; it should display the gift sender and message.


This setup creates a smooth and delightful gifting experience for your customers.

If you need help or have any questions, please don't hesitate to reach out to us. We're happy to help!

Did this answer your question?