# shopbuilder/3.2.6/templates/elementor/general/pricing-table/layout2.php

ShopBuilder – WooCommerce Builder For Elementor, version 3.2.6. 110 lines.

- Page: https://pluginprobe.com/plugins/shopbuilder/3.2.6/code/templates/elementor/general/pricing-table/layout2.php
- Raw: https://pluginprobe.com/plugins/shopbuilder/3.2.6/raw/templates/elementor/general/pricing-table/layout2.php
- Modified: 2026-04-12T06:42:22+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/shopbuilder/3.2.6/code/templates/elementor/general/pricing-table/layout2.php#L10-L20`.

```php
<?php
/**
 * Template: Info Box
 *
 * @package RadiusTheme\SB
 */

/**
 * Template variables:
 *
 * @var $sb_pricing_table_title             string
 * @var $sb_pricing_table_title_html_tag    string
 * @var $has_button                         bool
 * @var $description                        string
 * @var $price                              string
 * @var $sale_price                         string
 * @var $price_currency                     string
 * @var $currency_position                  string
 * @var $price_unit                         string
 * @var $price_unit_separator               string
 * @var $badge_style                        string
 * @var $badge_text                         string
 * @var $feature_items                      array
 * @var $badge_position                     string
 * @var $icon_bg_type                       string
 * @var $icon_hover_bg_type                 string
 * @var $has_description                    bool
 * @var $has_table_icon                     bool
 * @var $has_button                         bool
 * @var $has_sale_price                     bool
 * @var $has_badge                          bool
 * @var $sb_button_content                  string
 * @var $sb_button_icon                     array
 * @var $sb_button_icon_position            string
 * @var $button_attributes                  string
 * @var $icon_html                          string
 * @var $feature_item_html                  string
 * @var $icon_type                          string
 * @var $badge_bg_type                      string
 */

use RadiusTheme\SB\Elementor\Widgets\General\PricingTable\Render;
use RadiusTheme\SB\Helpers\Fns;

// Do not allow directly accessing this file.
if ( ! defined( 'ABSPATH' ) ) {
	exit( 'This script cannot be accessed directly.' );
}

?>
<div class="rtsb-pricing-table-wrapper">
	<div class="rtsb-pricing-table-box">
		<?php Fns::print_html( Render::render_badge( $has_badge, $badge_style, $badge_text, $badge_position, $badge_bg_type ) ); ?>
		<?php if ( ! empty( $icon_html ) ) { ?>
			<div class="pricing-table-icon-holder <?php echo esc_attr( $icon_type ); ?>">
				<div class="icon-wrap <?php echo esc_attr( 'has-' . $icon_bg_type ); ?>">
					<?php Fns::print_html( $icon_html ); ?>
				</div>
			</div>
		<?php } ?>
		<div class="pricing-table-header">
			<?php
			/**
			 * Title.
			 */
			?>
			<<?php Fns::print_validated_html_tag( $sb_pricing_table_title_html_tag ); ?> class="rtsb-pricing-title">
				<?php Fns::print_html( $sb_pricing_table_title ); ?>
			</<?php Fns::print_validated_html_tag( $sb_pricing_table_title_html_tag ); ?>>
			<?php
			/**
			 * Description.
			 */
			if ( $has_description ) {
				?>
				<div class="rtsb-pricing-table-description">
					<?php Fns::print_html( $description ); ?>
				</div>
				<?php
			}
			?>
		</div>
		<?php Fns::print_html( $feature_item_html ); ?>
		<?php
		/**
		 * Price.
		 */
		Fns::print_html( Render::render_price( $has_sale_price, $currency_position, $price_currency, $price, $sale_price, $price_unit, $price_unit_separator ) );
		?>
		<?php
		/**
		 * Button.
		 */
		if ( $has_button ) {
			?>
			<div class="rtsb-shopbuilder-button">
				<a <?php Fns::print_html( $button_attributes ); ?>>
					<span class="text-wrap">
						<?php
						Fns::print_html( Render::render_icon( 'left', $sb_button_icon, $sb_button_icon_position ) );
						Fns::print_html( $sb_button_content );
						Fns::print_html( Render::render_icon( 'right', $sb_button_icon, $sb_button_icon_position ) );
						?>
					</span>
				</a>
			</div>
		<?php } ?>
	</div>
</div>

```
