# shopbuilder/2.2.0/templates/quick-view/content.php

ShopBuilder – WooCommerce Builder For Elementor, version 2.2.0. 42 lines.

- Page: https://pluginprobe.com/plugins/shopbuilder/2.2.0/code/templates/quick-view/content.php
- Raw: https://pluginprobe.com/plugins/shopbuilder/2.2.0/raw/templates/quick-view/content.php
- Modified: 2024-08-12T05:53:38+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/2.2.0/code/templates/quick-view/content.php#L10-L20`.

```php
<?php
/**
 * Quick view content template
 *
 * @author  RadiusTheme
 * @package ShopBuilder QuickView
 * @version 1.0.0
 */

/**
 * Template variables:
 *
 * @var $product_id                int Current product id
 * @var $button_text               string Button text
 * @var $icon_html                 string Icon for Add to Wishlist button
 * @var $classes                   string Classed for Add to Wishlist button
 * @var $left_text                 string Html allowed
 * @var $right_text                string Html allowed
 */

defined( 'ABSPATH' ) || exit; // Exit if accessed directly.

use RadiusTheme\SB\Helpers\Fns;

while ( have_posts() ) :
	the_post(); ?>
	<div class="quick-view-product-wrapper <?php echo esc_attr( implode( ' ', apply_filters( 'rtsb/wcqv/modal/wrapper/classes', [] ) ) ); ?>">
		<div id="product-<?php the_ID(); ?>" <?php post_class( 'product' ); ?>>
			<?php ob_start(); ?>
			<?php do_action( 'rtsb/wcqv/product/image' ); ?>
			<div class="summary entry-summary">
				<div class="summary-content">
					<?php do_action( 'rtsb/wcqv/product/summary' ); ?>
				</div>
			</div>
			<?php $content = ob_get_clean(); ?>
			<?php echo apply_filters( 'rtsb/wcqv/product/content', $content ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
		</div>
	</div>
	<?php
endwhile; // end of the loop.

```
