I suppose that you use User Role Editor Pro with option “Activate “Create” capability for posts/pages/custom post types” turned ON.
In this case go to “Users->User Role Editor”, select “Shop Manager” role and look if “create_coupons” capability from “Custom Post Types->Coupons” group is granted to “Shop Manager” role.
Check another post types needed for your shop manager too.
Vladimir,
for this particular website I’m using the free plugin version.
And apologies, thought this would’ve been implied: all of the Woocommerce capabilities are turned on for the Shop Manager role. All 53 out of 53, including 17/17 Coupons capabilities.
I didn’t quite understand the first part of your message: are you saying there should be something else turned on for them, like post creation? That is currently turned off.
Thank you
I just got a similar error message at the test site with URE Pro, which forces WordPress to user ‘create_’ capability.
If you don’t use URE Pro, but ‘create_coupons’ capability exists, may be some other plugin requires it. Try to grant it to the role.
Woocommerce itself requires a lot of the post/page publishing capabilities according to this list:
https://github.com/woocommerce/woocommerce/blob/250fcc96a3ea4b1150eb3e94fa45e968ce4340aa/includes/class-wc-install.php#L942
Just reverted the Shop Manager role to these and they’re now able to add coupons. I had some of the core caps turned off.
Thank you for pointing me in the right direction, Vladimir.