<?php
/**
 * Template to represent shortcode as a widget in the Elementor preview area
 *
 * Written as a Backbone JavaScript template and using to generate the live preview in the Elementor's Editor
 *
 * @package WordPress
 * @subpackage ThemeREX Addons
 * @since v1.6.41
 */

extract(get_query_var('trx_addons_args_sc_layouts_cart'));
?><#
var id = settings._element_id ? settings._element_id + '_sc' : 'sc_layouts_cart_'+(''+Math.random()).replace('.', '');

#><div id="{{ id }}" class="sc_layouts_cart<?php $element->sc_add_common_classes('sc_layouts_cart'); ?>">
	<span class="sc_layouts_item_icon sc_layouts_cart_icon trx_addons_icon-basket"></span>
	<span class="sc_layouts_item_details sc_layouts_cart_details">
		<# if (settings.text != '') { #>
			<span class="sc_layouts_item_details_line1 sc_layouts_cart_label">{{{ settings.text }}}</span>
		<# } #>
		<span class="sc_layouts_item_details_line2 sc_layouts_cart_totals">
			<span class="sc_layouts_cart_items">0 <?php esc_html_e('items', 'trx_addons'); ?></span>
			- 
			<span class="sc_layouts_cart_summa">$0.00</span>
		</span>
	</span><!-- /.sc_layouts_cart_details -->
	<span class="sc_layouts_cart_items_short">0</span>
</div><!-- /.sc_layouts_cart -->