How to Create a WooCommerce Product Editor

This week, a PublishPress customer asked us about an interesting configuration for their WordPress eCommerce site. The customer wanted to create a WooCommerce Product Editor role. Any users in this role would be responsible for editing all the WooCommerce products, but would not have access to other areas of the site.

Here's our guide to building a WooCommerce Product Editor role. Normally there are two roles in WooCommerce called “Shop Manager” and “Customer“. We'll be expanding that list in this guide.


Step #1. Install the recommended plugins


Step #2. Create the “Product Editor” role

This is the key step in the process. We're going to create and configure the user role for our editors.

  • Go to “Capabilities” then “Roles” in your admin menu.
  • Click “Copy” under the “Subscriber” role.
  • In the “Role Name” box enter “Product Editor”.
  • Click “Create Role”.
New Product Editor Role
  • Go to “Capabilities” in your admin menu.
  • Choose “Product Editor” from the dropdown menu.
  • Give your user role the capabilities in this image below. To see all the necessary options, you will need to enable the box for “Product categories” in the “Detailed Taxonomy Capabilities” area.
New Product Editor Role Capabilities

Step #3. Test the new user role

You can now test the user role that you have created. This is possible with the User Testing feature in PublishPress Capabilities. When you log in as a Product Editor, this screenshot shows what you will see:

Limited Admin Menu Product Editor
Limited Admin Menu Product Editor

When you visit the “Products” screen, you will be able to see and edit products.

Edit This Product
Edit This Product

WooCommerce Product Editor Summary

WooCommerce and the PublishPress plugins are a powerful combination. You can configure the permissions on your eCommerce store to meet your exact needs.

Other examples include controlling who can manage WooCommerce coupons, creating users who can only manage WooCommerce orders, and adding users who can only manage reports.

2 Comments

  1. Dear sir/madam

    Is it possible to further the access of categories per employee? For example, I have 10 categories and assign 10 employees to one category each. Is it possible to have each only accessing their specific category without accessing the other categories? This is what I need for my store.

    Gracious 🙏

Leave a Reply

Your email address will not be published. Required fields are marked *