Code Duplication    Length = 6-6 lines in 2 locations

templates/cart/cart-totals.php 1 location

@@ 61-66 (lines=6) @@
58
59
		<?php endif; ?>
60
61
		<?php foreach ( WC()->cart->get_fees() as $fee ) : ?>
62
			<tr class="fee">
63
				<th><?php echo esc_html( $fee->name ); ?></th>
64
				<td data-title="<?php echo esc_attr( $fee->name ); ?>"><?php wc_cart_totals_fee_html( $fee ); ?></td>
65
			</tr>
66
		<?php endforeach; ?>
67
68
		<?php if ( wc_tax_enabled() && 'excl' === WC()->cart->tax_display_cart ) :
69
			$taxable_address = WC()->customer->get_taxable_address();

templates/checkout/review-order.php 1 location

@@ 80-85 (lines=6) @@
77
78
		<?php endif; ?>
79
80
		<?php foreach ( WC()->cart->get_fees() as $fee ) : ?>
81
			<tr class="fee">
82
				<th><?php echo esc_html( $fee->name ); ?></th>
83
				<td><?php wc_cart_totals_fee_html( $fee ); ?></td>
84
			</tr>
85
		<?php endforeach; ?>
86
87
		<?php if ( wc_tax_enabled() && 'excl' === WC()->cart->tax_display_cart ) : ?>
88
			<?php if ( 'itemized' === get_option( 'woocommerce_tax_total_display' ) ) : ?>