1) In the “New Order” email sent to the seller, it does not show the delivery address for Google Maps.
– No, this visible in order details page.
2) I need to add the Order Notes (from the checkout) in the “New Order” email. It also does not appear in the order details on the seller’s dashboard.
– Add this snippet to your site –
add_action( 'wcfm_order_totals_after_total', function( $order_id ) {
$order = wc_get_order( $order_id );
if ( $order->get_customer_note() ) {
?>
<tr>
<th class="td" scope="row" colspan="2" style="text-align:right; width:75%; border-bottom: 1px solid #eee;"><?php esc_html_e( 'Note:', 'woocommerce' ); ?></th>
<td class="td" style="text-align:center; border-bottom: 1px solid #eee;"><?php echo wp_kses_post( nl2br( wptexturize( $order->get_customer_note() ) ) ); ?></td>
</tr>
<?php
}
}, 50, 1 );
Add custom code(s) to your child theme’s functions.php
In case you do not have child theme then add those using this plugin –?https://www.ads-software.com/plugins/code-snippets/