PluginProbe
Tiered Pricing Table for WooCommerce / 8.0.2
Tiered Pricing Table for WooCommerce v8.0.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | src/Integrations/Plugins/WooCommerceProductAddons.php +5 -5 6.1.0 → 8.0.2 View file →
@@ -57,13 +57,13 @@
57 57 <?php
58 58 }
59 59
60 60 public function getTitle(): string {
61 - return __( 'Product Add-ons (by WooCommerce)', 'tier-pricing-table' );
61 + return 'Product Add-ons (by WooCommerce)';
62 62 }
63 63
64 64 public function getDescription(): string {
65 - return __( 'Make tiered pricing works properly with custom product options.', 'tier-pricing-table' );
65 + return __( 'Calculate tiered pricing accurately when WooCommerce Product Add-ons are selected.', 'tier-pricing-table' );
66 66 }
67 67
68 68 public function getSlug(): string {
69 69 return 'product-add-ons';
@@ -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 ) {