PluginUs.Net - Business Tools for WooCommerce and WordPress

[realize your idea - make your dreams come true]

Support Forum

You need to log-in to create request (topic) to the support

How to share manual created and saved columns profile to all other users with shop manager role?

The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday. If you have problems with registration ask help on contact us page please
If you not got email within 24~36 business hours, firstly check your spam box, and if no any email from the support there - back to the forum and read answer here. DO NOT ANSWER ON EMAILS [noreply@pluginus.net] FROM THE FORUM!! Emails are just for your info, all answers should be published only here.
The support doesn work on Saturdays and Sundays, so some Friday requests can be answered on Monday.

Hi,

I have created and saved a new columns profiles by user"Shop Manager 01", but I found another user with shop manager role cannot found and load the saved columns profiles.

How to share manual created and saved columns profile to all other users with shop manager role?

Many thanks

Hello

Deal in that - each user has its own set of profiles and they are not share able https://share.pluginus.net/image/i20210908190555.png

What exactly possible in current moment - fix code in file classes\models\profiles.php to as on the screen https://share.pluginus.net/image/i20210908191338.png - in this case all profiles will be the same for all shop managers in the system

I created task to make any special options to let the system worked as it was, so in your example also

$user = get_userdata(get_current_user_id());
   $user_roles = $user->roles;
if (in_array('administrator', $user_roles, true)) {
   $this->option_key .= get_current_user_id();
} else {
   $this->option_key .= 'shop_managers';
}

 

Hi,

It works fine. many thanks for help :)

Welcome :)