1

I tried finding lot of options and used lot of functions so far in my woocommerce theme but i am unable to find any solution for this issue. This platform is my my only hope so far.

What I want? I have multiple authors that I have created using roles. In my shopping website these authors are publishing their products and each product has a user role assigned with the following function in my theme:

add_action('init', 'wpse_74054_add_author_woocommerce', 999 );
function wpse_74054_add_author_woocommerce() {
add_post_type_support( 'product', 'author' );
}

I used the same function for Order post type but it is not working as per my requirements.

My Requirements: Now when someone order's a product then the individual product or a multiple product get's displayed in the order section of admin and in all my author's dashboard. What I want is: Specific author should only see it's own product orders and not other author product orders, and admin should be the only one who should see every product orders.

A prompt reply would be much appreciated.

closed as off-topic by Howdy_McGee Sep 14 '16 at 14:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.