• Hello,

    We have a shipping helper that has limited access to the backend. We settle this through User Role Editor by only having the order unlocked. Our assistant sees in the backend only the order window.
    Unfortunately, I do not find any capabilities in User Role Editor that allow me to unlock a new plugin “WooCommerce Deutsche Post Internetmarke” we need to use.
    Can you help me with that, please?

Viewing 12 replies - 1 through 12 (of 12 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    Send download link for the WDPI plugin if it’s available at www.ads-software.com

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    I do not want to push, but will there be a solution? We urgently need a solution for our shop staff….

    Plugin Author Vladimir Garagulya

    (@shinephp)

    I did not get an automatic notification about your reply for some reason.

    woo-dp-internetmarke plugin protects its menu items at wp-admin using ‘manage_options’ capability.

    Btw., I got the PHP fatal error on try to activate this plugin:

    
    Fatal error: Class 'SoapClient' not found in /wp-content/plugins/woo-dp-internetmarke/includes/classes/OC4A.php on line 17
    
    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Thank you for checking! The developer asked me if it works when they add use_internetmarke_plugin? Do you agree?
    Thank you for reporting the error, I will let them know!

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Yes, using custom capability, related to the plugin only, like ‘use_intermarke’ or similar is more preferable way. It gives final users a way to differentiate access to the site functionality.

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Thank you!

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Hello Vladimir,
    just another question, is there any way to give my shipping staff the woocommerce capability to manage the stock amount, but not have the capability of changing anything else at product page?

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi,

    It’s not possible to manage via user capabilities. WooCommerce gives full access to the product editing page with ‘edit_products’ and ‘edit_others_products’ capabilities and does not allow to differentiate access to tabs/fields inside “Product Data” meta box.

    It’s possible to block for a user or role the selected tabs of WooCommerce “Product Data” meta box using custom code, like in this example.

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Thank you!
    I’m not a good coder, I can’t find where to replace the role ID!?
    { // replace role ID with your own

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Here:

    
    if (!current_user_can('wc-inventory')) {  // replace role ID with your own
          return $tabs;
    }
    

    you have to replace ‘wc-inventory’ string with your own role ID: ‘author’, or ‘editor’, etc. Role ID string constant should be enclosed by single quotes.

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Ok, thanky you very much!
    I fearlessly will try… ??

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘WooCommerce Deutsche Post Internetmarke’ is closed to new replies.