| @@ -30,9 +30,8 @@ | ||
| 30 | 30 | // Calculate product price in cart by pricing rules |
| 31 | 31 | add_action( 'woocommerce_before_calculate_totals', [ $this, 'calculateTotals' ], 10, 3 ); |
| 32 | 32 | add_action( 'woocommerce_before_mini_cart_contents', [ $this, 'miniCartSubTotal' ], 10, 3 ); |
| 33 | 33 | add_filter( 'woocommerce_cart_item_price', [ $this, 'calculateItemPrice' ], 10, 2 ); |
| 34 | - | |
| 35 | 34 | } |
| 36 | 35 | |
| 37 | 36 | /** |
| 38 | 37 | * Calculate price by quantity rules |