Support

Home Forums Seating Chart Add-on (EE3) Single discount with the seating chart

Single discount with the seating chart

Posted: October 14, 2013 at 10:25 am

Viewing 2 reply threads


Michael Sawyer

October 14, 2013 at 10:25 am

I needed to have a single discount option using the seating chart for events. I have tried it without success. Is this possible?


Sidney Harrell

October 14, 2013 at 1:09 pm

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 .= "FROM " . EVENTS_SEATING_CHART_EVENT_SEAT_TABLE . " sces ";
		$SQL .= "INNER JOIN " . EVENTS_ATTENDEE_TABLE . " ea ON sces.attendee_id = ea.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.


Michael Sawyer

October 15, 2013 at 7:24 am

FYI I know it’s beta but would be great if it worked. Espresso Price Modifier with seating chart and multiple tickets makes the price free when discount is applied to second attendee.

Viewing 2 reply threads

The support post ‘Single discount with the 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.

Event Espresso