WooCommerce - excelling eCommerce
Shop Manager Role Issues (1 post)

  1. karbanovich
    Posted 2 years ago #

    I had a problem with the role of the shop manager.
    On my website the user with that can only see/edit the products but not orders and stats and settings.
    And it is only after i have added that to the functions.php of my theme.
    so i just redeclared the add_cap... and so before that shop manager was not even able to see the products in the store.
    is there anything else i can do for the Shop Manager to see the Settings and Orders and stuff like that.

    function ch_role_manager() {
    		global $wp_roles;
    // Main Shop capabilities for admin
    			$wp_roles->add_cap( 'shop_manager', 'manage_woocommerce' );
    			$wp_roles->add_cap( 'shop_manager', 'manage_woocommerce_orders' );
    			$wp_roles->add_cap( 'shop_manager', 'manage_woocommerce_coupons' );
    			$wp_roles->add_cap( 'shop_manager', 'manage_woocommerce_products' );
    			$wp_roles->add_cap( 'shop_manager', 'view_woocommerce_reports' );


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce - excelling eCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic