Adding extra names when multiple tickets are purchased

Home Forums Ticket Products Event Tickets Plus Adding extra names when multiple tickets are purchased

Viewing 15 posts - 16 through 30 (of 36 total)
  • Author
    Posts
  • #45293
    Barry
    Member

    Hi J-P, that’s great feedback – I tend to think it validates a lot of the work that has already gone into WooTickets and we’d agree that using a single e-commerce engine, WooCommerce in this instance, has a number of advantages for most vendors.

    #45339
    Rob
    Member

    J-P: thank you for taking the time to reply to my last response…I hope it added some value for you, and I really appreciate getting a glimpse into your thought process here. This helps me make a case for this to the team and I’ve relayed it accordingly so we can keep the discussions going here.

    We’ll keep you guys posted. And if you need anything else from me at any point along the way, please do reach out to the email address I provided above. Thanks again!

    #45687
    Lisa
    Participant

    This is also a request that we need. We hold many conferences thru out the year and need to know the name of each participating attendee. I am not an expert but I was able to add extra fields to my checkout page by using some edits to my theme’s functions.php file. I wanted to make this a required part of the checkout process. This is an edit for WooCommerce and NOT WooTickets.

    You can find a tutorial about how to add custom fields to your checkout page here: http://docs.woothemes.com/document/tutorial-customising-checkout-fields-using-actions-and-filters/#section-4 .

    The part that I am missing is this: I need name, email, and phone # for each attendee. Also if I have 1 ticket ordered then I only need 1 attendee form for name, email and phone. If I order 3 tickets I need 3 attendee forms for name, phone, and email.

    If anyone could provide the code to help me with this, I would greatly appreciate it. I have posted this also on the WooCommerce forum as well. If I discover an answer I will post back here.

    #45699
    Barry
    Member

    We can definitely keep this open and see if anyone is able to help – and if you’re happy to update with your findings should you figure something out via the WooCommerce forums or by yourself then even better 🙂

    Thanks!

    #45701
    Lisa
    Participant

    Barry – Thanks for the reply back! The easiest work around for folks to get the list of attendees is to use the tutorial on the WooCommerce site for adding custom fields to the checkout page.

    I’m able to add the custom fields, validate the form, add the attendee list to the order form, but I am unable to figure out how to get the form for attendees to appear based on the # of tickets ordered. As soon as I figure that out, I will happily post the exact steps so other users can set this up as well.

    #45723
    Barry
    Member

    I am unable to figure out how to get the form for attendees to appear based on the # of tickets ordered

    Just to be sure I’m understanding correctly, you mean if 5 tickets have been ordered you want to loop over your code 5 times (or something like that)?

    #45725
    Lisa
    Participant

    Yes that’s precisely right. If someone orders 2 tickets, I need to know the list of attendees, so the name, email, phone form for the attendee would show for each # of tickets ordered…in this case 2.

    If you scroll to the bottom of this page: http://fcp3.org/event/fcp3-2013-conference-may17/ and just add a ticket to your cart, then proceed to checkout, you’ll see on this page: http://fcp3.org/checkout/ that in the right hand side is a form field which we are using temporarily. (I need it to actually be name, address & phone fields).

    I hope I didn’t over complicate my response. I truly appreciate you taking the time to understand.

    #45730
    J-P
    Participant

    There are workarounds I’m sure but the ideal situation would be if it was all built into WooTickets – maybe even Wootickets Plus so you can charge extra for a more advanced ticketing option.
    Adding the fields as described in the Woocommerce tutorial has 2 issues:
    1. You won’t be able to simply generate an attendee list
    2. You need to keep track of any theme modifications in case you change the theme. In the case when someone else is doing modifications for you then you may not be aware of these modifications until you change the theme and all of a sudden things no longer work.

    #45867
    Barry
    Member

    Hi fcp3org, although you might need to reorder things slightly to turn this into a functional solution you should be able to count the number of attendees during checkout with some fairly simple code – you could then use that to generate the relevant number of fields required to capture attendee data.

    #45869
    Barry
    Member

    Hi J-P, we’ve definitely taken that feedback on board and it’s under consideration.

    One thing I would add (about the problem of tracking modifications to themes) is that this is true almost every time something other than an out-of-the-box solution is required, but there are various strategies to minimize this problem – such as using child themes and/or any best practices recommended for further customization by the theme vendor.

    Also, though we commonly talk about changing templates or adding code to a theme’s functions.php file that is often just for easiness of explanation – in many cases the code could be wrapped up in a plugin. Here, for instance, the attendee data fields could be injected using one of the hooks provided in the WooCommerce templates.

    That level of coding isn’t for everyone of course, but I just wanted to highlight that this is in no way an impossible situation.

    #45962
    Lisa
    Participant

    J-P, Barry is right the easiest way to say something is to say edit your functions.php file. I however am using a child theme and do all my custom work in a plugin just as Barry has stated.

    Barry – I’m going to try what you suggested. I’ll report back. As soon as I have it working properly, I’ll put together my exact steps and share with the group. Thanks again for the help.

    #45974
    Barry
    Member

    Excellent – thank you for taking the time to share your solution and the steps you’re trying out here.

    #46063
    J-P
    Participant

    I’ve had one of my developers add it all into a plugin so the checkout page will have a name and email field for each ticket being purchased. I’ll post a link shortly.

    #46080
    J-P
    Participant

    The plugin to add name and email fields for multiple attendees to the Woocommerce checkout page can be accessed via http://buzzwebmedia.com.au/event-bookings-with-wordpress/

    #46087
    Barry
    Member

    That’s a fantastic contribution to make – thanks for sharing – I look forward to giving it a try 🙂

Viewing 15 posts - 16 through 30 (of 36 total)
  • The topic ‘Adding extra names when multiple tickets are purchased’ is closed to new replies.