title: Duplicate Cart Totals on Woocommerce Checkout Page
body: <p>Trying to figure out why my cart totals, cart subtotals, shipping, and coupons are getting displayed twice on my checkout page:</p>
  
  <p><a href="https://i.stack.imgur.com/p3nQ4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p3nQ4.png" alt="Duplicate cart totals"></a></p>
  
  <p>The problematic contents of my review order page are as follows:</p>
  
  <pre><code>&lt;?php do_action( 'woocommerce_review_order_before_order_total' ); ?&gt;
  &lt;div&gt;
    &lt;?php _e( 'Cart Subtotal: ', 'woocommerce' ); ?&gt;
    &lt;?php wc_cart_totals_subtotal_html(); ?&gt;&lt;br&gt;
    &lt;?php foreach ( WC()-&gt;cart-&gt;get_coupons() as $code =&gt; $coupon ) : ?&gt;
      &lt;?php wc_cart_totals_coupon_label( $coupon ); ?&gt;
      &lt;?php wc_cart_totals_coupon_custom( $coupon ); ?&gt;&lt;br&gt;
    &lt;?php endforeach; ?&gt;
    &lt;?php foreach ( WC()-&gt;cart-&gt;get_fees() as $fee ) : ?&gt;
      &lt;?php echo esc_html( $fee-&gt;name ); ?&gt;&amp;nbsp;
      &lt;?php wc_cart_totals_fee_html( $fee ); ?&gt;&lt;br&gt;
    &lt;?php endforeach; ?&gt;
    &lt;?php _e('Cart Total: ', 'woocommerce'); ?&gt;
    &lt;?php wc_cart_totals_order_total_html(); ?&gt;
  &lt;/div&gt;
  &lt;?php do_action( 'woocommerce_review_order_after_order_total' ); ?&gt;
  </code></pre>
  
  <p>If I delete all of the above, everything goes away. If I delete only some of the "totals", the remaining "totals" are the only ones that get duplicated. So I think there is something in my code that is causing the duplication but for the life of me I can't figure out what. And the weird thing is that I use the exact same code on the cart page but it doesn't get duplicated ?!?!?!?</p>
  
  <p>I'd appreciate some prompt help on this matter as I have a deadline later today. Thanks guys for your assistance!</p>