• Resolved plantarum

    (@plantarum)


    Hi! When a customer makes a purchase with more than one ticket, both tickets are issued in their name. This creates a problem with badges, which come out with duplicate names. Is there a way to collect the names of each attendees when more than one ticket is purchased?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Saso

    (@sasonikolov)

    Sure. You can edit the option at the product level and ask for a name per 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 one only one guest detail in each ticket
    how it is possible?

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.