Home › Forums › Ticket Products › Event Tickets Plus › Add ticket Event name on Cart and Email
- This topic has 9 replies, 6 voices, and was last updated 11 years, 10 months ago by
Barry.
-
AuthorPosts
-
October 7, 2013 at 8:54 am #69625
tkbmtl
ParticipantHi, I want to add the event name to the cart and to all the emails, and not just have the ticket name… Often the name of the ticket is not enough explanatory. This is confusing to the user when he sees only a name like ADULT. EVENTS NAME – ADULT would be much better. Thx
October 7, 2013 at 4:00 pm #69733Barry
MemberHi!
You would need to familiarize yourself with the process of customizing both our templates (see the themer’s guide) and those of WooCommerce first of all. Basically though you can obtain the ID of an event related to a particular product with:
$event_id = get_post_meta($product->id, '_tribe_wooticket_for_event', true);Where you already have a reference to the current WooCommerce product object, of course. You can then load the event post itself with:
$events = tribe_get_events(array('p' => $event_id));
$event = $events[0]; // safety check advisable!And access items like the event title with:
$title = $event->post_title;Hope that helps!
October 10, 2013 at 10:48 pm #70498creativeworld
ParticipantThis functionality would make WooTickets so awesome. In my mind instead of set fields (name, email, phone etc.) they would be customisable for example ‘dietary requirements’ field etc. making attendee lists much more useful. I hope you seriously consider including it in a future version (and bump up the price if needed!).
October 11, 2013 at 10:42 am #70569Kelly
ParticipantHi, creativeworld. Thanks so much for the feedback.
We prioritize new features based on their response in our User Voice forum. If you wouldn’t mind posting there, we’d be very grateful!
Thanks for being a WooCommerce Tickets user!
October 14, 2013 at 8:18 pm #71003brightestspark
ParticipantI agree with tkbmtl – auto appending the event name, date and start time to the ticket name in the cart and email would be ideal out of the box solution. Eg. General Admission – Event Name – DD/MM/YY HH:MM. I’m doing that manually for my tickets for now.
I’ll add it to uservoice.October 15, 2013 at 6:31 am #71045Kelly
ParticipantThanks for the feedback, brightestspark. We really value input from our user community! 🙂
May 13, 2014 at 12:43 am #159022sanver
ParticipantHi Barry ,
Please tell me the above in steps it should be better for me for understanding I need the same please you can send me the steps at [email protected]May 14, 2014 at 12:35 am #160319sanver
ParticipantThis reply is private.
June 3, 2014 at 1:45 am #200457sanver
ParticipantHi Barry,
Please help me to do this$event_id = get_post_meta($product->id, ‘_tribe_wooticket_for_event’, true);
Where you already have a reference to the current WooCommerce product object, of course. You can then load the event post itself with:
$events = tribe_get_events(array(‘p’ => $event_id));
$event = $events[0]; // safety check advisable!And access items like the event title with:
$title = $event->post_title;
which pages I need to customization. Please
June 4, 2014 at 2:03 pm #204603Barry
MemberHi!
I’m afraid this thread wasn’t being monitored as it was created by another user and marked resolved back in October 2013: I do also see you created a new thread so let’s keep the conversation rolling there 🙂
Generally speaking it’s best not to “hijack” a pre-existing thread – especially a very old one – for just this reason.
Thanks!
-
AuthorPosts
- The topic ‘Add ticket Event name on Cart and Email’ is closed to new replies.
