• Resolved alex4e

    (@alex4e)


    Hi,

    how I can add capabilities for add/edit size charts for the Shop manager user group?
    Also, is it possible to delete the default size charts because I won’t need them.

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello alex4e,

    Thanks for contacting us.

    If you want to add capabilities for add/edit size charts for the Shop manager user group then please do the below changes.

    Function name 1: add_menu_page
    Function name 2: add_submenu_page

    File path: “plugins\woo-advanced-product-size-chart\admin\class-size-chart-for-woocommerce-admin.php”

    Please replace as mentioned below.

    From: ‘dots_store’

    To: ‘manage_woocommerce’

    After doing the above changes, the shop manager user able to manage the size charts for your site.

    Hope this helps. Let us know how it works.

    Best Regards,
    Hitendra & Dotstore Team

    Thread Starter alex4e

    (@alex4e)

    Dear @hitendra-chopda,

    Thank you for your help.

    Unfortunately, these changes doesn’t showed the DotStore Plugins button in the admin menu for the shop manager users. Indeed, the changes only displayed the Introduction and Get Started buttons in the menu (because this change from ‘dots_store’ to ‘manage_woocommerce’ has to be done on two more places – in the remove_submenu_page() on lines 471 & 472 in the same file).

    However, this is not the problem here, but the missing menu for the shop manager role. Is it possible to make any other changes that will result with these capabilities?

    Thank you very much! 🙂

    Plugin Support Hitendra Chopda

    (@hitendra-chopda)

    Hello alex4e,

    Thanks for your reply.

    It should work as per my instruction as you can see that those two menus are displaying to rest of the menu also be there but it might not display in the list as left admin main menu.

    But can you please check that add a new size option available in the main menu right part to add a new size chart?

    Regards,
    Hitendra & Dotstore Team

    Thread Starter alex4e

    (@alex4e)

    Dear @hitendra-chopda,

    I read again my answer above and I need to clarify that after your suggestion edits:
    1. for the shop manager user – nothing was changed at all
    2. for the admin user – two more buttons were showed in the main menu (which have to be hidden because of the code on lines 471 & 472 in the same file)

    So, I don’t see Add a new size option anywhere for any of these user roles. Hope that’s helping you.

    Thank you for your support! 🙂

    fptce31

    (@fptce31)

    Hi here, it’s not resolved at all because it’s still not working as mentionned by @alex4e
    Plz can you give us a solution ? It’s important that a shop_manager role can use this feature !
    Thank you for your work 🙂

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

The topic ‘Shop manager capabilities’ is closed to new replies.