• Resolved Craig1986

    (@craig1986)


    I have come to notice that the ‘WooCommerce’ menu tab, does not appear in the WordPress Dashboard for ‘Shop Manager’ Roles. Unlike, as it does for the ‘Administrator’ Role. Is there a way, maybe through inserting some coding into the functions.php file, where I can enable the ‘WooCommerce’ Menu Tab to appear for the ‘Shop Manager’ Role?

    They can access all of the Settings etc, by inserting the URL but obviously, it would be a lot easier if the Menu Tab was present instead.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi there,

    The Shop manager should have this tab showing : https://docs.woocommerce.com/document/roles-capabilities/#section-2

    They can manage all settings of WooCommerce in this regard.

    I suspect that there is a conflict/3rd party plugin that is causing this problem.

    Please can you see if you receive the same error with All 3rd party plugins disabled (i.e ones not from WooCommerce.com) and try switching to our default WooCommerce theme “storefront” to test for a resolve.?? You can find the Storefront theme to switch to under Appearance > Themes > Add New > Search “Storefront”

    You can also look to the “tweaking capabilites” section here as well : https://docs.woocommerce.com/document/roles-capabilities/ if the above steps do not help.

    Thread Starter Craig1986

    (@craig1986)

    Thanks for your input. I have just gone through my functions.php file and noticed I inserted the following code twice:

    <?php
         function remove_menus(){
             // If the current user is not an admin
             if ( !current_user_can('manage_options') ) {
                 remove_menu_page( 'woocommerce' );
             }
         }
    add_action( 'admin_menu', 'remove_menus' );
    ?>

    I removed the first entry but completely oversaw I had it inserted further down in the function.php also. Issue resolved, now.

    Thanks for your time and effort.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How can I enable the WooCommerce Menu Tab to appear in the WordPress Dashboard,’ is closed to new replies.