| 1 |
<?php |
| 2 |
/** |
| 3 |
* Quick view content template |
| 4 |
* |
| 5 |
* @author RadiusTheme |
| 6 |
* @package ShopBuilder QuickView |
| 7 |
* @version 1.0.0 |
| 8 |
*/ |
| 9 |
|
| 10 |
|
| 11 |
/** |
| 12 |
* Template variables: |
| 13 |
* |
| 14 |
* @var $product_id int Current product id |
| 15 |
* @var $button_text string Button text |
| 16 |
* @var $icon_html string Icon for Add to Wishlist button |
| 17 |
* @var $classes string Classed for Add to Wishlist button |
| 18 |
* @var $left_text string Html allowed |
| 19 |
* @var $right_text string Html allowed |
| 20 |
*/ |
| 21 |
|
| 22 |
/** |
| 23 |
* Quick view content. |
| 24 |
* |
| 25 |
* @author YITH |
| 26 |
* @package YITH WooCommerce Quick View |
| 27 |
* @version 1.0.0 |
| 28 |
*/ |
| 29 |
|
| 30 |
defined( 'ABSPATH' ) || exit; // Exit if accessed directly. |
| 31 |
|
| 32 |
while ( have_posts() ) : |
| 33 |
the_post(); |
| 34 |
?> |
| 35 |
<div class="quick-view-product-wrapper"> |
| 36 |
<div id="product-<?php the_ID(); ?>" <?php post_class( 'product' ); ?>> |
| 37 |
<?php ob_start(); ?> |
| 38 |
<?php do_action( 'rtsb/wcqv/product/image' ); ?> |
| 39 |
<div class="summary entry-summary"> |
| 40 |
<div class="summary-content"> |
| 41 |
<?php do_action( 'rtsb/wcqv/product/summary' ); ?> |
| 42 |
</div> |
| 43 |
</div> |
| 44 |
<?php $content = ob_get_clean(); ?> |
| 45 |
<?php echo apply_filters( 'rtsb/wcqv/product/content', $content ); ?> |
| 46 |
</div> |
| 47 |
</div> |
| 48 |
<?php |
| 49 |
endwhile; // end of the loop. |
| 50 |
|