Cart66 Lite :: WordPress Ecommerce
[resolved] [Plugin: Cart66 Lite]: Allow "Editor" role to access full settings of Cart66 (4 posts)

  1. dashaluna
    Posted 4 years ago #


    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,

  2. Lee Blue
    Plugin Author

    Posted 4 years ago #

    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.

  3. dashaluna
    Posted 4 years ago #

    Thanks a lot for that!! Worked like a charm :)


  4. domicile
    Posted 3 years ago #

    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?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Cart66 Lite :: WordPress Ecommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic