Hi,
You need to rewrite our template email
. For this in the child theme create folder woocommerce-sales_report
and there create file email.php
. Copy content from our plugin file templates/email.php
to your email.php
file.
Find there this line of code
foreach($ready_products as $product) {
echo '<p style="font-size: 1em;padding: 0;margin: 0;">', $product['quantity'], ' x <strong>', $product['name'],
( ( empty( $product['sku'] ) ) ? '' : ' (' . $product['sku'] . ')' ),'</strong></p>';
}
change to this
foreach($ready_products as $product_id => $product) {
echo '<p style="font-size: 1em;padding: 0;margin: 0;">', $product['quantity'], ' x <strong>', $product['name'],( ( empty( $product['sku'] ) ) ? '' : ' (' . $product['sku'] . ')' ), ' '.get_post_meta( $product_id, '_price', true ),'</strong></p>';
}
Test it on dev server before use.
Regards,
Dima