• I’m using child theme and wanting to put the cart totals on the header for both desktop and mobile. I also want to get rid of the Your Cart text but for some reason it just won’t go away. I copied the file woo-core-hooks.php from parent theme to child theme by creating /lib/woocommerce folders and delete the Your Cart text there but it won’t go away on the front end. How can I get rid of this text?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Volvera

    (@emresert86)

    Nevermind I just added the following code to the header and it worked as I want

    <a href="/cart">
    <?php echo wp_kses_post( WC()->cart->get_cart_total() ); ?>
    </a>
    hannah

    (@hannahritner)

    Glad to hear it!

    Hannah

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Deleting ‘Your Cart’ text’ is closed to new replies.