Repository › Forums › Support › WooCommerce Extended Coupon Features PRO › Plugin Conflict with “WPC Composite Products for WooCommerce (Premium)” › Reply To: Plugin Conflict with “WPC Composite Products for WooCommerce (Premium)”

#17571
Soft79
Keymaster

It seems to be caused because the WPC plugin performs multiple ‘add to cart’ operations in a single request, and at every ‘add to cart’ operation the cart is recalculated. Our plugin hooks into ‘after_calculate_totals’ and has a security feature to prevent hooking into ‘after_calculate_totals’ more than 5 times in case of a infinite recursion. In your test environment I increased the threshold of 5 to 20 which fixes the issue for now.

I need to find a cleaner solution for this, but for now you can use the patched version of our plugin.

Please test and let me know.