This is the code I have right now:
`<?php
/**
* Request New Quote email
*
* @package Quotes for WooCommerce/Emails
*/
$order_obj = new WC_order( $order->order_id );
$display_price = false;
// translators: Site Name.
$opening_paragraph = __( ‘Ha realizado una solicitud de cotización a %s. Los detalles de los mismos se muestran a continuación:’, ‘quote-wc’ );
?>
<?php do_action( ‘woocommerce_email_header’, $email_heading ); ?>
<?php
if ( $order ) :
?>
<p><?php printf( esc_html( $opening_paragraph ), esc_attr( $site_name ) ); ?></p>
<?php endif; ?>
<table cellspacing=”0″ cellpadding=”6″ style=”width: 100%; border: 1px solid #eee;” border=”1″ bordercolor=”#eee”>
<tbody>
<tr>
<th style=”text-align:left; border: 1px solid #eee;”><?php esc_html_e( ‘Producto’, ‘quote-wc’ ); ?></th>
<th style=”text-align:left; border: 1px solid #eee;”><?php esc_html_e( ‘Cantidad’, ‘quote-wc’ ); ?></th>
<?php
if ( qwc_order_display_price( $order_obj ) ) {
$display_price = true;
?>
<th style=”text-align:left; border: 1px solid #eee;”><?php esc_html_e( ‘Precio del producto’, ‘quote-wc’ ); ?></th>
<?php } ?>
</tr>
<?php
foreach ( $order_obj->get_items() as $items ) {
?>
<tr>
<td style=”text-align:left; border: 1px solid #eee;”><?php echo wp_kses_post( $items->get_name() ); ?></td>
<td style=”text-align:left; border: 1px solid #eee;”><?php echo esc_attr( $items->get_quantity() ); ?></td>
<?php if ( $display_price ) { ?>
<td style=”text-align:left; border: 1px solid #eee;”><?php echo wp_kses_post( $order_obj->get_formatted_line_subtotal( $items ) ); ?></td>
<?php } ?>
</tr>
<?php
}
?>
</tbody>
</table>
<p><?php esc_html_e( ‘Este pedido está pendiente de cotización.’, ‘quote-wc’ ); ?></p>
<p><?php esc_html_e( ‘Pronto recibirá un correo electrónico de parte de %s con una cotización.’, ‘quote-wc’ ); ?></p>
<?php do_action( ‘woocommerce_email_footer’ ); ?>
How should I add the total for it to appear inside the table?
Thanks for your help