Skip to content

Commit f57e68c

Browse files
committed
remove Subtotal from receipt
1 parent 314c990 commit f57e68c

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

templates/receipt.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -236,17 +236,6 @@
236236
<?php } ?>
237237
</tbody>
238238
<tfoot>
239-
<tr>
240-
<th colspan="3"><?php esc_html_e( 'Subtotal', 'woocommerce' ); ?></th>
241-
<td><?php
242-
$tax_display = get_option( 'woocommerce_tax_display_cart' );
243-
if ( 'excl' === $tax_display ) {
244-
echo wp_kses_post( wc_price( $order->get_subtotal() ) );
245-
} else {
246-
echo wp_kses_post( wc_price( $order->get_subtotal() + $order->get_subtotal_tax() ) );
247-
}
248-
?></td>
249-
</tr>
250239
<?php if ( $order->get_shipping_total() > 0 ) { ?>
251240
<tr>
252241
<th colspan="3"><?php esc_html_e( 'Shipping', 'woocommerce' ); ?></th>

0 commit comments

Comments
 (0)