• Resolved vm2003

    (@vm2003)


    When working under the “Administrator” profile we can see the column “Edit Order #”. We can select that column in “Screen Options” and, after that the column appears in the “Orders” screen. So the “Administrator” user can edit the order number.

    But, when working under the “Shop Manager” profile we can not see the column “Edit Order #”. So the “Shop Manager” user can not edit the order number.

    How can I make it possible to work with your plugin under this profile “Shop Manager”?

    Thank you in advance.
    Best regards,
    Vicenç

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor ultimatewoo

    (@ultimatewoo)

    Hi Vicenç,

    You can use the edit_order_numbers_permissions filter to return your permission in the callback. For example:

    add_filter( 'edit_order_numbers_permissions', function() {
    	return 'manage_woocommerce';
    } );
    

    You can place this in your theme’s functions.php file.

    Thread Starter vm2003

    (@vm2003)

    Thank you very much for your answer.

    The solution proposed by you works.

    Best regards,
    Vicenç

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘“Edit Order #” column is not present for “Shop Manager” profile’ is closed to new replies.