WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. dashaluna
    Member
    Posted 3 years ago #

    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

  2. reality66
    Member
    Plugin Author

    Posted 3 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
    Member
    Posted 3 years ago #

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

    Dasha

  4. domicile
    Member
    Posted 2 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

About this Topic