PluginProbe
Tiered Pricing Table for WooCommerce / 8.0.2
Tiered Pricing Table for WooCommerce v8.0.2
8.0.2 7.1.7 7.1.5 7.1.4 7.1.1 6.5.0 6.4.0 6.1.0 trunk 1.0 1.1 2.0 2.0.1 2.0.2 2.1 2.1.1 2.1.2 2.2.0 2.2.1 2.2.2 2.2.3 2.3.0 2.3.1 2.3.2 2.3.3 All 91 releases
← All changes | src/Addons/RequestAQuote/views/frontend/integrated/plain-text.php +5 -1 7.1.5 → 8.0.2 View file →
@@ -5,16 +5,20 @@
5 5 * This template can be overridden by copying it to yourtheme/tiered-pricing-table/integrated/plain-text.php.
6 6 *
7 7 * @var \TierPricingTable\Addons\RequestAQuote\Models\RequestQuoteForm $form
8 8 * @var int $productId
9 + * @var string $plainTextStyle
9 10 * @var string $buttonHtml
10 11 */
11 12 if ( ! defined( 'ABSPATH' ) ) {
12 13 exit;
13 14 }
15 +
16 +// the "one line" style keeps its tiers inline
17 +$display = isset( $plainTextStyle ) && 'style-2' === $plainTextStyle ? 'inline-flex' : 'flex';
14 18 ?>
15 19 <li class="tiered-pricing-plain-text tpt-request-quote-integrated-plain-text-line"
16 - style="display: flex; gap: 10px;"
20 + style="display: <?php echo esc_attr( $display ); ?>; gap: 10px; align-items: center;"
17 21 onclick="document.getElementById('tpt-raq-link-<?php echo esc_attr( $productId ); ?>').click();">
18 22 <strong><?php echo esc_html( $form->getIntegratedLabelText() ); ?></strong>
19 23 <?php echo wp_kses_post( $buttonHtml ); ?>
20 24 </li>