get_image( 'shop_thumbnail', array( 'title' => '' ) ); ?> get_sku() ) ? esc_html( $_product->get_sku() ) . ' – ' : ''; ?>
has_meta( $item_id ) ) { echo ''; foreach ( $metadata as $meta ) { // Skip hidden core fields if ( in_array( $meta['meta_key'], apply_filters( 'woocommerce_hidden_order_itemmeta', array( '_qty', '_tax_class', '_product_id', '_variation_id', '_line_subtotal', '_line_subtotal_tax', '_line_total', '_line_tax', ) ) ) ) { continue; } // Skip serialised meta if ( is_serialized( $meta['meta_value'] ) ) { continue; } // Get attribute data if ( taxonomy_exists( $meta['meta_key'] ) ) { $term = get_term_by( 'slug', $meta['meta_value'], $meta['meta_key'] ); $attribute_name = str_replace( 'pa_', '', wc_clean( $meta['meta_key'] ) ); $attribute = $wpdb->get_var( $wpdb->prepare( " SELECT attribute_label FROM {$wpdb->prefix}woocommerce_attribute_taxonomies WHERE attribute_name = %s; ", $attribute_name ) ); $meta['meta_key'] = ( ! is_wp_error( $attribute ) && $attribute ) ? $attribute : $attribute_name; $meta['meta_value'] = ( isset( $term->name ) ) ? $term->name : $meta['meta_value']; } echo ''; } echo '
' . wp_kses_post( urldecode( $meta['meta_key'] ) ) . ':' . wp_kses_post( wpautop( urldecode( $meta['meta_value'] ) ) ) . '
'; } ?>
get_qty_refunded_for_item( $item_id ) ) { echo '-' . $refunded_qty . ''; } ?>
' . wc_price( $item['line_subtotal'] ) . ' '; } echo wc_price( $item['line_total'] ); } if ( $refunded = $order->get_total_refunded_for_item( $item_id ) ) { echo '-' . wc_price( $refunded ) . ''; } ?>
' . wc_price( wc_round_tax_total( $tax_item_subtotal ) ) . ' '; } echo wc_price( wc_round_tax_total( $tax_item_total ) ); } else { echo '–'; } if ( $refunded = $order->get_tax_refunded_for_item( $item_id, $tax_item_id ) ) { echo '-' . wc_price( $refunded ) . ''; } ?>