Support

Home Forums Seating Chart Add-on (EE3) Email Tag for Sections

Email Tag for Sections

Posted: January 5, 2015 at 5:00 pm


Dovid Altein

January 5, 2015 at 5:00 pm

Hi there, is there anyway to include the ‘section’ name in the confirmation emails?
I want it to say ‘seat# xx’ in ‘section#: xx’
What tag would i use to do this?

Thanks


Dean

January 6, 2015 at 6:29 am

Hi,

There isn’t a tag for this, only one for the seat ([seating_tag], it displays the tag, seat and row).

The only way to achieve what you want would be via custom development. It’s not a hard job, but it would involve modifying a core file which we do not recommend nor support.

If you want to look into it further it is /wp-content/plugins/event-espresso/includes/functions/email.php and you will need to modify $SearchValues and $ReplaceValues arrays. (You could get away with modifying the existing seating_tag tag if that is preferable).

Updates to the plugin will over write any changes you make.


Dovid Altein

January 6, 2015 at 2:48 pm

how can i modify the existing seating_tag?
which file would i edit?

Thanks


Lorenzo Orlando Caum

  • Support Staff

January 6, 2015 at 3:57 pm

Hi, we won’t be able to assist you with core edits but you can take a look at this file:

event-espresso/includes/functions/email.php

if (defined("ESPRESSO_SEATING_CHART")) {
        if (class_exists("seating_chart")) {
            if ( seating_chart::check_event_has_seating_chart($data->event->id)) {
                $rs = $wpdb->get_row("select scs.* from ".EVENTS_SEATING_CHART_EVENT_SEAT_TABLE." sces inner join ".EVENTS_SEATING_CHART_SEAT_TABLE." scs on sces.seat_id = scs.id where sces.attendee_id = ".$attendee_id);
                if ( $rs !== NULL ) {
                    $data->seatingchart_tag = $rs->custom_tag." ".$rs->seat." ".$rs->row;
                }
            }
        }
    }


Lorenzo

The support post ‘Email Tag for Sections’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Support forum for the Seating Chart add-on for EE3.
This product has been discontinued and is no longer under development.

Status: closed

Updated by  Lorenzo Orlando Caum 4 years, 7 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!