BuddyBoss Home – Web Support Forums Themes BuddyBoss theme Woocommerce hides buddybar

Viewing 6 posts - 1 through 6 (of 6 total)
  • Question

    #34128
    @bob01nz

    Hi
    Just playing around with things today and I noticed that when the plugin WooCommerce is activated some of the roles in my wordpress can no longer see their “buddybar” (not sure on the name of it but the bar in the header that has the “how are you joeblogs?”)

    But as soon as I deactivate woocommerce the buddybar is visible again?

    I have some roles setup with user role editor and am at a loss as to where to go to fix this.

    Answers

    #34139

    Alyssa
    Participant
    @alyssa-buddyboss

    @bob01nz yes, this is an extremely common WooCommerce flaw they most likely refuse to add an option for. Try adding this to your functions.php file:

    add_action( 'plugins_loaded', function() 
    {
        add_filter( 'woocommerce_disable_admin_bar', '__return_false' );
    });
    #34140
    @bob01nz

    Thanks for the reply.

    I added that to my functions.php in my child theme but subscribers still have no buddybar.

    #34141
    @bob01nz

    ahh got it did some googling with what you posted and just used this

    add_filter( 'woocommerce_disable_admin_bar', '__return_false'

    Thanks again TJ

    #34153

    Alyssa
    Participant
    @alyssa-buddyboss

    Wonderful, thanks for the fix!

    #37248
    @x7home

    good! I just fix this, thanks!

Viewing 6 posts - 1 through 6 (of 6 total)
  • The question ‘Woocommerce hides buddybar’ is closed to new replies.