Home › Forums › Ticket Products › Event Tickets Plus › add event title to order page
- This topic has 27 replies, 3 voices, and was last updated 9 years, 4 months ago by
Brook.
-
AuthorPosts
-
October 25, 2016 at 9:32 am #1182522
Sallé Alexander
Participanthello,
My client want to have the title of the event with the ticket title product on the order page.
there is the product ( ticket title) but not the event title.is it possible to insert ?
i give u a picture,
All the best
Alexander
October 25, 2016 at 9:33 am #1182529Sallé Alexander
Participantthe picture
October 26, 2016 at 9:55 am #1183285Brook
ParticipantHowdy Salle,
That is definitely possible! Just insert this into your theme’s functions.php file:
https://gist.github.com/elimn/a7dcd0a63815db583c1e
Then change this line:
//tribe_et_move_tickets_purchase_form( 'tribe_events_single_event_before_the_content' );To this:
tribe_et_move_tickets_purchase_form( 'tribe_events_single_event_before_the_content' );Does that all make sense? Will that work for you? Please let me know.
Cheers!
– Brook
October 26, 2016 at 11:49 pm #1183600Sallé Alexander
Participanthello,
it’s not what i m looking for.
this snippet just move the form in the single event page.I try to explain:
– on the second screenshot ( the cart page) : in the cart, u have the product title ([CR-…]) and just after the event title ( bachata-fusion…). U see that ?
– On the first screenshot ( the order page) : u have only the the product title ([CR-…])x1. U see that ?so, the user cannot know for which event he bought a ticket !
so is it possible to insert the event title on this order page like in the cart page ?
it would be so great and more compréhensive…
hope u understand me !
Alexander
October 27, 2016 at 10:21 pm #1184253Brook
ParticipantI am sorry Alexander, I think I had two topics open when I responded last time. Your request was very clear, but I responded to the wrong thing.
What you want is certainly possible. We have an awesome snippet that does basically that, perhaps it’s exactly what you want:
https://gist.github.com/ggwicz/2a87b71e08c584341ef2809f2ea9cb27
That will show the details on the order page in this format:
[embed]https://cloudup.com/cDGRZ57-i46[/embed]
That shows not just the event title, but also basic details about the event such as the venue and time. Does that seem like what you are looking for? If so, just insert the snippet into your theme’s functions.php and you should be golden! If you prefer fewwer or different details to be shown just let me know.
Cheers!
– Brook
October 28, 2016 at 1:03 am #1184286Sallé Alexander
Participanthello,
its not exactly what i need :
i would like the same but not in the email order, i would like it in the order page in front.With this the user know for which event he buy a ticket
i give a screenshot of the page where i would like the information
November 1, 2016 at 7:37 am #1185749Brook
ParticipantThank you for sharing the URL in your screenshot! All of those pages start to look the same when you scroll down.
I do have a free addon which modifies that page, and everywhere else the order details are shown. Here is a good before and after shot of its changes to the order table in your screenshot:
Is that what you are looking for? If so you can download, install, and activate this miniature plugin: tribe-ext-tickets-email-options-0-3-0 Once that’s installed you will notice three new options in WP-Admin > Events > Settings > Tickets. Check the option “WooCommerce Emails: Add Event Information”. This will add the information to every page which shows the full order details, including the one from your screenshot and many of the emails WooCommerce sends out when an order is received.
Is that what you are looking for?
Cheers!
– Brook
November 2, 2016 at 2:37 am #1186228Sallé Alexander
Participanthello,
its exactly what i need, but the plugin give me white page, i cannot activate it.
all the best
Alexander
November 2, 2016 at 10:20 am #1186463Brook
ParticipantExcellent news that this is what you need! Let’s just get it working on your site.
You will need to be on the latest 4.3.1+ versions of the plugins. Are all Tribe plugins that version or greater? Do you have any other snippets, extensions, or plugins that alter the emails sent out? If so could you disable those?
If the above does not help would you mind grabbing your system information and pasting it here? Make sure to use the ‘Set as private reply’ checkbox to protect your private information from the public. You can find the system info by going to WP Admin > Events > Settings, clicking on the “Help” tab, and scrolling down to the ‘System Information’ box. (Or by going to [yoursite]/wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar&tab=help) That will give me a lot of extra information to help diagnose the problem.
Cheers!
– Brook
November 3, 2016 at 3:11 am #1186888Sallé Alexander
ParticipantThis reply is private.
November 3, 2016 at 8:36 am #1187028Brook
ParticipantThanks Alexander!
Yeah two of the plugins you are running are likely culprits for a conflict:
- TEC Addon: Display order details on WooCommerce version 0.1.1 by Gustavo Bordoni(http://bordoni.me)
- Event Tickets: Additional Email Options version 2016-07-07 Beta by Modern Tribe, Inc.(http://m.tri.be/1x)
In particular the last one should not be run alongside the extension I shared above. They are the same plugin, but the one you currently have installed is the beta version. You will need to disabled this plugin to install the newer version of it.
The first one might also cause issues, but is less likely to.
Does that all make sense?
Cheers!
– Brook
November 4, 2016 at 1:37 am #1187598Sallé Alexander
Participanthello,
its ok i can activate the plugin, but in the order page in front, i don’t have the event title in the permalink,
i give u a screenshot…all the best
Alexander
November 6, 2016 at 8:40 am #1188393Brook
ParticipantThanks for the feedback. I only just realized that the event title from my screenshot does not get added unless Community Tickets is present. Here is an updated version that will add the event title regardless of whether Community Tickets is installed:
tribe-ext-tickets-email-options-0-4-1
Does that add the title for you?
Cheers!
– Brook
November 7, 2016 at 3:31 am #1188531Sallé Alexander
ParticipantThis reply is private.
November 7, 2016 at 9:13 am #1188668Brook
ParticipantThis reply is private.
-
AuthorPosts
- The topic ‘add event title to order page’ is closed to new replies.

