← All changes
|
src/Integrations/Plugins/WooCommerceProductAddons.php
+3
-3
7.1.1
→
8.0.2
View file →
| @@ -82,11 +82,11 @@ | ||
| 82 | 82 | |
| 83 | 83 | if ( is_plugin_active( 'woocommerce-product-addons/woocommerce-product-addons.php' ) ) { |
| 84 | 84 | |
| 85 | 85 | add_action( 'wp_footer', array( $this, 'addCompatibilityScript' ) ); |
| 86 | - | |
| 87 | - add_action( 'tiered_pricing_table/cart/product_cart_price', array( $this, 'addAddonsPrice' ), 10, 2 ); | |
| 88 | - add_action( 'tiered_pricing_table/cart/product_cart_price/item', array( $this, 'addAddonsPrice' ), 10, 2 ); | |
| 86 | + | |
| 87 | + add_action( 'tiered_pricing_table/cart/product_cart_price', array( $this, 'addAddonsPrice' ), 20, 2 ); | |
| 88 | + add_action( 'tiered_pricing_table/cart/product_cart_price/item', array( $this, 'addAddonsPrice' ), 20, 2 ); | |
| 89 | 89 | |
| 90 | 90 | // Handle the case when product addons request product price via AJAX |
| 91 | 91 | add_filter( 'woocommerce_product_addons_ajax_get_product_price_excluding_tax', |
| 92 | 92 | function ( $price, $qty, WC_Product $product ) { |