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 / general / pricing-table / layout2.php

layout2.php in ShopBuilder – WooCommerce Builder For Elementor 3.2.6, at templates/elementor/general/pricing-table/layout2.php

110 lines 3.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Template: Info Box
4 *
5 * @package RadiusTheme\SB
6 */
7
8 /**
9 * Template variables:
10 *
11 * @var $sb_pricing_table_title string
12 * @var $sb_pricing_table_title_html_tag string
13 * @var $has_button bool
14 * @var $description string
15 * @var $price string
16 * @var $sale_price string
17 * @var $price_currency string
18 * @var $currency_position string
19 * @var $price_unit string
20 * @var $price_unit_separator string
21 * @var $badge_style string
22 * @var $badge_text string
23 * @var $feature_items array
24 * @var $badge_position string
25 * @var $icon_bg_type string
26 * @var $icon_hover_bg_type string
27 * @var $has_description bool
28 * @var $has_table_icon bool
29 * @var $has_button bool
30 * @var $has_sale_price bool
31 * @var $has_badge bool
32 * @var $sb_button_content string
33 * @var $sb_button_icon array
34 * @var $sb_button_icon_position string
35 * @var $button_attributes string
36 * @var $icon_html string
37 * @var $feature_item_html string
38 * @var $icon_type string
39 * @var $badge_bg_type string
40 */
41
42 use RadiusTheme\SB\Elementor\Widgets\General\PricingTable\Render;
43 use RadiusTheme\SB\Helpers\Fns;
44
45 // Do not allow directly accessing this file.
46 if ( ! defined( 'ABSPATH' ) ) {
47 exit( 'This script cannot be accessed directly.' );
48 }
49
50 ?>
51 <div class="rtsb-pricing-table-wrapper">
52 <div class="rtsb-pricing-table-box">
53 <?php Fns::print_html( Render::render_badge( $has_badge, $badge_style, $badge_text, $badge_position, $badge_bg_type ) ); ?>
54 <?php if ( ! empty( $icon_html ) ) { ?>
55 <div class="pricing-table-icon-holder <?php echo esc_attr( $icon_type ); ?>">
56 <div class="icon-wrap <?php echo esc_attr( 'has-' . $icon_bg_type ); ?>">
57 <?php Fns::print_html( $icon_html ); ?>
58 </div>
59 </div>
60 <?php } ?>
61 <div class="pricing-table-header">
62 <?php
63 /**
64 * Title.
65 */
66 ?>
67 <<?php Fns::print_validated_html_tag( $sb_pricing_table_title_html_tag ); ?> class="rtsb-pricing-title">
68 <?php Fns::print_html( $sb_pricing_table_title ); ?>
69 </<?php Fns::print_validated_html_tag( $sb_pricing_table_title_html_tag ); ?>>
70 <?php
71 /**
72 * Description.
73 */
74 if ( $has_description ) {
75 ?>
76 <div class="rtsb-pricing-table-description">
77 <?php Fns::print_html( $description ); ?>
78 </div>
79 <?php
80 }
81 ?>
82 </div>
83 <?php Fns::print_html( $feature_item_html ); ?>
84 <?php
85 /**
86 * Price.
87 */
88 Fns::print_html( Render::render_price( $has_sale_price, $currency_position, $price_currency, $price, $sale_price, $price_unit, $price_unit_separator ) );
89 ?>
90 <?php
91 /**
92 * Button.
93 */
94 if ( $has_button ) {
95 ?>
96 <div class="rtsb-shopbuilder-button">
97 <a <?php Fns::print_html( $button_attributes ); ?>>
98 <span class="text-wrap">
99 <?php
100 Fns::print_html( Render::render_icon( 'left', $sb_button_icon, $sb_button_icon_position ) );
101 Fns::print_html( $sb_button_content );
102 Fns::print_html( Render::render_icon( 'right', $sb_button_icon, $sb_button_icon_position ) );
103 ?>
104 </span>
105 </a>
106 </div>
107 <?php } ?>
108 </div>
109 </div>
110