# tier-pricing-table/2.3.4/src/Integrations/Themes/Merchandiser.php

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

- Page: https://pluginprobe.com/plugins/tier-pricing-table/2.3.4/code/src/Integrations/Themes/Merchandiser.php
- Raw: https://pluginprobe.com/plugins/tier-pricing-table/2.3.4/raw/src/Integrations/Themes/Merchandiser.php
- Modified: 2020-02-08T17:01:28+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/2.3.4/code/src/Integrations/Themes/Merchandiser.php#L10-L20`.

```php
<?php namespace TierPricingTable\Integrations\Themes;

class Merchandiser {

	public function __construct() {
		add_action( 'wp_head', function () {
			?>

			<style>
				.price-rules-table tbody td {
					padding: 10px !important;
				}

				.price-rules-table th {
					padding-left: 10px !important;
				}
			</style>

			<script>
				function tieredPriceTableGetProductPriceContainer() {
					return jQuery('form.cart').closest('.product_infos').find('[data-tiered-price-wrapper]');
				}
			</script>
			<?php
		} );
	}
}

```
