PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 3.2.6
ShopBuilder – WooCommerce Builder For Elementor v3.2.6
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 / shipping-method.php

shipping-method.php in ShopBuilder – WooCommerce Builder For Elementor 3.2.6, at templates/elementor/checkout/shipping-method.php

43 lines 1.2 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 */
7
8 // Do not allow directly accessing this file.
9 if ( ! defined( 'ABSPATH' ) ) {
10 exit( 'This script cannot be accessed directly.' );
11 }
12 ?>
13 <div class="rtsb-shipping-method">
14
15 <table class="rtsb_woocommerce_shipping_methods">
16 <?php
17 WC()->cart->calculate_totals();
18 if ( WC()->cart && WC()->cart->needs_shipping() && WC()->cart->show_shipping() ) :
19 ?>
20 <?php do_action( 'woocommerce_review_order_before_shipping' ); ?>
21 <?php if ( ! empty( $controllers['show_title'] ) ) { ?>
22 <tr>
23 <td>
24 <?php
25 $htmltag = ! empty( $controllers['title_html_tag'] ) ? $controllers['title_html_tag'] : 'h2';
26 $title_text = ! empty( $controllers['title_text'] ) ? $controllers['title_text'] : esc_html__( 'Shipping', 'shopbuilder' );
27 printf( '<%1$s class="shipping-method-title">%2$s</%1$s>', esc_html( $htmltag ), $title_text ); //phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped
28 ?>
29 </td>
30 </tr>
31 <?php } ?>
32 <?php wc_cart_totals_shipping_html(); ?>
33
34 <?php do_action( 'woocommerce_review_order_after_shipping' ); ?>
35
36 <?php
37 endif;
38 ?>
39 </table>
40
41 </div>
42
43