Home › Forums › Ticket Products › Event Tickets Plus › Edit woocommerce ticket sent to customers
- This topic has 6 replies, 4 voices, and was last updated 10 years, 2 months ago by
Geoff.
-
AuthorPosts
-
October 13, 2014 at 8:17 am #807560
mtmuddnadd
ParticipantHi,
1. Once the order is manually marked completed – customers will receive two emails, i. Order Complete by Woocommerce, ii. Tickets by WooTickets
2. Where can I find the file to customise the tickets email settings and templates?
i. The email title doesn’t appear right — it shows “Your tickets from Let's Learn Outside!” instead of “Your tickets from Let’s Learn Outside!”
ii. How do I add additional fields in the email template such as custom fields from Events Calendar Pro
iii. The address link in the tickets email doesn’t hyperlink to the map. Anyway to fix that?Thanks!
October 13, 2014 at 10:42 am #807942Barry
MemberHi – thanks for contacting us!
Although I appreciate your questions all relate to ticketing they are all touching on different aspects of the system. Generally it’s best to stick to one issue per thread – it can avoid a lot of confusion 🙂
2. Where can I find the file to customise the tickets email settings and templates?
The template used to form the tickets email actually lives within The Events Calendar itself and can be found at views/tickets/email.php – remember to make a copy of this and place it in your theme’s tribe-events directory if you want to modify it!
Full details on safely overriding and customizing templates can be found in our Themer’s Guide.
i. The email title doesn’t appear right — it shows “Your tickets from Let’s Learn Outside!” instead of “Your tickets from Let’s Learn Outside!”
I’m not sure I understand, exactly. This text:
Your tickets from Let's Learn Outside!Seems identical to:
Your tickets from Let’s Learn Outside!What are you trying to change it to/can you clarify what the problem is?
ii. How do I add additional fields in the email template such as custom fields from Events Calendar Pro
You would need to figure out which event the tickets relate to – the tribe_events_get_ticket_event() function could help with this – and then you can use functions like tribe_get_custom_fields() and tribe_get_custom_field() to actually grab and display the fields themselves.
iii. The address link in the tickets email doesn’t hyperlink to the map. Anyway to fix that?
You could add a link in your customized version by using the tribe_get_map_link() or tribe_get_map_link_html() functions 🙂
I hope that helps!
October 15, 2014 at 7:12 am #812178mtmuddnadd
ParticipantHi,
Thanks for the reply.
1. I think the forum successfully converted &# 039; into a symbol. When the email is sent its shows &# 039; instead of ” ‘ ” the quote mark in Let’s.
Thanks!
October 15, 2014 at 8:53 am #812377Barry
MemberAh, now I understand! Thanks for clarifying 🙂
That’s definitely a bug on our side and I’ll log an issue to get it fixed. In the interim, can you try adding this code to your theme’s functions.php file and see if it helps?
add_filter( 'wootickets_ticket_email_subject', 'wootix_fix_subject_sitetitle_encoding' ); function wootix_fix_subject_sitetitle_encoding( $subject ) { $find = get_option( 'blogname' ); $replace = wp_specialchars_decode( $find, ENT_QUOTES ); return str_replace( $find, $replace, $subject ); }October 28, 2014 at 10:22 am #844249Barry
MemberHi! It’s been a while so I’m going to go ahead and close this thread. If we can help with anything else, though, please don’t hesitate to create new threads as needed. Thanks!
December 5, 2014 at 2:58 pm #909561Leah
MemberHi there,
I wanted to post here and update you. Although we weren’t able to get a fix for the issue your reported into our upcoming 3.9 release, it is still on our list to get corrected. Thank you for reporting the problem, and for your patience and support while we get a solid fix in place. We’ll update you when a solution is ready to go.
Best,
LeahFebruary 18, 2016 at 11:12 am #1077290Geoff
MemberHey there!
Just wanted to jump in here and let you know that we released Event Tickets Plus 4.0.5 last night and it included a fix for this issue. Please check your WordPress updates, or you can also grab the latest copy by logging into this site and heading to My Account > Downloads.
Thanks for your patience while we worked on this! Please feel free to open a new thread if you continue to experience the same issue or have any other questions that pop up during updating and we’d be happy to help. 🙂
Cheers!
Geoff -
AuthorPosts
- The topic ‘Edit woocommerce ticket sent to customers’ is closed to new replies.
