Home › Forums › Support › remove total and subtotal checkout box This topic has 3 replies, 2 voices, and was last updated 4 years ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts April 9, 2020 at 12:45 pm #1233105 Juan Luis Good you know how to delete the subtotal and total checkout box? April 9, 2020 at 1:11 pm #1233130 LeoStaff Customer Support Hi there, This would be a question for WooCommerce support. I found this that might help: https://stackoverflow.com/questions/53277895/remove-subtotal-line-from-cart-and-checkout-pages-in-woocommerce So try: add_filter( 'woocommerce_get_order_item_totals', 'remove_subtotal_from_orders_total_lines', 100, 1 ); function remove_subtotal_from_orders_total_lines( $totals ) { unset($totals['cart_subtotal'] ); unset($totals['order_total'] ); return $totals; } Adding PHP: https://docs.generatepress.com/article/adding-php/o April 10, 2020 at 6:35 am #1233822 Juan Luis good read I have inserted the php code with the code snippets plugin, but I have not seen any change in the cart or checkout, thanks April 10, 2020 at 9:20 am #1234178 LeoStaff Customer Support Hmm unfortunately you might have to check with WooCommerce support. If you are happy with CSS then try this: .cart_totals h2, .woocommerce-cart .cart-collaterals .cart_totals table { display: none; } Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In