• Resolved Craig

    (@divithemeexamples)


    i want my shop manager to add products but not edit woocommeerce settings? is this possible?

    if i uncheck the manage_woocommerce, they are unable to access the dashboard so cant add any products, but if i check it, then they can also edit the settings for woocommerce.

    thanks

    craig

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    WooCommerce supports a special capability ‘view_admin_dashboard’. Add it manually to the ‘shop_manager’ role. More details – here.

    Thread Starter Craig

    (@divithemeexamples)

    so i uncheck the manage_woocommerce then add the php snippet to my functions.php?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    If you use the latest WooCommerce php code is not needed for access to the dashboard.
    Go to “Users->User Role Editor”, add capability “view_admin_dashboard”. Grant it to “shop- manager” role and revoke ‘manage_woocommerce’ from it.

    Thread Starter Craig

    (@divithemeexamples)

    i added the shop_manager capability and unchecked the managa_woocommerce and it works like i needed.

    thanks for your fast support.
    5* added

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘shop manager to add products but not edit woocommeerce settings?’ is closed to new replies.