PluginProbe
ShopBuilder – WooCommerce Builder For Elementor / 2.0.0
ShopBuilder – WooCommerce Builder For Elementor v2.0.0
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
← All changes | templates/quick-view/content.php +13 -5 2.2.0 → 2.0.0 View file →
@@ -6,8 +6,9 @@
6 6 * @package ShopBuilder QuickView
7 7 * @version 1.0.0
8 8 */
9 9
10 +
10 11 /**
11 12 * Template variables:
12 13 *
13 14 * @var $product_id int Current product id
@@ -17,15 +18,22 @@
17 18 * @var $left_text string Html allowed
18 19 * @var $right_text string Html allowed
19 20 */
20 21
22 +/**
23 + * Quick view content.
24 + *
25 + * @author YITH
26 + * @package YITH WooCommerce Quick View
27 + * @version 1.0.0
28 + */
29 +
21 30 defined( 'ABSPATH' ) || exit; // Exit if accessed directly.
22 31
23 -use RadiusTheme\SB\Helpers\Fns;
24 -
25 32 while ( have_posts() ) :
26 - the_post(); ?>
27 - <div class="quick-view-product-wrapper <?php echo esc_attr( implode( ' ', apply_filters( 'rtsb/wcqv/modal/wrapper/classes', [] ) ) ); ?>">
33 + the_post();
34 + ?>
35 + <div class="quick-view-product-wrapper">
28 36 <div id="product-<?php the_ID(); ?>" <?php post_class( 'product' ); ?>>
29 37 <?php ob_start(); ?>
30 38 <?php do_action( 'rtsb/wcqv/product/image' ); ?>
31 39 <div class="summary entry-summary">
@@ -33,9 +41,9 @@
33 41 <?php do_action( 'rtsb/wcqv/product/summary' ); ?>
34 42 </div>
35 43 </div>
36 44 <?php $content = ob_get_clean(); ?>
37 - <?php echo apply_filters( 'rtsb/wcqv/product/content', $content ); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped ?>
45 + <?php echo apply_filters( 'rtsb/wcqv/product/content', $content ); ?>
38 46 </div>
39 47 </div>
40 48 <?php
41 49 endwhile; // end of the loop.