Home › Forums › Ticket Products › Event Tickets Plus › Adding extra names when multiple tickets are purchased
- This topic has 35 replies, 9 voices, and was last updated 10 years, 11 months ago by Barry.
-
AuthorPosts
-
April 8, 2013 at 8:20 pm #45293BarryMember
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.
April 9, 2013 at 7:49 am #45339RobMemberJ-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!
April 12, 2013 at 9:47 am #45687LisaParticipantThis 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.
April 12, 2013 at 11:49 am #45699BarryMemberWe 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!
April 12, 2013 at 11:58 am #45701LisaParticipantBarry – 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.
April 12, 2013 at 3:11 pm #45723BarryMemberI 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)?
April 12, 2013 at 3:44 pm #45725LisaParticipantYes 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.
April 12, 2013 at 5:38 pm #45730J-PParticipantThere 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.April 15, 2013 at 2:03 pm #45867BarryMemberHi 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.
April 15, 2013 at 2:06 pm #45869BarryMemberHi 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.
April 16, 2013 at 7:39 am #45962LisaParticipantJ-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.
April 16, 2013 at 10:24 am #45974BarryMemberExcellent – thank you for taking the time to share your solution and the steps you’re trying out here.
April 17, 2013 at 5:26 am #46063J-PParticipantI’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.
April 17, 2013 at 8:32 am #46080J-PParticipantThe 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/
April 17, 2013 at 9:59 am #46087BarryMemberThat’s a fantastic contribution to make – thanks for sharing – I look forward to giving it a try 🙂
-
AuthorPosts
- The topic ‘Adding extra names when multiple tickets are purchased’ is closed to new replies.