What is the assign_product_terms permission in WooCommerce? #

assign_product_terms will give a user role the ability to add “Product tags” and “Product Categories to WooCommerce products.

However, this assign_product_terms a complicated capability to give and to use. If you give this capability to a user who does not have access to the WooCommerce admin area, they will only have access to the “Reviews” area. They will be able to view but not edit reviews.

WooCommerce user with the assign_product_terms capability

To use the assign_product_terms capability, you should also give a user role the ability to edit products. We recommend doing this with the PublishPress Capabilities plugin. In the screenshot below, we have checked all the boxes for the “Editor” role in the “Products” row.

Edit WooCommerce products capability

If a user can edit products, but does not have the assign_product_terms capability, this screenshot below shows what they will see. The “Product categories” and “Product tags” boxes can not be edited.

WooCommerce product categories and product tags without the assign_product_terms capability

If a user can edit products, but and also has assign_product_terms capability, this screenshot below shows what they will see. The “Product categories” and “Product tags” boxes can be edited.

WooCommerce product categories and product tags with the assign_product_terms capability

Who has the assign_product_terms permission? #

The assign_product_terms permission is available on single WordPress sites and on multisite networks.

By default, assign_product_terms is only available to users in the Shop Manager and Administrator roles.

Users not in these roles are not allowed to add or remove terms to WooCommerce products.


How to control who has the assign_product_terms permission #

You can control who has the assign_product_terms permission by installing the PublishPress Capabilities plugin.

  • After installing PublishPress Capabilities, go to “Capabilities” in your WordPress admin menu.
  • Using the dropdown in the top-left corner, choose the role you want to edit.
  • Click the “WooCommerce” area.
  • Check the box “assign product terms”.
  • Click “Save Changes”.
assign_product_terms capability

Professional publishing plugins for WordPress! Get PublishPress