Hide Woocommerce cart from menu when empty and hide buddypress menu item

Hi there, Im trying to hide the cart from the menu when the cart is empty. Additionally, I am trying to do something similiar with buddypress on my menu. I would like to hide it if the user is not logged in. Thanks for your time!

Hello @HeyCarollan,

Thanks for writing in!

The menu cart when empty can be hidden from the navigation bar. Simply go to X > Theme Options > WooCommerce and enable the “Hide Empty Cart” option.

As for the BuddyPress menu items, it cannot be hidden away when the user is not logged in because there is the login, register and logout menu item in it. Modifying the behaviour of the BuddyPress menu items will require custom development which is beyond the scope of our support already.

Note: If you are unfamiliar with code and resolving potential conflicts, you may select our One or Care service for further assistance. We are unable to provide support for customizations under our Support Policy.

Please let us know if this works out for you.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.