get_items( apply_filters( 'woocommerce_purchase_order_item_types', 'line_item' ) ); $show_purchase_note = $order->has_status( apply_filters( 'woocommerce_purchase_note_order_statuses', array( 'completed', 'processing' ) ) ); $show_customer_details = is_user_logged_in() && $order->get_user_id() === get_current_user_id(); $downloads = $order->get_downloadable_items(); $show_downloads = $order->has_downloadable_item() && $order->is_download_permitted(); ?> has_status( 'failed' ) ) : echo 'faild'; else: ?>
'true', 'class' => 'eael-thankyou-icon' ] ); ?>
get_payment_method(), $order->get_id() ); ?>

$downloads ] ); ?>

$item ) { $product = $item->get_product(); ?>
get_image_id(), 'full' ); echo '' . esc_attr( $item->get_name() ) . ''; } echo "
"; if ( $settings['eael_show_order_items_name'] === 'yes' ) { echo "
"; $is_visible = $product && $product->is_visible(); $product_permalink = apply_filters( 'woocommerce_order_item_permalink', $is_visible ? $product->get_permalink( $item ) : '', $item, $order ); echo wp_kses_post( apply_filters( 'woocommerce_order_item_name', $product_permalink ? sprintf( '%s', $product_permalink, $item->get_name() ) : $item->get_name(), $item, $is_visible ) ); echo "
"; } echo "
"; if ( $settings['eael_show_order_items_meta'] === 'yes' && $item->get_all_formatted_meta_data() ) { $hide_meta_label = empty( $settings['eael_show_order_items_meta_label'] ) || $settings['eael_show_order_items_meta_label'] != 'yes' ? 'hide-meta-label' : ''; echo "
"; do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, false ); $meta_args = [ 'separator' => ',
  • ', 'label_before' => '', 'label_after' => ': ' ]; wc_display_item_meta( $item, $meta_args ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order, false ); echo "
  • "; } if ( $settings['eael_show_order_items_qty'] === 'yes' ) { echo "
    "; $qty = $item->get_quantity(); $refunded_qty = $order->get_qty_refunded_for_item( $item_id ); if ( $refunded_qty ) { $qty_display = '' . esc_html( $qty ) . ' ' . esc_html( $qty - ( $refunded_qty * - 1 ) ) . ''; } else { $qty_display = esc_html( $qty ); } echo apply_filters( 'woocommerce_order_item_quantity_html', ' ' . sprintf( 'Qty: %s', $qty_display ) . '', $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped echo "
    "; } echo "
    "; ?>
    get_formatted_line_subtotal( $item ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
    " . esc_html( $settings['eael_order_billing_title'] ) . ""; } ?>
    get_formatted_billing_address( esc_html__( 'N/A', 'woocommerce' ) ) ); ?>
    get_billing_phone() ): ?>
    'true', 'class' => 'eael-thankyou-billing-cell-icon eael-thankyou-icon' ] ); } else { echo esc_html( $settings['eael_show_billing_cell_label'] ); } echo esc_html( $order->get_billing_phone() ); ?>
    get_billing_email() ): ?>
    'true', 'class' => 'eael-thankyou-billing-email-icon eael-thankyou-icon' ] ); } else { echo esc_html( $settings['eael_show_billing_email_label'] ); } echo esc_html( $order->get_billing_email() ); ?>
    " . esc_html( $settings['eael_order_shipping_title'] ) . ""; } ?>
    get_formatted_shipping_address( esc_html__( 'N/A', 'woocommerce' ) ) ); ?>
    get_order_item_totals() as $key => $total ) { $class = strtolower( str_replace( [ ' ', ':' ], [ '-', '' ], $total['label'] ) ); ?> get_customer_note() ) : ?>
    get_customer_note() ) ) ); ?>