get_total() > 0; $currency_symbol = isset( $settings['currency_symbol'] ) ? $settings['currency_symbol'] : '£'; $primary_colour = $email_handler->get_primary_colour(); // Get location details. $location = null; $location_name = ''; $location_addr = ''; if ( $order->get_location_id() && class_exists( 'BoxCart_Location' ) ) { $location = BoxCart_Location::get( $order->get_location_id() ); if ( $location ) { $location_name = $location->get_name(); $location_addr = $location->get_formatted_address( ', ' ); } } // Admin order URL. $admin_order_url = admin_url( 'admin.php?page=boxcart-orders&action=view&id=' . $order->get_id() ); // Map change keys to human-readable descriptions. $change_labels = array( 'items' => __( 'Order items were updated', 'boxcart' ), 'collection slot' => __( 'Collection date/time was changed', 'boxcart' ), 'notes' => __( 'Customer notes were updated', 'boxcart' ), ); $changes_list = isset( $changes ) && is_array( $changes ) ? $changes : array(); // Sort items. $sort_order = isset( $sort_order ) ? $sort_order : 'cart_order'; $category_order = isset( $category_order ) ? $category_order : array(); $items = BoxCart_Helpers::sort_order_items( $order->get_items(), $sort_order, $category_order ); $show_categories = 'by_category' === $sort_order; $current_category = null; ?>

⚠

get_order_number() ); ?>

get_created_date( 'j F Y \a\t g:ia' ) ) ); ?>

get_customer_phone() ) : ?>
get_customer_name() ); ?>
get_customer_email() ); ?>
get_customer_phone() ); ?>

🏪

get_slot_date( 'l, j F Y' ) ); ?>
get_slot_time_range() ); ?>


get_total() ) : ?> get_customer_notes() ) : ?>

get_customer_notes() ); ?>