Problem with Multi rols and Coupons
-
?Hi
After activating the HM Multiple Roles plugin, and running the code: add_filter(‘b2bking_use_wp_roles’,’__return_true’); Next deactivating and activating the B2BKing pro, Then the Coupon plugin I have (Advanced Coupons for WooCommerce Premium) stopped recognizing the wordpress roles that I used as filters.
The only way to make the coupons plugin work again is to disable B2BKing pro, I tried to set ‘b2bking_use_wp_roles’ to False, I disabled HM Multiple Roles, but it didn’t work.NOTE: the problem arose when setting the ‘b2bking_use_wp_roles’ filter to true, because with the HM Multiple Roles active there were no problems with the coupon, and then nothing could be reversed from this process.
On the other hand, if I Disable coupons for B2B users in B2bKing setting, then when I go to view a coupon in the backend I get an (error: Invalid content type) , Even if I deactivate Rymera’s Advanced Coupons for WooCommerce Premium plugin, this message still appears on a white screen.
Maybe it’s an error in the Rymera coupon plugin, but I’m posting it here so that it’s public knowledge.If it works for you and is useful, I can prepare a stage for you on my website where you can experiment, I use many variables and before B2bKing I used the Rymera Wholesale suite plugin for a while.
Thanks and regards
Tallal Henawi.
Venezuela.The page I need help with: [log in to see the link]
- The topic ‘Problem with Multi rols and Coupons’ is closed to new replies.