PluginProbe
Tiered Pricing Table for WooCommerce / 7.1.5
Tiered Pricing Table for WooCommerce v7.1.5
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 / emails / plain / customer-quote-request.php

customer-quote-request.php in Tiered Pricing Table for WooCommerce 7.1.5, at src/Addons/RequestAQuote/views/emails/plain/customer-quote-request.php

41 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Customer Quote Request Email (Plain text)
4 *
5 * This template can be overridden by copying it to yourtheme/tiered-pricing-table/emails/plain/customer-quote-request.php.
6 */
7
8 if ( ! defined( 'ABSPATH' ) ) {
9 exit;
10 }
11
12 if ( $quotePost instanceof \TierPricingTable\Addons\RequestAQuote\Models\QuoteRequest ) {
13 $productId = $quotePost->getProductId();
14 $product = wc_get_product( $productId );
15 } else {
16 $product = false;
17 }
18
19 echo "= " . esc_html( $emailHeading ) . " =\n\n";
20
21 echo esc_html__( 'Thank you for your quote request. We have received it and will process it shortly. Here are the details of your request:', 'tier-pricing-table' ) . "\n\n";
22
23 echo "=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n";
24
25 echo esc_html__( 'Product', 'tier-pricing-table' ) . ': ' . ( $product ? wp_kses_post( $product->get_name() ) : esc_html__( 'Unknown', 'tier-pricing-table' ) ) . "\n";
26
27 $fields = $email->get_submitted_fields();
28 if ( ! empty( $fields ) ) {
29 foreach ( $fields as $field ) {
30 echo esc_html( $field['label'] ) . ': ' . wp_strip_all_tags( $field['value'] ) . "\n";
31 }
32 }
33
34 echo "\n=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\n\n";
35
36 echo esc_html__( 'We will be in touch soon!', 'tier-pricing-table' ) . "\n\n";
37
38 echo "\n----------------------------------------\n\n";
39
40 echo wp_kses_post( apply_filters( 'woocommerce_email_footer_text', get_option( 'woocommerce_email_footer_text' ) ) );
41