Adding Field sets to Email Template and Order page

Home Forums Ticket Products Event Tickets Plus Adding Field sets to Email Template and Order page

Viewing 15 posts - 1 through 15 (of 17 total)
  • Author
    Posts
  • #1193438
    hotshotcreative
    Participant

    Hi

    I would like to add the fieldsets to the order-received page template and also to the email templates.

    If this is already documented somewhere please could you provide a link.

    Any help greatly appreciated

    Thanks
    Chris

    #1194137
    Andras
    Keymaster

    Hello Chris,

    Thanks for reaching out with your request.

    As for the ticket email, we have a small extension plugin that would do this for you. You can download it here and install it like any other plugin. It will give you an extra setting under Events > Settings > Tickets

    https://theeventscalendar.com/content/uploads/2016/10/tribe-ext-tickets-email-options-0-3-0.zip

    This will add the attendee meta in the ticket email as well as the order details page.

    As for the order-received page, I will need to check, please give me some time.

    Meanwhile let me know if the above helps.

    Thanks and cheers,
    Andras

    #1194144
    Andras
    Keymaster

    Hey Chris,

    Sorry, got confused, that plugin does add it to the orders-received page as well.

    Please check and let me know if this works for you.

    Cheers,
    Andras

    #1194434
    hotshotcreative
    Participant

    Hi

    It doesn’t show these fields on the order page, please could you let me have the code for the template so I can check?

    Thanks

    #1195222
    Andras
    Keymaster

    Hello Chris,

    All the code needed is in the plugin I linked in above. Once activated you will see 3 extra options under Events > Settings > Tickets tab:

    Cloudup dcoqk0cuq14

    Make sure that the 2 checkboxes marked in the screenshot are checked in. The 1st adds the info to the email, the 3rd adds it to the orders-received page like this:

    Cloudup crucu2xcc5n

     

    If by any chance you would have the details twice in the email, then simply uncheck the 1st checkbox.

    Please test if this solves it for you and let me know. I’ll be waiting.

    Cheers,
    Andras

    #1196198
    hotshotcreative
    Participant

    For some reason I can’t see the tick boxes…..see attached.

    #1196435
    Andras
    Keymaster

    Hi Chris,

    That’s curious. Check these:

    1. Do you have all your plugins up to date?
    2. Did you activate the plugin which I sent you?
    3. Could you please share with me your system information so I can check for additional info? (Here’s a guide for this: https://theeventscalendar.com/knowledgebase/sharing-sys-info/)

    Thanks and cheers,
    Andras

    #1196447
    hotshotcreative
    Participant

    Hi Andras

    Thank you so much! I think this is working now!

    Regards
    Mandy

    #1196916
    hotshotcreative
    Participant

    Hi Andras

    Is there anything we can do about this styling? (see attachment)

    The ticket details bit is all indented and the heading, date and Ticket details are all bunched up

    Regards
    Mandy

    #1197267
    Andras
    Keymaster

    Hey Mandy,

    I’m happy to hear it’s working now. Cool!

    It is possible to customize the ticket email. Unfortunately we are limited in doing and supporting customization, but I can show you the way.

    As a first I recommend you to read these two articles:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    https://theeventscalendar.com/knowledgebase/template-overview/

     

    Once you’ve done that you should have a basic understanding on how to do template overrides.

    For customizing the email you need to override this file:

    wp-content\plugins\the-events-calendar\vendor\tickets\src\views\tickets\email.php

    You will need to make a copy of it here:

    [your-theme]/tribe-events/tickets/email.php

    And then you can adjust the formatting of it.

    I hope this gets you started. Let me know if you get stuck.

    Cheers,
    Andras

    #1201749
    hotshotcreative
    Participant

    Hi Andras

    I have copied the file email.php to my theme but it doesn’t work…I can’t see where I change the column width etc for ticket details. Can you help?

    Regards
    Mandy

    #1202025
    Andras
    Keymaster

    Hello Mandy,

    Some of the design is set up with css at the beginning, some of it is inline css with the style=”” tag, and some of it is inline HTML.

    The width for ticket details is in lines 331, 335, 339, and 343, done with inline css like as well as inline HTML:

    <td class=”ticket-details” valign=”top” align=”left” <span style=”text-decoration: underline;”>width=”100″</span> style=”padding: 0; <span style=”text-decoration: underline;”>width:100px</span>; margin:0 !important;”>

    When changing one column, do not forget to set both values and to adjust the rest of the columns so that the column widths add up to the same number as before. Unless you change the sizing of the whole of course.

    Does this help you get started?

    Cheers,
    Andras

    #1204634
    hotshotcreative
    Participant

    Hi Andras

    Thank you so much for the information. I will have a go and let you know if it doesn’t work.

    I have another question Andras, is there a way to change the heading for the event calendar? (Events Archive) Trainings and Events for December 2016)

    Mandy

    #1205216
    Andras
    Keymaster

    Heya Mandy,

    For changing the heading, this article should be helpful:

    https://theeventscalendar.com/knowledgebase/altering-or-removing-titles-on-calendar-views/

    Let me know if you get stuck.

    Cheers,
    Andras

    #1205464
    hotshotcreative
    Participant

    Thank you so much Andras 🙂 The title is now updated.

Viewing 15 posts - 1 through 15 (of 17 total)
  • The topic ‘Adding Field sets to Email Template and Order page’ is closed to new replies.