Edit woocommerce ticket sent to customers

Home Forums Ticket Products Event Tickets Plus Edit woocommerce ticket sent to customers

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #807560
    mtmuddnadd
    Participant

    Hi,

    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!

    #807942
    Barry
    Member

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

    #812178
    mtmuddnadd
    Participant

    Hi,

    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!

    #812377
    Barry
    Member

    Ah, 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 );
    }
    #844249
    Barry
    Member

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

    #909561
    Leah
    Member

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

    #1077290
    Geoff
    Member

    Hey 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

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Edit woocommerce ticket sent to customers’ is closed to new replies.