| Server IP : 51.91.236.193 / Your IP : 216.73.216.224 Web Server : Apache System : Linux webm010.cluster128.gra.hosting.ovh.net 6.18.39-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Tue Jul 21 12:03:15 CEST 2026 x86_64 User : institutah ( 16501) PHP Version : 7.2.34 Disable Function : _dyuweyrj4,_dyuweyrj4r,dl MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/institutah/www/wp-content/themes/makali/woocommerce/ |
Upload File : |
<?php
/**
* The Template for displaying all single products.
*
* Override this template by copying it to yourtheme/woocommerce/single-product.php
*
* @author WooThemes
* @package WooCommerce/Templates
* @version 11.6.4
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
get_header( 'shop' ); ?>
<div class="main-container">
<div class="page-content">
<div class="breadcrumb-container">
<div class="container">
<?php
/**
* woocommerce_before_main_content hook
*
* @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
* @hooked woocommerce_breadcrumb - 20
*/
do_action( 'woocommerce_before_main_content' );
?>
</div>
</div>
<div class="container">
<?php if(isset($makali_opt['product_banner']['url']) && ($makali_opt['product_banner']['url'])!=''){ ?>
<div class="shop-banner">
<img src="<?php echo esc_url($makali_opt['product_banner']['url']); ?>" alt="<?php esc_attr_e('Banner','makali') ?>" />
</div>
<?php } ?>
<?php if ( apply_filters( 'woocommerce_show_page_title', true ) ) : ?>
<header class="entry-header shop-title">
<h1 class="entry-title"><?php the_title(); ?></h1>
</header>
<?php endif; ?>
</div>
<div class="product-page">
<div class="product-view">
<?php while ( have_posts() ) : the_post(); ?>
<?php wc_get_template_part( 'content', 'single-product' ); ?>
<?php endwhile; // end of the loop. ?>
<?php
/**
* woocommerce_after_main_content hook
*
* @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
*/
do_action( 'woocommerce_after_main_content' );
?>
<?php
/**
* woocommerce_sidebar hook
*
* @hooked woocommerce_get_sidebar - 10
*/
//do_action( 'woocommerce_sidebar' );
?>
</div>
</div>
</div>
<!-- brand logo -->
<?php
if(isset($makali_opt['inner_brand']) && function_exists('makali_brands_shortcode') && shortcode_exists( 'Makali' ) ){
if($makali_opt['inner_brand'] && isset($makali_opt['brand_logos'][0]) && $makali_opt['brand_logos'][0]['thumb']!=null) { ?>
<div class="inner-brands">
<div class="container">
<?php if(isset($makali_opt['inner_brand_title']) && $makali_opt['inner_brand_title']!=''){ ?>
<div class="title">
<h3><?php echo esc_html( $makali_opt['inner_brand_title'] ); ?></h3>
</div>
<?php } ?>
<?php echo do_shortcode('[Makali]'); ?>
</div>
</div>
<?php }
}
?>
<!-- end brand logo -->
</div>
<?php get_footer( 'shop' ); ?>