# tier-pricing-table/6.4.0/views/frontend/summary-inline.php

Tiered Pricing Table for WooCommerce, version 6.4.0. 34 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/code/views/frontend/summary-inline.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/raw/views/frontend/summary-inline.php
- Modified: 2024-08-19T12:44:10+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/tier-pricing-table/6.4.0/code/views/frontend/summary-inline.php#L10-L20`.

```php
<?php
	/**
	 * Summary inline
	 *
	 * @var int $productId
	 * @var string $totalLabel
	 * @var string $eachLabel
	 * @var string $title
	 */
	
if ( ! defined( 'WPINC' ) ) {
	die;
}
	
	do_action( 'tiered_pricing_table/summary/before_inline_summary', $totalLabel, $eachLabel );

?>
<div class="clear"></div>
<div class="tier-pricing-summary-table tier-pricing-summary-table--inline tier-pricing-summary-table--hidden"
	 data-tier-pricing-table-summary
	 data-product-id="<?php echo esc_attr( $productId ); ?>">
	<?php if ( $title ) : ?>
		<h4 style="margin: 20px 0;"><?php echo esc_html( $title ); ?></h4>
	<?php endif; ?>
	<b><span class="tier-pricing-summary-table-inline__label"><?php echo esc_html( $totalLabel ); ?></span></b> <span
			data-tier-pricing-table-summary-total></span>
	<br>
	<b><span class="tier-pricing-summary-table-inline__label"><?php echo esc_html( $eachLabel ); ?></span></b> <span
			data-tier-pricing-table-summary-product-price></span>
	<br>
</div>

<?php do_action( 'tiered_pricing_table/summary/after_inline_summary', $totalLabel, $eachLabel ); ?>

```
