Fix wc_get_email_order_items
This commit is contained in:
parent
7bdda1f707
commit
8e5ddb4d81
|
@ -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 ),
|
||||
|
|
|
@ -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 ),
|
||||
|
|
Loading…
Reference in New Issue