get_total() > 0 ) && ( isset( $settings['show_prices'] ) ? (bool) $settings['show_prices'] : true ); $currency_symbol = isset( $settings['currency_symbol'] ) ? $settings['currency_symbol'] : '£'; $primary_colour = $email_handler->get_primary_colour(); // Default status if not set. $new_status = isset( $new_status ) ? $new_status : 'processing'; // 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( ', ' ); } } // Status badge classes. $status_classes = array( 'pending' => 'status-pending', 'processing' => 'status-processing', 'ready' => 'status-ready', 'completed' => 'status-completed', 'cancelled' => 'status-cancelled', ); $status_class = isset( $status_classes[ $new_status ] ) ? $status_classes[ $new_status ] : 'status-pending'; // Status labels. $status_labels = array( 'pending' => __( 'Order Received', 'boxcart' ), 'processing' => __( 'Being Prepared', 'boxcart' ), 'ready' => __( 'Ready for Collection', 'boxcart' ), 'completed' => __( 'Completed', 'boxcart' ), 'cancelled' => __( 'Cancelled', 'boxcart' ), ); $status_label = isset( $status_labels[ $new_status ] ) ? $status_labels[ $new_status ] : ucfirst( $new_status ); // Check if auto-complete is enabled — if so, the completed email is the first // email the customer receives and should include full order details. $is_auto_complete = ! empty( $settings['order_auto_complete'] ); ?>
get_id() ) ? (float) get_transient( 'boxcart_cancel_refund_' . $order->get_id() ) : 0; ?> 0 ) : ?>get_order_number() ); ?>
get_created_date( 'j F Y \a\t g:ia' ) ) ); ?>
get_slot_date( 'l, j F Y' ) ); ?>
get_slot_time_range() ); ?>
get_instructions() ); ?>
| — |
get_customer_notes() ); ?>