Multiple supports:
i have added a custom attendee in the checkout form and i fetch all guest details in the ticket template using below method:
{# Loop through the guest details and display them #}
{% for i in 1..10 %}
{% set guest_name = ORDER.get_meta(‘Guest ‘ ~ i ~ ‘ Full Name’) %}
{% set guest_phone = ORDER.get_meta(‘Guest ‘ ~ i ~ ‘ Phone’) %}
{% set guest_email = ORDER.get_meta(‘Guest ‘ ~ i ~ ‘ Email’) %}
{% if guest_name %}
<br><b>Guest {{ i }}:</b> {{ guest_name|escape }}
<br><b>Phone:</b> {{ guest_phone|escape }}
<br><b>Email:</b> {{ guest_email|escape }}
{% endif %}
{% endfor %}
but i want to show one only one guest detail in each ticket
how it is possible?