Title: Make plugin more compatible with other plugins
Last modified: October 23, 2020

---

# Make plugin more compatible with other plugins

 *  Resolved [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/make-plugin-more-compatible-with-other-plugins/)
 * Hi,
 * We really need to thank you for this great plugin of how its really useful and
   beneficial for people like us.
 * We have a single suggestion to modify in the core files of the plugin. we inspected
   it and found that this plugin its function work only if the user has cap (manage_woocommerce),
   which is in our opinion a general cap for the woocommerce because there are specific
   caps for coupons itself like (publish_shop_coupons).
 * So its better to make a this function to work with the users who has a specific
   funtion related to coupons which is (publish_shop_coupons) because if any user
   can publish coupons for sure will have an access to duplicate it.
 * This will result in what by changing the cap to (publish_shop_coupons) ?
    This
   will result in making this plugin compatible to work with popular multi vendor
   plugins which will give the access to other roles like (vendors) with the cap
   of(publish_shop_coupons) to use the functionality of the plugin.
 * Will be compatible with ( Yith Multi Vendor, Product Vendor, etc.. )
 * What do you think of this suggestion ?
 * Stay Safe & Best Regards
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fmake-plugin-more-compatible-with-other-plugins%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/make-plugin-more-compatible-with-other-plugins/#post-13589169)
 * Excellent suggestion! We just released an update to use the “publish_shop_coupons”
   rather than “manage_woocommerce”
 * FYI, we do have this available as a filter in case you want to change it later:
 * `woocommerce_copy_coupon_capability`
 * Hope the update helps. If you have a moment, let us know what you think of the
   plugin by leaving a review!
 *  Thread Starter [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/make-plugin-more-compatible-with-other-plugins/#post-13590168)
 * Hi [@pimwick](https://wordpress.org/support/users/pimwick/)
 * Thank you so much for the update we will start using the plugin immediately. 
   really thankful for you.
 * One last thing: does it copy the author too ?, or it adds the author who clicked
   publish ?
 *  Plugin Author [pimwick](https://wordpress.org/support/users/pimwick/)
 * (@pimwick)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/make-plugin-more-compatible-with-other-plugins/#post-13592013)
 * The copied coupon will have the Author set to the currently logged in user, it
   doesn’t copy that value over.
 * Let me know if you have any other questions!
 *  Thread Starter [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * (@magedmoh94)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/make-plugin-more-compatible-with-other-plugins/#post-13592093)
 * I got your point thank you so much for that help

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

The topic ‘Make plugin more compatible with other plugins’ is closed to new replies.

 * ![](https://ps.w.org/pw-woocommerce-copy-coupon/assets/icon-256x256.png?rev=1606878)
 * [PW WooCommerce Copy Coupon](https://wordpress.org/plugins/pw-woocommerce-copy-coupon/)
 * [Support Threads](https://wordpress.org/support/plugin/pw-woocommerce-copy-coupon/)
 * [Active Topics](https://wordpress.org/support/plugin/pw-woocommerce-copy-coupon/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pw-woocommerce-copy-coupon/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pw-woocommerce-copy-coupon/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [magedmoh94](https://wordpress.org/support/users/magedmoh94/)
 * Last activity: [5 years, 7 months ago](https://wordpress.org/support/topic/make-plugin-more-compatible-with-other-plugins/#post-13592093)
 * Status: resolved