Viewing 5 replies - 1 through 5 (of 5 total)
  • Jamie

    (@digitalchild)

    Hi Sam,

    Reports are not available for Vendors and haven’t been for a long time. This is due to the major changes in WooCommerce over 2 years ago. If this is for admins Im not sure why you would want to disable the reports for WooCommerce.

    cheers,

    Jamie.

    Thread Starter sam20e

    (@sam20e)

    Hi Jamie,

    yes, this is for admins. I’d like to restrict access to those tabs (hide it if possible). I managed to remove some of those sub links by editing your plugin php files directly but im not sure which file controls these tabs? could you please let me know the admin file name which constructs these tabs? i can take it from there.

    Jamie

    (@digitalchild)

    Hello,

    You can rename the WC Vendors tab however the other tabs are all core WooCommerce Reports. You should not be disabling core features for admin accounts. If you need users to access the backend then the shop manager is probably a better role to be using for this.

    cheers,

    Jamie.

    Jamie

    (@digitalchild)

    Regarding changing the Name of the WC Vendors tab

    You’ll need to hook into woocommerce_admin_reports and disable my tab and then reinitialise it with the different name.

    This is all defined in classes/admin/class-admin-reports.php

    I have added a filter also that will be available in v2.0 to make this easier.

    cheers,

    Jamie.

    Thread Starter sam20e

    (@sam20e)

    ok thanks Jamie.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘customization’ is closed to new replies.