Home › Forums › Support › Can't remove cart totals via hook This topic has 5 replies, 2 voices, and was last updated 7 years, 6 months ago by David. Viewing 6 posts - 1 through 6 (of 6 total) Author Posts November 9, 2018 at 5:28 am #722875 Mathias Hi, I am trying to remove the “total section” on the cart page that I have beautifully marked with red here: I have tried to do so with the following: remove_action( 'woocommerce_cart_collaterals', 'woocommerce_cart_totals', 10 ); added to my functions.php in my child theme. However, nothing happens. It is still there. Can you help? November 9, 2018 at 8:59 am #723152 DavidStaff Customer Support Hi there, It sounds like the child theme is not configured correctly. I tested it using the Code Snippets Plugin and it does work. One thing to note, it also removes the Proceed to Checkout button, which may not be what you’re after. November 9, 2018 at 3:18 pm #723343 Mathias Hi David I use the GP child theme, so I don’t know about whether it is configured correctly. Can you elaborate/help? I know that it also removes the checkout button. I plan to add a new one myself. Thanks for pointing it out though! Best, Mathias November 9, 2018 at 3:30 pm #723349 DavidStaff Customer Support Can you try the code snippets plugin and see if that works. If it doesn’t then something else is getting in the way. If it does then i can look at the child function. November 12, 2018 at 12:57 am #724961 Mathias Hi David, It works perfectly using the Code Snippets plugin, so that’s weird. What do you need from me to look at the child functions? Is there a way I can share the file without it being shown to everyone here? Edit: I got it to properly now. Not sure why. 🙂 November 12, 2018 at 6:42 am #725158 DavidStaff Customer Support Glad to hear you got it resolved 🙂 Author Posts Viewing 6 posts - 1 through 6 (of 6 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In