getProductId() ); if ( $currentTierQuantity ) { $price = $pricingRule->getTierPrice( $currentTierQuantity, false ); if ( $price && $product ) { return wc_price( wc_get_price_to_display( $product, array( 'price' => $price, 'qty' => $currentTierQuantity, ) ) ); } } return wc_price( wc_get_price_to_display( $product, array( 'qty' => $pricingRule->getMinimum(true), ) ) ); } }