PluginProbe
Tiered Pricing Table for WooCommerce / 7.1.1
Tiered Pricing Table for WooCommerce v7.1.1
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
tier-pricing-table / src / Addons / RequestAQuote / views / frontend / integrated / quote-button.php

quote-button.php in Tiered Pricing Table for WooCommerce 7.1.1, at src/Addons/RequestAQuote/views/frontend/integrated/quote-button.php

32 lines 870 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 use TierPricingTable\Addons\RequestAQuote\Models\RequestQuoteForm;
4
5 /**
6 * Request a Quote Button Template.
7 *
8 * This template can be overridden by copying it to yourtheme/tiered-pricing-table/integrated/quote-button.php.
9 *
10 * @var RequestQuoteForm $form
11 * @var int $productId
12 * @var string $classes
13 * @var string $idAttr
14 * @var string $autoOpenQty
15 * @var string $style
16 * @var string $content
17 */
18
19 if ( ! defined( 'ABSPATH' ) ) {
20 exit;
21 }
22 ?>
23 <a href="#" class="<?php echo esc_attr( $classes ); ?>"
24 id="<?php echo esc_attr( $idAttr ); ?>"
25 role="button"
26 data-form-id="<?php echo esc_attr( $form->getId() ); ?>"
27 data-product-id="<?php echo esc_attr( $productId ); ?>"
28 data-auto-open-quantity="<?php echo esc_attr( $autoOpenQty ); ?>"
29 style="<?php echo esc_attr( $style ); ?>">
30 <?php echo wp_kses_post( $content ); ?>
31 </a>
32