Bug in recalculate_coupons() method
-
I think you should remove calculate_totals() method from inside recalculate_coupons() method.
Probably recalculate_coupons() method has needed to use in this actions:
'woocommerce_order_before_calculate_totals' 'woocommerce_order_after_calculate_totals'
But it gives infinite loop error!
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Bug in recalculate_coupons() method’ is closed to new replies.