Home Forums Seating Chart Add-on (EE3) Promo codes not working with Seating Chart

Promo codes not working with Seating Chart

Posted: October 1, 2014 at 7:04 pm


October 1, 2014 at 7:04 pm

EE3 Version
Seating Chart Version 1.2.1-alpha
latest plugins installed for EE3

To reproduce problem:
Go here: and click on Willie Wonka Jr 10-27-14 icon in the grid. Then click “Buy Tickets” button on the next page.
Next Click the grey box to select a seat from the top row. (note the price of the seat before clicking OK box. ie: the top row is $15)
Fill out info and then use “student123” for the promo code.
Hit Submit.

It will show that a $10 discount was applied but the total is still $15.
If I deactivate the Seating chart plugin it works fine.
I need the promo code to work with the Seating chart or this is DOA for us.

Any ideas what the problem could be?


October 2, 2014 at 6:45 am

Can anybody help with this please? This is urgent.


  • Support Staff

October 2, 2014 at 10:05 am

Hi Eli,

Normally the seating chart overrides and nullifies any discounts or other pricing besides what is in the seating chart. However, if you go into includes/process-registration/payment_page.php and comment out lines 125-137:

/*if ( defined('ESPRESSO_SEATING_CHART') && class_exists("seating_chart") && seating_chart::check_event_has_seating_chart($event_id) !== false) {
		$SQL = "SELECT sum(sces.purchase_price) as purchase_price ";
		$SQL .= "INNER JOIN " . EVENTS_ATTENDEE_TABLE . " ea ON sces.attendee_id = ";
		$SQL .= "WHERE ea.registration_id = %s";  
        if ( $seat = $wpdb->get_row( $wpdb->prepare( $SQL, $registration_id ))) {
            $total_cost = number_format( $seat->purchase_price, 2, '.', '' );
            //$event_price_x_attendees = (float)$final_price;
	} */

then it should allow the coupon code to work.


October 2, 2014 at 4:20 pm

Thank you so much!! That worked!

Lorenzo Orlando Caum

  • Support Staff

October 2, 2014 at 7:02 pm

Thanks for confirming that this edit worked. If you have any other questions, just create a new support post in our support forums:


The support post ‘Promo codes not working with Seating Chart’ 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 5 years, 3 months ago ago

Topic Tags


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