get_items() as $k => $v ) { $_product = apply_filters('woocommerce_order_item_product', $this->object->get_product_from_item($v), $v); $item_meta = new WC_Order_Item_Meta($v, $_product); ?>
meta) ) { echo '
' . nl2br($item_meta->display(true, true, '_', "\n")) . ''; } ?>
get_weight() ) { if( esc_attr(get_option('woocommerce_weight_unit')) == "kg" ) { echo (float) $_product->get_weight() . esc_attr(get_option('woocommerce_weight_unit')); } else { switch( esc_attr(get_option('woocommerce_weight_unit')) ) { case "g": $weight = (float) $_product->get_weight() / 1000.0; break; case "lbs": $weight = (float) $_product->get_weight() * 0.45; break; case "oz": $weight = (float) $_product->get_weight() * 0.03; break; default: $weight = "can not be calculated in "; break; } echo $_product->get_weight() . ' ' . esc_attr(get_option('woocommerce_weight_unit')) . '
(' . $weight . ' kg)'; } } ?>
get_dimensions(); ?>

', array_filter( array( __('Name: ') . get_bloginfo('name'), __('Link: ') . home_url(), __('Description : ') . get_bloginfo('description'), __('Admin email : ') . get_bloginfo('admin_email'), ) ) ); echo $site_info; ?>