PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.2.0
ShopBuilder – WooCommerce Builder For Elementor v2.2.0
3.4.2 3.4.1 3.4.0 2.0.1 2.0.2 2.0.3 2.1.0 2.1.1 2.1.10 2.1.11 2.1.12 2.1.13 2.1.14 2.1.15 2.1.2 2.1.3 2.1.4 2.1.5 2.1.6 2.1.7 2.1.8 2.1.9 2.2.0 2.2.1 2.2.2 All 63 releases
shopbuilder / templates / elementor / checkout / order-notes.php

order-notes.php in ShopBuilder – WooCommerce Builder For Elementor 2.2.0, at templates/elementor/checkout/order-notes.php

37 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template variables:
4 *
5 * @var $controllers array Widgets/Addons Settings
6 * @var $checkout Object WC()->checkout()
7 */
8
9 // Do not allow directly accessing this file.
10 if ( ! defined( 'ABSPATH' ) ) {
11 exit( 'This script cannot be accessed directly.' );
12 }
13 ?>
14 <div class="rtsb-form-order-note">
15 <div class="woocommerce-additional-fields">
16 <?php do_action( 'woocommerce_before_order_notes', $checkout ); ?>
17
18 <?php if ( apply_filters( 'woocommerce_enable_order_notes_field', 'yes' === get_option( 'woocommerce_enable_order_comments', 'yes' ) ) ) : ?>
19
20 <?php if ( ! WC()->cart->needs_shipping() || wc_ship_to_billing_address_only() ) : ?>
21
22 <h3><?php esc_html_e( 'Additional information', 'shopbuilder' ); ?></h3>
23
24 <?php endif; ?>
25
26 <div class="woocommerce-additional-fields__field-wrapper">
27 <?php foreach ( $checkout->get_checkout_fields( 'order' ) as $key => $field ) : ?>
28 <?php woocommerce_form_field( $key, $field, $checkout->get_value( $key ) ); ?>
29 <?php endforeach; ?>
30 </div>
31
32 <?php endif; ?>
33
34 <?php do_action( 'woocommerce_after_order_notes', $checkout ); ?>
35 </div>
36 </div>
37