Black Friday sale! Get up to 25% off GP Premium! Learn more ➝

[Support request] Site title and tagline are not shown when logged in as shop administrator

Home Forums Support [Support request] Site title and tagline are not shown when logged in as shop administrator

Home Forums Support Site title and tagline are not shown when logged in as shop administrator

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1092731
    Harry

    Hello support team,

    I’m using the latest GP-theme and have the WooCommerce plugin installed. Now I noticed, that when a user with the role shop_administrator is logged in, the fields “Site Title” and “Tagline” as well as the Site Icon fields in “Customise -> Site Identity” are not shown.

    In my case, I want the shop manager to be able to edit the site title and tagline.

    I tried to solve the issue by adding the following code to the functions.php:

    add_action( 'admin_init', 'hb_add_capability_for_non_admin');
    function hb_add_capability_for_non_admin() {
        $roleObject = get_role( 'shop_manager' );
        if (!$roleObject->has_cap( 'some_capability' ) ) {
          $roleObject->add_cap( 'some_capability' );
        }
    }

    Unfortunately I can’t find out, which capability I have to set, in order to make the mentioned fields visible. It’s not “edit_theme_options”, which is already set in class-wc-install.php.

    Hope you can help, or is it just WooCommerce related?

    Thanks, Harry

    #1093320
    Leo
    Staff
    Customer Support

    Hi there,

    I’d recommend checking with WooCommerce support first.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.