Remove redundant info from templates

This commit is contained in:
Claudiu Lodromanean 2017-02-09 14:33:36 -08:00
parent 21617f408d
commit 187e1921af
3 changed files with 0 additions and 10 deletions

View File

@ -43,8 +43,6 @@ foreach ( $items as $item_id => $item ) :
// allow other plugins to add additional product information here
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
wc_display_item_meta( $item );
if ( $show_download_links ) {
wc_display_item_downloads( $item );
}

View File

@ -31,13 +31,6 @@ foreach ( $items as $item_id => $item ) :
echo ' = ' . $order->get_formatted_line_subtotal( $item ) . "\n";
// allow other plugins to add additional product information here
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order, $plain_text );
echo strip_tags( wc_display_item_meta( $item, array(
'before' => "\n- ",
'separator' => "\n- ",
'after' => "",
'echo' => false,
'autop' => false,
) ) );
if ( $show_download_links ) {
echo strip_tags( wc_display_item_downloads( $item, array(
'before' => "\n- ",

View File

@ -36,7 +36,6 @@ if ( ! apply_filters( 'woocommerce_order_item_visible', true, $item ) ) {
do_action( 'woocommerce_order_item_meta_start', $item_id, $item, $order );
wc_display_item_meta( $item );
wc_display_item_downloads( $item );
do_action( 'woocommerce_order_item_meta_end', $item_id, $item, $order );