{{ function ("wc_print_notices")}}
{% do action('woocommerce_before_checkout_form', checkout) %}


{# If checkout registration is disabled and not logged in, the user cannot checkout #}
{% if ( not checkout.is_registration_enabled and checkout.is_registration_required and not function("is_user_logged_in" )) %}
    {% set checkout_message = __( 'You must be logged in to checkout.', 'woocommerce' ) %}
    {{ checkout_message | apply_filters( 'woocommerce_checkout_must_be_logged_in_message', checkout_message ) | safe}}
    {#  return; #}
{% endif %}	


<form name="checkout" method="post" class="checkout woocommerce-checkout" action="{{ function ("esc_url", function (" wc_get_checkout_url"))}}" enctype="multipart/form-data">

    {% if ( checkout.get_checkout_fields ) %}
        {% do action('woocommerce_checkout_before_customer_details') %}
        <div class="col2-set" id="customer_details">
            <div class="col-1">
                {% do action('woocommerce_checkout_billing') %}
            </div>

            <div class="col-2">
                {% do action('woocommerce_checkout_shipping') %}	
            </div>
        </div>
        {% do action('woocommerce_checkout_after_customer_details') %}     
    {% endif %}

    <h3 id="order_review_heading">{{ _e( 'Your order', 'woocommerce' )}}</h3>
    {% do action('woocommerce_checkout_before_order_review') %}  
    <div id="order_review" class="woocommerce-checkout-review-order">
        {% do action('woocommerce_checkout_order_review') %}  
    </div>
    {% do action('woocommerce_checkout_after_order_review') %}  


</form>
{% do action('woocommerce_after_checkout_form') %}  
