Support » Plugin: Cart66 Lite :: WordPress Ecommerce » [Plugin: Cart66 Lite]: Allow "Editor" role to access full settings of Cart66

  • Resolved dashaluna

    (@dashaluna)


    Hello,

    I was wondering if it’s possible to open up all of Cart66 to the “Editor” role? Maybe I can add something to the functions.php? At the moment only “Orders” are displayed for the “Editor” role.

    Many thanks,
    Dasha

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Lee Blue

    (@reality66)

    There is not a built in setting to allow this but you can easily manually tweak the source code to this. Take a look in the file cart66-lite/models/Cart66.php and you will see a function called buildAdminMenu() – it’s around line #317. There you will see a bunch of calls to add_submenu_page(). One of the parameters to the add_submenu_page() is ‘manage_options’ just change the ‘manage_options’ parameter to ‘edit_pages’ and then anyone with permission to edit pages will have access to that Cart66 admin page.

    Thread Starter dashaluna

    (@dashaluna)

    Thanks a lot for that!! Worked like a charm 🙂

    Dasha

    This fix is no longer working (just updated to new version). There’s no longer a ‘manage_options’ parameter. Is it still possible to change this setting? And if so, how?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: Cart66 Lite]: Allow "Editor" role to access full settings of Cart66’ is closed to new replies.