# tier-pricing-table/7.1.1/src/Addons/RequestAQuote/views/frontend/integrated/table.php

Tiered Pricing Table for WooCommerce, version 7.1.1. 58 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/7.1.1/code/src/Addons/RequestAQuote/views/frontend/integrated/table.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/7.1.1/raw/src/Addons/RequestAQuote/views/frontend/integrated/table.php
- Modified: 2026-07-31T07:44:26+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/7.1.1/code/src/Addons/RequestAQuote/views/frontend/integrated/table.php#L10-L20`.

```php
<?php
/**
 * Request a Quote Table Integrated Template.
 *
 * This template can be overridden by copying it to yourtheme/tiered-pricing-table/integrated/table.php.
 *
 * @var \TierPricingTable\Addons\RequestAQuote\Models\RequestQuoteForm $form
 * @var int $productId
 * @var bool $isDivTable
 * @var bool $hasQty
 * @var bool $hasPrice
 * @var bool $hasDiscount
 * @var string $buttonHtml
 */
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

if ( $isDivTable ) : ?>
	<div class="tiered-pricing-table-row tpt-request-quote-integrated-row"
		 style="cursor: pointer; grid-template-columns: 1fr 2fr;"
		 onclick="document.getElementById('tpt-raq-table-<?php echo esc_attr( $productId ); ?>').click();">
		<?php if ( $hasQty ) : ?>
			<div class="tiered-pricing-table__quantity">
				<span class="tiered-pricing-table-row-qty">
					<?php echo esc_html( $form->getIntegratedLabelText() ); ?>
				</span>
			</div>
		<?php endif; ?>

		<?php if ( $hasPrice ) : ?>
			<div class="tiered-pricing-table__price" style="margin-left:auto">
				<span>
					<?php echo wp_kses_post($buttonHtml); ?>
				</span>
			</div>
		<?php endif; ?>
	</div>
<?php else : ?>
	<tr class="tiered-pricing-table-row tpt-request-quote-integrated-row" style="cursor: pointer;"
		onclick="document.getElementById('tpt-raq-table-<?php echo esc_attr( $productId ); ?>').click();">
		<?php if ( $hasQty ) : ?>
			<td class="tiered-pricing-table__quantity" style="vertical-align: middle">
				<span>
					<?php echo esc_html( $form->getIntegratedLabelText() ); ?>
				</span>
			</td>
		<?php endif; ?>
		<?php if ( $hasPrice ) : ?>
			<td class="tiered-pricing-table__price" <?php echo esc_attr($hasDiscount) ? 'colspan="2"' : ''; ?> style="text-align: right">
				<span>
					<?php echo wp_kses_post($buttonHtml); ?>
				</span>
			</td>
		<?php endif; ?>
	</tr>
<?php endif; ?>

```
