Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter temposaur

    (@temposaur)

    Ok, I’ve narrowed down to WooCommerces “registering order type” (woocommerce/includes/class-wc-post-types.php):

    'show_in_menu' => current_user_can( 'edit_others_shop_orders' ) ? 'woocommerce' : true,

    It seems when displaying orders unden ‘woocommerce’ it handles the capabilities different. When replacing the ‘woocommerce’ to just ‘true’ everything works like it should and I’m able to use “customer support” -role like I want and show them only orders and products. But… Obviously the Orders move under WooCommerce to their own menu item in the Dashboard.

    • This reply was modified 3 years, 6 months ago by temposaur.
    Thread Starter temposaur

    (@temposaur)

    Yeah, Shop Manager would be almost perfect Role for this, but we don’t want them to access posts/pages and WooCommerce Settings.

    It is weird that without 'edit_posts'=> true capability they can edit orders without any problem, but they just can’t create new ones without it.

Viewing 2 replies - 1 through 2 (of 2 total)