PluginProbe
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO / 1.4.17
Discount Rules for WooCommerce – Disco | Dynamic Pricing, Conditions, Bulk, Bundle, BOGO v1.4.17
1.4.17 1.4.16 1.4.15 1.4.14 1.4.13 1.4.12 1.4.11 1.4.10 1.4.9 1.4.8 1.4.7 1.4.6 1.4.5 1.4.4 1.4.3 1.4.2 1.4.1 1.4.0 1.3.54 1.3.53 1.3.52 1.3.51 1.3.50 1.3.49 1.3.48 All 180 releases
← All changes | functions/cart.php +1 -1 1.3.491.4.17 View file →
@@ -20,9 +20,9 @@
20 20 function disco_set_cart_item_price_test( $cart ) {
21 21 return ( new Disco )->get_cart_items_discount( $cart );
22 22 }
23 23
24 - add_action( 'woocommerce_before_calculate_totals', 'disco_set_cart_item_price_test', 1, 1 );
24 + add_action( 'woocommerce_cart_calculate_fees', 'disco_set_cart_item_price_test', 1, 1 );
25 25 }
26 26
27 27 if ( ! function_exists( 'disco_cart_item_price_html' ) ) {
28 28