Server IP : 104.21.14.103 / Your IP : 18.118.27.119 Web Server : LiteSpeed System : Linux business53.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : giankuin ( 1871) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/giankuin/khowordpress.com/wp-content/themes/flatsome/woocommerce/ |
Upload File : |
<?php /** * The template for displaying product content in the single-product.php template * * Override this template by copying it to yourtheme/woocommerce/content-single-product.php * * @author WooThemes * @package WooCommerce/Templates * @version 3.0.0 */ defined( 'ABSPATH' ) || exit; global $product; ?> <div class="container"> <?php /** * Hook Woocommerce_before_single_product. * * @hooked wc_print_notices - 10 */ do_action( 'woocommerce_before_single_product' ); do_action( 'flatsome_before_single_product_custom' ); if ( post_password_required() ) { echo get_the_password_form(); // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped return; } ?> </div> <div id="product-<?php the_ID(); ?>" <?php wc_product_class( '', $product ); ?>> <div class="custom-product-page"> <?php echo flatsome_apply_shortcode( 'block', array( 'id' => flatsome_product_block( get_the_ID() )['id'] ) ); ?> <div id="product-sidebar" class="mfp-hide"> <div class="sidebar-inner"> <?php do_action( 'flatsome_before_product_sidebar' ); /** * woocommerce_sidebar hook * * @hooked woocommerce_get_sidebar - 10 */ if ( is_active_sidebar( 'product-sidebar' ) ) { dynamic_sidebar( 'product-sidebar' ); } elseif ( is_active_sidebar( 'shop-sidebar' ) ) { dynamic_sidebar( 'shop-sidebar' ); } ?> </div> </div> </div> <?php do_action( 'woocommerce_after_single_product' ); ?> </div>