<?php
/**
 * Created by PhpStorm.
 * User: MyPC
 * Date: 08/08/2017
 * Time: 5:00 CH
 */
?>
<div class="single-product-info single-style-01">
    <div class="single-product-info-inner row clearfix">
        <div class="col-sm-4 sm-mg-bottom-30">
            <div class="single-product-image">
                <?php
                /**
                 * woocommerce_before_single_product_summary hook.
                 *
                 * @hooked woocommerce_show_product_loop_sale_flash - 10
                 * @hooked woocommerce_show_product_images - 20
                 */
                do_action( 'woocommerce_before_single_product_summary' );
                ?>
            </div>
        </div>
        <div class="col-sm-8">
            <div class="summary-product entry-summary">
                <?php
                $product_add_to_cart_enable = g5plusRubyBuild()->options()->get_product_add_to_cart_enable();
                if (!$product_add_to_cart_enable) {
                    remove_action('woocommerce_single_product_summary','woocommerce_template_single_add_to_cart',30);
                }
                ?>

                <?php
                /**
                 * woocommerce_single_product_summary hook.
                 *
                 * @hooked woocommerce_template_single_title - 5
                 * @hooked shop_loop_rating - 10
                 * @hooked woocommerce_template_single_price - 10
				 * @hooked shop_single_loop_sale_count_down - 15
                 * @hooked woocommerce_template_single_excerpt - 20
				 * @hooked woocommerce_template_single_meta - 40
                 * @hooked woocommerce_template_single_add_to_cart - 30
                 */
                do_action( 'woocommerce_single_product_summary' );
                ?>

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