Support

Home Forums Event Espresso Premium Selling Tickets for Show + Dinner Package as well

Selling Tickets for Show + Dinner Package as well

Posted: November 20, 2013 at 7:13 pm

Viewing 2 reply threads


Landon Stroud

November 20, 2013 at 7:13 pm

Hi,
we use the seating chart for our shows, however we need to sell 2 x ticket options or a ticket plus an add on option.

We need to offer
1 x Ticket for show
1 x Ticket for Dinner

You need to be able to buy either.


Jonathan Wilson

November 21, 2013 at 12:55 pm

Hi Landon,

You can try out our Price Modifier add-on that is in the Pre-release channel. You’ll need to opt into the pre-release channel in order to see the downloads.

The Price Modifier will allow you to create custom questions that have prices attached, so you could easily add the extra items.


Sidney Harrell

November 21, 2013 at 1:00 pm

I would suggest using the Price Modifier add-on to add a question that will increase the ticket price. Note that you will have to modify includes/process-registration/payment_page.php to remove or comment out lines 125-137 (It is removed by default in an upcoming version):

// Added for seating chart addon
// This code block overrides the cost using seating chart add-on price
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;
    }
}
Viewing 2 reply threads

The support post ‘Selling Tickets for Show + Dinner Package as well’ 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