Support » Plugin: Woo Store Vacation » Shop Manager unable to make and save changes

  • Resolved websitedevelopmentltd


    Hi there,

    I have just installed this plug-in on my site and as admin it works fine. However, I are unable to edit and save the settings as a ‘Shop Manager’ user which is imperative for this site.

    Any suggestions!


Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Mahdi Yazdani


    Hey @websitedevelopmentltd

    I would say that no one except for an admin should be able to change a site-wide setting. To save options, the user needs to have the manage_options capability, which shop_manager user role lack.

    Store Vacation plugin uses manage_woocommerce capability for the menu, lets the admin page be accessible to shop manager, but setting submit goes to the option handler code which is not taking into account the context of the admin page.

    If you wish to allow users/admins with the “Shop Manager” user role assigned to them alter the vacation settings from their end, consider upgrading to the premium (paid) version of the plugin instead.

    Ever considered the option to make a separate capability to be able to save the vacation settings instead of using the manage_options one? Pretty strange that a shop_manager is not able to close the shop from a functional POV? I know that this is available in the Premium version of the plugin, but it could be an option to allow somebody who knows what he’s doing to add the custom capability to the shop manager role? Or just add it to the manage_woocommerce role instead as I wouldn’t really call it site-wide as it only affects the Woocommerce pages?

    Plugin Author Mahdi Yazdani


    Hey @petasos

    Great suggestion here. I’m open to reviewing a pull-request from you on this, as I’m sure the community will also get the benefit of having this feature implemented as well.

    I’ll check it out. Just wondering: how did you tackle this in the Premium version? Did you add the submit action to the manage_woocommerce as well?

    Plugin Author Mahdi Yazdani


    The premium (paid) version has a different coding standard and methodology in place to support this ✌️

    OK, I’ll compare them.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Shop Manager unable to make and save changes’ is closed to new replies.