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.
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.
Support forum for Event Espresso 3 and Event Espresso 4.