• Louno

    (@louno)


    Hi,
    I would like to create a user that can only manage orders and coupons.

    I removed everything from the admin and right now only the woocommerce section is accessible which is good, however, there are a few sub-items under woocommerce that I cannot remove or dont know how to remove…

    The main item that I would like to remove is Woocommerce > Settings

    I tried disabling manage_woocommerce capabilities, but this removes woocommerce access entirely which is not good because the user still needs to have access to orders, coupons and reports.

    There are other items that I would like to remove from under woocommerce :
    – Checkout Fields (this sub-menu item was added by an addon plugin)
    – Checkout Add-Ons (this sub-menu item was added by an addon plugin)
    – Status (default item with woocommerce installation)
    – Extensions (default item with woocommerce installation)

    If those items cannot be removed, its not a big deal, but I really want to remove access to the woocommerce > settings menu.

    I am using the latest version of the plugin with the latest version of wordpress.

    Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    You can revoke manage_woocommerce capability. If role has other capabilities used by ‘WooCommerce’ menu, then those menu items should be available. If user is redirected to front-end without ‘manage_woocommerce’ capability you can grant to his role ‘view_admin_dashboard’ capability (create it manually using URE).
    WooCommerce admin menu permissions:
    WooCommerce – manage_woocommerce
    Orders – edit_shop_orders
    Coupons – edit_shop_coupons
    Reports – view_woocommerce_reports
    Settings – manage_woocommerce
    Status – manage_woocommerce
    Extensions – manage_woocommerce

    For example this “Orders Manager” role has access to the ‘Orders, Coupons, Reports’ menu items only: “Role screenshot”, “Admin menu screenshot”.

    Thread Starter Louno

    (@louno)

    Ok thanks, I think it works with the view_admin_dashboard , however, now I am trying to create a user that can only view orders, without being able to edit/update/delete them in any way, just see them. Is that possible?
    Thanks

    I’m interested in the same thing. I need a user role that can only view orders. I don’t want this user to have access to anything else.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove “WooCommerce > Settings” Specifically ?’ is closed to new replies.