Home › Forums › WoodMart support forum › Question about White label
Question about White label
- This topic has 19 replies, 2 voices, and was last updated 1 year, 3 months ago by Luke Nielsen.
-
AuthorPosts
-
April 26, 2023 at 4:24 pm #462354
d_chParticipantHi,
Is it possible to totally hide the WoodMart section with Theme Settings, Prebuilt websites, Theme License, Tools e.t.c which is appeared on each option at back-end (for example at HTML blocks, Layouts e.tc)?
Even if I enable White Label, it keeps showing for all admin users.
I would mainly like to disable it for Shop Manager role.
Thank you in advance,
DimitrisAttachments:
You must be logged in to view attached files.April 27, 2023 at 10:15 am #462550
Luke NielsenKeymasterHello,
Please update the theme to the latest 7.2 update and add the below code into the fucntions.php file in your child theme.
add_action( 'woodmart_capability_menu_page', function ( $capability ) { return 'administrator'; });
Kind Regards
April 27, 2023 at 10:17 am #462551
d_chParticipantIs it maybe possible to disable this WoodMart section only for Shop Manager role and not for main admin?
April 27, 2023 at 4:26 pm #462689
Luke NielsenKeymasterHello,
The above code makes it possible to edit those tabs only for the administrator.
https://wordpress.org/documentation/article/roles-and-capabilities/
Please feel free to reach out to me if you have any further questions.
Kind Regards
April 27, 2023 at 7:53 pm #462768
d_chParticipantI have added your recommended code into the functions.php file of my child theme but I still see the same section on my admin page.
Please check my attached screenshots.
Attachments:
You must be logged in to view attached files.April 28, 2023 at 10:05 am #462899
Luke NielsenKeymasterHello,
It is visible to those users who have administrator rights. Do you check it as a “Shop Manager” role?
Looking forward to hearing back from you!
Kind Regards
April 28, 2023 at 11:27 am #462929
d_chParticipantHi,
I have tested it and the specific section is currently visible at both shop admin user (my profile) and shop manager user (my client’s profile).
April 28, 2023 at 11:29 am #462930
Luke NielsenKeymasterHello,
Could you please provide both accounts for testing it from our side?
Looking forward to collaborating with you!
Kind Regards
April 28, 2023 at 11:43 am #462937
d_chParticipantSure, please check private content.
May 1, 2023 at 11:30 am #463450
Luke NielsenKeymasterHello,
I would like to request temporary FTP access to the website to take a better look at the issue there.
I await your response.
Kind Regards
May 12, 2023 at 4:52 pm #466525
d_chParticipantHi,
Sorry for my late reply. Please check my temporary FTP access to check the issue.
Waiting for your further reply.
May 15, 2023 at 5:27 pm #467073
Luke NielsenKeymasterHello,
Please try to test it now and let me know the result.
If you have any further questions or concerns, please don’t hesitate to ask. I’m here to help you in any way I can.
Kind Regards
June 6, 2023 at 11:28 am #472914
d_chParticipantHi,
Could you please inform me about your changes at functions.php of my child theme?
I don’t see any change on the admin profile of shop manager user (my client’s profile).
Attachments:
You must be logged in to view attached files.June 6, 2023 at 2:44 pm #472997
Luke NielsenKeymasterHello,
We did changes to the parent theme. In general, that issue will be fixed in the 7.3 update.
Thanks for your time and have a great day.
Kind Regards
June 6, 2023 at 3:07 pm #473000
d_chParticipantI updated theme to 7.2.4 and the changes were lost.
I will keep it as it is now if you are going to fix the issue at 7.3.
June 7, 2023 at 9:59 am #473176
Luke NielsenKeymasterHello,
Yep, it will be fixed in the 7.3 update. Just let me know if you want the same fix in the 7.2.4 update, so we will fix it there.
Kind Regards
June 7, 2023 at 10:05 am #473182
d_chParticipantNo ok.
At 7.3 will WoodMart have an option at theme options to enable or disable the relevant section for shop manager user?
June 7, 2023 at 11:29 am #473209
Luke NielsenKeymasterHello,
Sorry, but such an option will not be provided in Theme Settings.
If you have any questions, let me know.
Kind Regards
June 7, 2023 at 11:38 am #473211
d_chParticipantSo I suppose that section just won’t appear at shop manager users?
June 7, 2023 at 3:52 pm #473309
Luke NielsenKeymasterHello,
If the user does not have rights to view or edit the page, the link to this page will not be displayed. In Theme Settings -> White label, you have the ability to hide some pages: https://take.ms/SmjRn
Thanks for your time and have a great day.
Kind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register