| 1 |
<?php |
| 2 |
/** |
| 3 |
* Request a Quote Options Integrated Template. |
| 4 |
* |
| 5 |
* This template can be overridden by copying it to yourtheme/tiered-pricing-table/integrated/options.php. |
| 6 |
* |
| 7 |
* @var \TierPricingTable\Addons\RequestAQuote\Models\RequestQuoteForm $form |
| 8 |
* @var int $productId |
| 9 |
* @var string $optionsStyle |
| 10 |
* @var string $buttonHtml |
| 11 |
*/ |
| 12 |
if ( ! defined( 'ABSPATH' ) ) { |
| 13 |
exit; |
| 14 |
} |
| 15 |
?> |
| 16 |
<div class="tiered-pricing-option tpt-request-quote-integrated-option" |
| 17 |
onclick="document.getElementById('tpt-raq-link-<?php echo esc_attr( $productId ); ?>').click();"> |
| 18 |
|
| 19 |
<?php if ( in_array( $optionsStyle, array( 'style-3', 'style-4' ) ) ): ?> |
| 20 |
<div class="tiered-pricing-option-inner"> |
| 21 |
<?php endif; ?> |
| 22 |
|
| 23 |
<div class="tiered-pricing-option__checkbox"> |
| 24 |
<div class="tiered-pricing-option-checkbox"></div> |
| 25 |
</div> |
| 26 |
|
| 27 |
<div class="tiered-pricing-option__quantity"> |
| 28 |
<strong><?php echo esc_html( $form->getIntegratedLabelText() ); ?></strong> |
| 29 |
</div> |
| 30 |
|
| 31 |
<div class="tiered-pricing-option__pricing"> |
| 32 |
<div class="tiered-pricing-option-price"> |
| 33 |
<?php echo wp_kses_post( $buttonHtml ); ?> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
|
| 37 |
<?php if ( in_array( $optionsStyle, array( 'style-3', 'style-4' ) ) ): ?> |
| 38 |
</div> |
| 39 |
<?php endif; ?> |
| 40 |
</div> |
| 41 |
|