# tier-pricing-table/8.0.2/src/Integrations/Plugins/MixMatch/Settings.php

Tiered Pricing Table for WooCommerce, version 8.0.2. 45 lines.

- Page: https://pluginprobe.com/plugins/tier-pricing-table/8.0.2/code/src/Integrations/Plugins/MixMatch/Settings.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/8.0.2/raw/src/Integrations/Plugins/MixMatch/Settings.php
- Modified: 2026-09-02T12:48:06+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/8.0.2/code/src/Integrations/Plugins/MixMatch/Settings.php#L10-L20`.

```php
<?php namespace TierPricingTable\Integrations\Plugins\MixMatch;

use TierPricingTable\Settings\CustomOptions\TPTSwitchOption;
use TierPricingTable\Settings\Sections\SectionAbstract;

class Settings extends SectionAbstract {

	const PRICE_CHILD_ITEMS_KEY = 'mix_match_price_child_items';

	public function getName(): string {
		return 'Mix & Match';
	}

	public function getSlug(): string {
		return 'mix_match';
	}

	public function getSettings(): array {
		return array(
			array(
				'title' => 'Mix & Match',
				'id'    => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . '_subsection_' . $this->getSlug(),
				'desc'  => __( 'Configure how tiered pricing works with WooCommerce Mix and Match Products.',
					'tier-pricing-table' ),
				'type'  => 'title',
			),
			array(
				'title'                => __( 'Apply tiered pricing inside containers', 'tier-pricing-table' ),
				'id'                   => \TierPricingTable\Settings\Settings::SETTINGS_PREFIX . self::PRICE_CHILD_ITEMS_KEY,
				'type'                 => TPTSwitchOption::FIELD_TYPE,
				'default'              => 'no',
				'extended_description' => __( 'Apply tiered pricing rules to the products inside a Mix and Match container. Works only for containers with per-item pricing: their contents are priced individually, so tiered pricing can discount them. Containers with a static price always keep the price set by the Mix and Match plugin.',
					'tier-pricing-table' ),
			),
			array(
				'type' => 'sectionend',
			),
		);
	}

	public function isIntegration(): bool {
		return true;
	}
}

```
