Add ticket Event name on Cart and Email

Home Forums Ticket Products Event Tickets Plus Add ticket Event name on Cart and Email

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #69625
    tkbmtl
    Participant

    Hi, 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

    #69733
    Barry
    Member

    Hi!

    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!

    #70498
    creativeworld
    Participant

    This 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!).

    #70569
    Kelly
    Participant

    Hi, 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!

    #71003
    brightestspark
    Participant

    I 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.

    #71045
    Kelly
    Participant

    Thanks for the feedback, brightestspark. We really value input from our user community! 🙂

    #159022
    sanver
    Participant

    Hi 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]

    #160319
    sanver
    Participant

    This reply is private.

    #200457
    sanver
    Participant

    Hi 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

    #204603
    Barry
    Member

    Hi!

    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!

Viewing 10 posts - 1 through 10 (of 10 total)
  • The topic ‘Add ticket Event name on Cart and Email’ is closed to new replies.