You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you assign many roles to an user, the special price only shows when the first role of the user is in the allowed roles. If any other role is in them, the prices doesn't show.
I found that the issue is in the functions.php file, in the "wc_rbp_get_current_user" function. You are using an array_shift, so, indeed, you are taking only the first role.
The text was updated successfully, but these errors were encountered:
When you assign many roles to an user, the special price only shows when the first role of the user is in the allowed roles. If any other role is in them, the prices doesn't show.
I found that the issue is in the functions.php file, in the "wc_rbp_get_current_user" function. You are using an array_shift, so, indeed, you are taking only the first role.
The text was updated successfully, but these errors were encountered: