# tier-pricing-table/7.1.4/src/Addons/GlobalTieredPricing/CPT/Columns/AppliedQuantityRules.php

Tiered Pricing Table for WooCommerce, version 7.1.4. 28 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/7.1.4/code/src/Addons/GlobalTieredPricing/CPT/Columns/AppliedQuantityRules.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/7.1.4/raw/src/Addons/GlobalTieredPricing/CPT/Columns/AppliedQuantityRules.php
- Modified: 2026-06-26T14:29:16+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.4/code/src/Addons/GlobalTieredPricing/CPT/Columns/AppliedQuantityRules.php#L10-L20`.

```php
<?php namespace TierPricingTable\Addons\GlobalTieredPricing\CPT\Columns;

use TierPricingTable\Addons\GlobalTieredPricing\GlobalPricingRule;

class AppliedQuantityRules {

	public function getName(): string {
		return __( 'Quantity limits', 'tier-pricing-table' );
	}

	public function render( GlobalPricingRule $rule ) {

		$notSetLabel = __( 'N/A', 'tier-pricing-table' );

		$minimum = $rule->getMinimum() ? $rule->getMinimum() : $notSetLabel;

		?>
		<div style="margin-bottom: 12px;">
			<div style="display: flex; flex-wrap: wrap; gap: 4px;">
				<span style="display: inline-block; padding: 2px 8px; background: #f0f0f1; border-radius: 3px; font-size: 12px; color: #3c434a; border: 1px solid #dcdcdc; line-height: 1.4;">
					<?php esc_html_e( 'Minimum:', 'tier-pricing-table' ); ?> <b><?php echo esc_html( $minimum ? esc_html( $minimum ) : $notSetLabel ); ?></b>
				</span>
			</div>
		</div>
		<?php
	}
}

```
