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

    (@shinephp)

    Hi,

    do you use some separate plugin to manage invoices?

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Hi Vladimir,

    yes, we use WooCommerce Germanized Pro and WooCommerce Email Customizer.

    Thanks, Ole

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi Ole,

    I think that WC Germanized Pro plugin developer knows the answer.
    If you will not get an answer from WC Germanized Pro support, send that plugin copy to support [at-sign] role-editor.com I will check what capability it requires from a user to download invoice.

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Ok, I will ask them. Thank you!

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Hello Vladimir,
    as the support of the plugin don’t know a solution I just send you the plugin by mail!
    Hope you can help!

    Thank you, Ole

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi Ole,

    Good news – ‘shop manager’ at my test site can download a generated invoice. Try to compare a capabilities list of ‘shop manager’ role between 2 different WooCommerce site copies. May be yours missed some capability. Do you see ‘Download Invoice’ button?

    Thread Starter ole_wilkenburg

    (@ole_wilkenburg)

    Hi Vladimir,

    thank you, but unfortunately it doesn’t help.
    I want him only at the orders, nothing else. He only helps me with the packing and shipping.
    If I give him the same capabilities like shop manager he can edit products, and much more.
    The download button is visible, but if I click it a message comes “Missing permissions to download invoice”
    He has following capabilities:
    core:
    edit_posts
    read
    Custom:
    edit_others_shop_orders
    edit_shop_order
    edit_shop_orders
    read_product
    read_shop_order

    The coder of the plugin send this to me, don’t know if it helps:

    if ( ! current_user_can( 'manage_woocommerce' ) && ! current_user_can( 'view_order', $order_id ) ) {
        wp_die( __( 'Cheatin huh?', 'woocommerce-germanized-pro' ) );
    }

    Plugin Author Vladimir Garagulya

    (@shinephp)

    Hi Ole,

    “Woocommerce Germanized Pro” plugin directly requires that user has ‘manage_woocommerce’ capability.
    A possible workaround – grunt to the user a ‘manage_woocommerce’ capability, but block for him access to the critical ‘WooCommerce’ menu items.
    “Admin menu access” add-on from User Role Editor Pro allows it.
    This post shows how to use it with WooCommerce.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘download invoices’ is closed to new replies.