id; $project_id = WC_QD()->db()->get_project_id($order_id); $project_name = get_the_title($project_id); foreach ( $items as $item_id => $item ) : $_product = apply_filters( 'woocommerce_order_item_product', $order->get_product_from_item( $item ), $item ); $item_meta = new WC_Order_Item_Meta( $item, $_product ); if ( apply_filters( 'woocommerce_order_item_visible', true, $item ) ) { ?> ' . esc_attr__( 'Product Image', 'woocommerce' ) . '', $item ); } // Product name echo __( 'Donation For : ', WC_QD_TXT ).' '.$project_name; ?> get_formatted_line_subtotal( $item ); ?> id, '_purchase_note', true ) ) ) : ?>