<?php


/**


 * The template for displaying product content in the single-product.php template


 *


 * @version     3.0.0


 */

if ( ! defined( 'ABSPATH' ) ) {


    exit;


}

?>

<?php


	/**


	 * woocommerce_before_single_product hook.


	 *


	 * @hooked wc_print_notices - 10


	 */


	 do_action( 'woocommerce_before_single_product' );

	 if ( post_password_required() ) {


	 	echo get_the_password_form();


	 	return;


	 }

global $porto_layout;

$post_class = join( ' ', get_post_class() );


if ($porto_layout === 'widewidth' || $porto_layout === 'wide-left-sidebar' || $porto_layout === 'wide-right-sidebar') {


    $post_class .= 'm-t-lg m-b-xl';


    if (porto_get_wrapper_type() !=='boxed')


        $post_class .= ' m-r-md m-l-md';


}


?>

<!-- woocommerce_get_product_schema DEPRECATED with NO altertative in 3.0.0 -->
<div itemscope itemtype="<?php //echo woocommerce_get_product_schema(); ?>" id="product-<?php the_ID(); ?>" class="<?php echo $post_class ?>">

    <div class="product-summary-wrap">


        <div class="row">


            <div class="col-md-6 summary-before">


                <?php


                    /**


                     * woocommerce_before_single_product_summary hook.


                     *


                     * @hooked woocommerce_show_product_sale_flash - 10


                     * @hooked woocommerce_show_product_images - 20


                     */


                    do_action( 'woocommerce_before_single_product_summary' );


                ?>


            </div>

            <div class="col-md-6 summary entry-summary">


                <?php


                    /**


                     * woocommerce_single_product_summary hook.


                     *


                     * @hooked woocommerce_template_single_title - 5


                     * @hooked woocommerce_template_single_rating - 10


                     * @hooked woocommerce_template_single_price - 10


                     * @hooked woocommerce_template_single_excerpt - 20


                     * @hooked woocommerce_template_single_add_to_cart - 30


                     * @hooked woocommerce_template_single_meta - 40


                     * @hooked woocommerce_template_single_sharing - 50


                     */
					remove_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 10 );
					add_action( 'woocommerce_single_product_summary', 'woocommerce_template_single_price', 25 );

                    do_action( 'woocommerce_single_product_summary' );


                ?>


            </div>


        </div>


    </div><!-- .summary -->

	<?php


		/**


		 * woocommerce_after_single_product_summary hook.


		 *


		 * @hooked woocommerce_output_product_data_tabs - 10


		 * @hooked woocommerce_upsell_display - 15


		 * @hooked woocommerce_output_related_products - 20


		 */


		do_action( 'woocommerce_after_single_product_summary' );


	?>

	<meta itemprop="url" content="<?php the_permalink(); ?>" />

</div><!-- #product-<?php the_ID(); ?> -->

<?php do_action( 'woocommerce_after_single_product' ); ?>


