- This topic has 5 replies, 2 contibutors, and was last updated 8 years ago by .
Viewing 6 posts - 1 through 6 (of 6 total)
Question
Answers
Viewing 6 posts - 1 through 6 (of 6 total)
- The question ‘WooCommerce Breaks Menu’ is closed to new replies.
BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss Mobile Only › WooCommerce Breaks Menu
Hi, if I activate WooCommerce, the Menu breaks on BuddyBoss Mobile Theme.
I you click the House Icon, the menu opens and is empty. Also it will not close and the entire site just freezes.
This happens when the user is not logged in.
Thank you in advance.
I have looked at the html and the entire <div id=”wpadminbar”> is missing when both BuddyPress and WooCommerce are running.
Very strange as it works when the Admin is logged in.
Also, I found that if you just copy and paste an empty <div id=”wpadminbar”></div> into the theme header. The Open/Close functionality starts to work.
So there must be some conflict with the wpadminbar after this theme is installed.
Hi @andy
Sorry for delayed response, Glad you were able to resolve it yourself.
Regards
Varun Dubey
Sorry, I haven’t solved it. I just added more details.
Hi @andy
Try following function inside child theme functions.php
add_action( 'plugins_loaded', function()
{
add_filter( 'woocommerce_disable_admin_bar', '__return_false' );
});
Regards
Varun Dubey