Home Forums WoodMart support forum Question about White label

Question about White label

Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #462354

    d_ch
    Participant

    Hi,

    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,
    Dimitris

    Attachments:
    You must be logged in to view attached files.
    #462550

    Luke Nielsen
    Keymaster

    Hello,

    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

    #462551

    d_ch
    Participant

    Is it maybe possible to disable this WoodMart section only for Shop Manager role and not for main admin?

    #462689

    Luke Nielsen
    Keymaster

    Hello,

    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

    #462768

    d_ch
    Participant

    I 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.
    #462899

    Luke Nielsen
    Keymaster

    Hello,

    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

    #462929

    d_ch
    Participant

    Hi,

    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).

    #462930

    Luke Nielsen
    Keymaster

    Hello,

    Could you please provide both accounts for testing it from our side?

    Looking forward to collaborating with you!

    Kind Regards

    #462937

    d_ch
    Participant

    Sure, please check private content.

    #463450

    Luke Nielsen
    Keymaster

    Hello,

    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

    #466525

    d_ch
    Participant

    Hi,

    Sorry for my late reply. Please check my temporary FTP access to check the issue.

    Waiting for your further reply.

    #467073

    Luke Nielsen
    Keymaster

    Hello,

    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

    #472914

    d_ch
    Participant

    Hi,

    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.
    #472997

    Luke Nielsen
    Keymaster

    Hello,

    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

    #473000

    d_ch
    Participant

    I 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.

    #473176

    Luke Nielsen
    Keymaster

    Hello,

    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

    #473182

    d_ch
    Participant

    No ok.

    At 7.3 will WoodMart have an option at theme options to enable or disable the relevant section for shop manager user?

    #473209

    Luke Nielsen
    Keymaster

    Hello,

    Sorry, but such an option will not be provided in Theme Settings.

    If you have any questions, let me know.

    Kind Regards

    #473211

    d_ch
    Participant

    So I suppose that section just won’t appear at shop manager users?

    #473309

    Luke Nielsen
    Keymaster

    Hello,

    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

Viewing 20 posts - 1 through 20 (of 20 total)