# Hide the cart amount in the menu

**URL:** https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073
**Category:** Shapely
**Created:** [September 6, 2016, 10:05pm UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073 "2016-09-06T22:05:06Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![kydoh](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/k/e0b2c6/32.png) [@kydoh](https://colorlibsupport.com/u/kydoh)
#### Post date: [September 6, 2016, 10:05pm UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/1 "2016-09-06T22:05:06Z")

</div>

Hello everyone!

Thanks for this great theme, I’ve just fallen in love with it!

However, there is something I can’t figure out: how could I hide the cart amount in the menu bar?

I’ve tried some usual methods, but unfortunately the shapely\_woomenucart() function (inc/woo-setup.php) is not easily overridable (no “if !function\_exists()”).

Of course, CSS might do the job, but it will remain the “-” character before the amount…

Any idea?

Thank you!

---

<div class="post-metadata">

### Author: ![movin](https://colorlibsupport.com/user_avatar/colorlibsupport.com/movin/32/10922_2.png) [@movin](https://colorlibsupport.com/u/movin)
#### Post date: [September 7, 2016, 2:18pm UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/2 "2016-09-07T14:18:22Z")

</div>

Hi @kydoh,

I hope you are well today and thank you for your question.

You can try achieving this by using the attached small plugin specially developed for you that contains some custom code.

Best Regards,  
Movin

---

<div class="post-metadata">

### Author: ![kydoh](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/k/e0b2c6/32.png) [@kydoh](https://colorlibsupport.com/u/kydoh)
#### Post date: [September 7, 2016, 8:40pm UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/3 "2016-09-07T20:40:33Z")

</div>

Hi @Movin!

Thank you so much! Your solution works great 🙂

I was inspired by your code: I added it to my own functions.php. I’m still a beginner in the WordPress’ world, but the `add_action(‘init’, ‘remove_shapely_woomenucart’);` will be useful in the future.

Thanks again!

Best regards,  
Kydoh

---

<div class="post-metadata">

### Author: ![movin](https://colorlibsupport.com/user_avatar/colorlibsupport.com/movin/32/10922_2.png) [@movin](https://colorlibsupport.com/u/movin)
#### Post date: [September 8, 2016, 7:50am UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/4 "2016-09-08T07:50:13Z")

</div>

You are most welcome here 🙂

---

<div class="post-metadata">

### Author: ![leonie](https://colorlibsupport.com/user_avatar/colorlibsupport.com/leonie/32/1740_2.png) [@leonie](https://colorlibsupport.com/u/leonie)
#### Post date: [December 31, 2017, 10:40am UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/5 "2017-12-31T10:40:23Z")

</div>

Hi @movin!,

I have a similar question: how can I remove the shopping cart icon plus number of items plus the price from the menu bar? It is OK that this is visible when a visitor is in the shop, but we have WooCommerce connected with LearnDash (LMS).  
When students are busy with their courses, I don’t like them to see the shopping cart icon on the menu bar.  
I didn’t find an option in the customizer.  
Is there a different way to remove this?  
Thanks!

---

<div class="post-metadata">

### Author: ![movin](https://colorlibsupport.com/user_avatar/colorlibsupport.com/movin/32/10922_2.png) [@movin](https://colorlibsupport.com/u/movin)
#### Post date: [January 1, 2018, 2:55pm UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/6 "2018-01-01T14:55:30Z")

</div>

@leonie This is old topic which is resolved so to help us keep support thread separates could you please create your own thread for your question here [https://colorlibsupport.com/c/shapely/](https://colorlibsupport.com/c/shapely/) instead of replying on others thread as it makes the thread messy and hard to read.

If you want to you can also add reference of this thread in your newly created thread.

We would be more than happy to help you on your new thread.

---

<div class="post-metadata">

### Author: ![mikesupport17](https://colorlibsupport.com/letter_avatar_proxy/v4/letter/m/bc8723/32.png) [@mikesupport17](https://colorlibsupport.com/u/mikesupport17)
#### Post date: [January 1, 2018, 4:33pm UTC](https://colorlibsupport.com/t/hide-the-cart-amount-in-the-menu/12073/7 "2018-01-01T16:33:14Z")

</div>

Hello @leonie,

I hope you are doing well today.

I have already responded to your post in a different thread so please refer to that thread.

[https://colorlibsupport.com/t/hide-woocommerce-icon-amount-price-in-menu/](https://colorlibsupport.com/t/hide-woocommerce-icon-amount-price-in-menu/)

Best Regards,  
Support
