get_sale_price(); if ( $sale_price ) { $sale_price = wc_get_price_to_display( $product, array( 'price' => $sale_price, ) ); } $regular_price = wc_get_price_to_display( $product, array( 'price' => $product->get_regular_price(), ) ); $price = wc_get_price_to_display( $product, array( 'price' => $product->get_price(), ) ); ?>

id="" data-product-id="" data-price-rules="" data-minimum="" data-product-name="" data-regular-price="" data-sale-price="" data-price="" data-product-price-suffix="get_price_suffix() ); ?>" >
$id, 'style' => 'default', ) ); ?>
$real_price, ) ) ) ); ?> is_on_sale() ) { $discountAmount = PriceManager::calculateDiscount( $product->get_regular_price(), $product->get_sale_price() ); } ?> 0 ) : ?>
= array_keys( $price_rules )[0] - $minimum || 'static' === $settings['quantity_type'] ) : ?> 1 ) : ?> -
valid() ) : ob_start(); ?> current(); $currentQuantity = $iterator->key(); if ( 'percentage' === $pricing_type ) { $discountAmount = $currentPrice; } else { $discountAmount = PriceManager::calculateDiscount( CalculationLogic::calculateDiscountBasedOnRegularPrice() ? $product->get_regular_price() : $product->get_price(), $pricing_rule->getTierPrice( $currentQuantity, false ) ); } $iterator->next(); if ( $iterator->valid() ) { $quantity = number_format_i18n( $currentQuantity ); if ( (int) $iterator->key() - 1 !== (int) $currentQuantity && 'range' === $settings['quantity_type'] ) { $quantity .= ' - ' . number_format_i18n( intval( $iterator->key() - 1 ) ); } } else { $quantity = number_format_i18n( $currentQuantity ); $quantity .= apply_filters( 'tiered_pricing_table/tiered_pricing/last_tier_postfix', '+', $currentQuantity, $pricing_rule, 'blocks' ); } $quantity = $quantity . ' ' . $settings['quantity_measurement_plural']; $currentProductPrice = PriceManager::getPriceByRules( $currentQuantity, $product_id ); $currentProductPriceExcludeTaxes = wc_get_price_excluding_tax( wc_get_product( $product_id ), array( 'price' => PriceManager::getPriceByRules( $currentQuantity, $product_id, null, null, false ), ) ); $currentProductPriceIncludeTaxes = wc_get_price_including_tax( wc_get_product( $product_id ), array( 'price' => PriceManager::getPriceByRules( $currentQuantity, $product_id, null, null, false ), ) ); ?>
$id, 'style' => 'default', ) ); ?>
0 ) : ?>