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
tier-pricing-table / src / Addons / RequestAQuote / views / frontend / integrated / quote-button.php

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

34 lines 963 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 int $parentId
13 * @var string $classes
14 * @var string $idAttr
15 * @var string $autoOpenQty
16 * @var string $style
17 * @var string $content
18 */
19
20 if ( ! defined( 'ABSPATH' ) ) {
21 exit;
22 }
23 ?>
24 <a href="#" class="<?php echo esc_attr( $classes ); ?>"
25 id="<?php echo esc_attr( $idAttr ); ?>"
26 role="button"
27 data-form-id="<?php echo esc_attr( $form->getId() ); ?>"
28 data-product-id="<?php echo esc_attr( $productId ); ?>"
29 data-parent-id="<?php echo esc_attr( $parentId ?? $productId ); ?>"
30 data-auto-open-quantity="<?php echo esc_attr( $autoOpenQty ); ?>"
31 style="<?php echo esc_attr( $style ); ?>">
32 <?php echo wp_kses_post( $content ); ?>
33 </a>
34