Fix wc_get_email_order_items

This commit is contained in:
Mike Jolley 2016-08-08 16:35:03 +01:00
parent 7bdda1f707
commit 8e5ddb4d81
2 changed files with 2 additions and 2 deletions

View File

@ -37,7 +37,7 @@ do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plai
</tr>
</thead>
<tbody>
<?php echo wc_get_email_order_items( array(
<?php echo wc_get_email_order_items( $order, array(
'show_sku' => $sent_to_admin,
'show_image' => false,
'image_size' => array( 32, 32 ),

View File

@ -24,7 +24,7 @@ do_action( 'woocommerce_email_before_order_table', $order, $sent_to_admin, $plai
echo strtoupper( sprintf( __( 'Order number: %s', 'woocommerce' ), $order->get_order_number() ) ) . "\n";
echo date_i18n( __( 'jS F Y', 'woocommerce' ), $order->get_date_created() ) . "\n";
echo "\n" . wc_get_email_order_items( array(
echo "\n" . wc_get_email_order_items( $order, array(
'show_sku' => $sent_to_admin,
'show_image' => false,
'image_size' => array( 32, 32 ),