PluginProbe
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder / 3.0.2
Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder v3.0.2
3.1.4 3.0.8 3.0.9 3.1.0 3.1.2 3.1.3 3.0.7 3.0.5 3.0.4 3.0.3 3.0.2 trunk 1.5.0 1.5.1 1.5.2 1.6.1 1.6.2 1.6.3 1.6.4 2.0.0 2.0.1 2.0.2 2.0.3 2.0.4 2.0.5 All 93 releases
ultimate-store-kit / includes / builder / templates / woocommerce / single-product.php

single-product.php in Ultimate Store Kit – Store Builder Addons for Elementor, WooCommerce Store Builder, EDD Store Builder 3.0.2, at includes/builder/templates/woocommerce/single-product.php

51 lines 1.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /**
4 * The template for displaying product content in the single-product.php template
5 *
6 * This template can be overridden by copying it to yourtheme/woocommerce/content-single-product.php.
7 *
8 * HOWEVER, on occasion WooCommerce will need to update template files and you
9 * (the theme developer) will need to copy the new files to your theme to
10 * maintain compatibility. We try to do this as little as possible, but it does
11 * happen. When this occurs the version of the template file will be bumped and
12 * the readme will list any important changes.
13 *
14 * @see https://docs.woocommerce.com/document/template-structure/
15 * @package WooCommerce\Templates
16 * @version 3.6.0
17 */
18
19 use UltimateStoreKit\Builder\Builder_Integration;
20
21 defined('ABSPATH') || exit;
22
23 global $product;
24
25 get_header('shop');
26
27 /**
28 * Hook: woocommerce_before_single_product.
29 *
30 * @hooked woocommerce_output_all_notices - 10
31 */
32 do_action('woocommerce_before_single_product');
33
34 if (post_password_required()) {
35 echo get_the_password_form(); // WPCS: XSS ok.
36 return;
37 }
38 ?>
39 <div id="product-<?php the_ID(); ?>" <?php wc_product_class('', $product); ?>>
40 <?php
41 if (class_exists('Elementor\Plugin')) {
42 echo Elementor\Plugin::instance()->frontend->get_builder_content(Builder_Integration::instance()->current_template_id, false);
43 }
44 ?>
45 </div>
46
47 <?php do_action('woocommerce_after_single_product');
48
49 get_footer('shop');
50
51 ?>