Conflict with role based pricing
-
Hello,
thank you for this excellent plugin, it works very well, except when used at the same time as Role Based Pricing for WooCommerce by Addify (https://woocommerce.com/products/role-based-pricing-for-woocommerce/).When a customer with a specific role adds a fixed-price bundle to their cart, the cart total is the price of the bundle plus the price of each product in the bundle.
The issue occurs when the customer’s role gets a discount on a product inside the bundle (but not on the bundle itself). If the customer does not have a special role, or is not logged in, there is no issue.I think this issue is happening because Role based pricing adds a filter on the woocommerce_product_get_price hook, and this messes with your own calculations of the cart content and totals.
I’ve tried removing the filter in your own code (in class-woosb.php) before you add items to the cart and adding the filter again afterwards, but I can’t seem to fix the issue.
Any help or direction you could provide into getting these two plugins to work together would be greatly appreciated.
I realize that your plugin is offered for free and that this issue involves another plugin, and I will happily buy a premium licence for your plugin if you think this conflict can be solved.Best regards,
Magalie
- The topic ‘Conflict with role based pricing’ is closed to new replies.