single attendee info in each ticket
-
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 only one guest detail in each ticket as per quantity
how it is possible?any option available per ticket show meta field??
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.