get_location_id() ); // Get order items. $items = $boxcart_order->get_items(); // Get status log. $status_log = $boxcart_order->get_status_log(); // Settings. $settings = get_option( 'boxcart_settings', array() ); $currency_symbol = isset( $settings['currency_symbol'] ) ? $settings['currency_symbol'] : '£'; $prices_enabled = isset( $settings['prices_enabled'] ) ? (bool) $settings['prices_enabled'] : true; // Show prices if pricing is enabled OR if this order has a total (historical order with real prices). $show_prices = $prices_enabled || ( $boxcart_order->get_total() > 0 ); $enable_sku = isset( $settings['enable_sku'] ) ? (bool) $settings['enable_sku'] : false; // Status labels and colors. $all_status_labels = BoxCart_Order::STATUSES; $enabled_statuses = isset( $settings['order_enabled_statuses'] ) ? $settings['order_enabled_statuses'] : array_keys( $all_status_labels ); $status_labels = array_intersect_key( $all_status_labels, array_flip( $enabled_statuses ) ); $status_colors = array( 'pending' => '#f0ad4e', 'processing' => '#5bc0de', 'ready' => '#2e7d32', 'completed' => '#4caf50', 'cancelled' => '#d9534f', ); $current_status = $boxcart_order->get_status(); $current_color = isset( $status_colors[ $current_status ] ) ? $status_colors[ $current_status ] : '#777'; // Check for status update notice (informational flag set after a successful // status change redirect; not used to grant any privilege). $status_updated = isset( $_GET['status_updated'] ) && '1' === $_GET['status_updated']; // phpcs:ignore WordPress.Security.NonceVerification.Recommended -- Read-only success-notice flag; capability-gated above. ?>

get_order_number() ) ); ?>

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

get_customer_notes() ); ?>

  • display_name : __( 'System', 'boxcart' ); ?>

get_order_number() ); if ( $boxcart_order->get_net_paid() > 0 ) { $boxcart_delete_confirm .= ' ' . sprintf( /* translators: %s: amount */ __( 'It still shows %s paid, so make sure you\'ve settled that with the customer.', 'boxcart' ), BoxCart_Helpers::format_price_plain( $boxcart_order->get_net_paid(), false ) ); } ?>
get_payment_method(); $payment_status = $boxcart_order->get_payment_status(); if ( $payment_method && BoxCart_Payment::METHOD_NONE !== $payment_method ) : $payment_status_colors = array( 'not_required' => '#777', 'pending' => '#f0ad4e', 'awaiting_payment' => '#ff9800', 'processing' => '#5bc0de', 'paid' => '#4caf50', 'part_paid' => '#ff9800', 'failed' => '#d9534f', 'refunded' => '#9c27b0', 'cancelled' => '#d9534f', ); $payment_color = isset( $payment_status_colors[ $payment_status ] ) ? $payment_status_colors[ $payment_status ] : '#777'; ?>

get_payment_method_label() ); ?>
get_payment_status_label() ); ?>
get_amount_refunded() > 0 ) : ?>
get_amount_refunded(), false ) ); ?>
get_give_back_in_person() > 0 ) : ?>
get_status() ? esc_html__( 'Given back in person:', 'boxcart' ) : esc_html__( 'To give back at collection:', 'boxcart' ); ?> get_give_back_in_person(), false ) ); ?>
get_balance_due() > 0 ) : ?>
get_balance_due(), false ) ); ?>
get_transaction_id() ) : ?>
get_transaction_id() ); ?>

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

get_name() ); ?>
get_formatted_address( ', ' ) ); ?>
get_slot_date( 'l j F Y' ) ); ?>
get_slot_time_range() ); ?>
get_instructions() ) : ?>
get_instructions() ); ?>

get_order_number() ); ?>
get_created_date( 'j M Y, g:ia' ) ); ?>
get_item_count() ); ?>
get_total() ) : ?>
get_formatted_total() ); ?>