| 1 |
<?php |
| 2 |
/** |
| 3 |
* Request a Quote Dropdown Integrated Template. |
| 4 |
* |
| 5 |
* This template can be overridden by copying it to yourtheme/tiered-pricing-table/integrated/dropdown.php. |
| 6 |
* |
| 7 |
* @var \TierPricingTable\Addons\RequestAQuote\Models\RequestQuoteForm $form |
| 8 |
* @var int $productId |
| 9 |
* @var string $buttonHtml |
| 10 |
*/ |
| 11 |
if ( ! defined( 'ABSPATH' ) ) { |
| 12 |
exit; |
| 13 |
} |
| 14 |
?> |
| 15 |
<li class="tiered-pricing-dropdown-option tpt-request-quote-integrated-dropdown-option" |
| 16 |
onclick="document.getElementById('tpt-raq-link-<?php echo esc_attr( $productId ); ?>').click();"> |
| 17 |
|
| 18 |
<div class="tiered-pricing-dropdown-option__quantity"> |
| 19 |
<strong><?php echo esc_html( $form->getIntegratedLabelText() ); ?></strong> |
| 20 |
</div> |
| 21 |
|
| 22 |
<div class="tiered-pricing-dropdown-option__pricing"> |
| 23 |
<div class="tiered-pricing-option-price"> |
| 24 |
<?php echo wp_kses_post( $buttonHtml ); ?> |
| 25 |
</div> |
| 26 |
</div> |
| 27 |
</li> |
| 28 |
|