PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.5.1
ShopBuilder – WooCommerce Builder For Elementor v2.5.1
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-review.php

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

38 lines 1.0 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 use RadiusTheme\SB\Helpers\Fns;
11
12 if ( ! defined( 'ABSPATH' ) ) {
13 exit( 'This script cannot be accessed directly.' );
14 }
15
16 $wrapper_classes = ! empty( $controllers['table_horizontal_scroll_on_mobile'] ) ? ' rtsb-table-horizontal-scroll-on-mobile' : '';
17 ?>
18 <div class="rtsb-checkout-order-review<?php echo esc_attr( $wrapper_classes ); ?>">
19 <?php
20 if ( ! empty( $controllers['show_title'] ) ) {
21 ?>
22 <h3 id="order_review_heading"><?php esc_html_e( 'Your order', 'shopbuilder' ); ?></h3>
23 <?php
24 }
25 ?>
26
27 <?php
28 $addons = 'on' === ( Fns::get_options( 'modules', 'product_add_ons' )['active'] ?? '' );
29 ?>
30
31 <div id="order_review" class="woocommerce-checkout-review-order<?php echo esc_attr( $addons ? ' has-product-addons' : '' ); ?>">
32 <?php do_action( 'woocommerce_checkout_order_review' ); ?>
33 </div>
34
35 <?php do_action( 'woocommerce_checkout_after_order_review' ); ?>
36
37 </div>
38