Control Access to WooCommerce Admin Menus

The Pro version of PublishPress Capabilities allows you to block access to admin menu links in WooCommerce. This is useful because WooCommerce has very limited options for controlling who can access the admin screens.

WooCommerce is the most popular WordPress eCommerce plugin. You can create beautiful store with themes customized to your brand and industry and you'll find 1,000's of tools and popular integrations.

When you first install WooCommerce, you'll see four top-level menu links, plus sub-menus. All of these links are available to users in the Administrator and Shop Manager roles.

  • WooCommerce
  • Products
  • Analytics
  • Marketing
Woocommerce Menu Links
Woocommerce Menu Links

It is possible to control who can access these links by using the PublishPress Capabilities Pro plugin.

Admin Menus Woocommerce
Admin Menus Woocommerce
  • In the top-left corner of this screen, choose the role that you want to edit. In the image below, I'm going to restrict access for the “Shop manager” role.
Shop Manager
Shop Manager
  • Scroll down and you can enter a red X for any menu link that you don't want users in the Shop Manager role to access.
  • Click “Save Changes”.
Disable Woocommerce Menus
Disable Woocommerce Menus

Now when a Shop Manager logs in to you site, they will be able to see other WooCommerce admin menus, but they will NOT be able to see any of the “Analytics” links.

Shop Manager Admin Menus
Shop Manager Admin Menus

This approach works for the core WooCommerce plugin and can also be used for WooCommerce add-on plugins such as WooCommerce Subscriptions, WooCommerce Shipping, and WooCommerce Bookings.