{{ fc_header_content|raw }}
topbar
{% block required_hidden_fields %} {% if auth_token_is_valid %} {% endif %} {# preserve paypal express variables #} {% if token != '' and payer_id != '' %} {% endif %} {% for var_name, var_value in hosted_gateway_vars %} {% endfor %} {% endblock required_hidden_fields %}

About You

{% if show_first_name %} {% set field_name = address.prefix~'_first_name' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% if show_last_name %} {% set field_name = address.prefix~"_last_name" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% if email_is_checking %} {% set message_class = 'fc-alert-container--info' %} {% else %} {% set message_class = '' %} {% endif %} {% set error_string = utils.get_error_string('customer_email', messages.errors) %} {% set warning_string = utils.get_warning_string('customer_email', messages.warnings) %} {% if not customer_is_authenticated %} {# Not SSO authenticated #} {% if warning_string != "" %}

{{ config.lang.checkout_modify_subscription_email_changed_notice|raw }}

{% endif %} {% if email_is_valid %} {% if is_anonymous == 1 or (has_subscriptions == false and checkout_type == 'guest_only') %} {# guest checkout: do nothing #} {% else %} {% if email_is_checking %}

{{ config.lang.checkout_instructions_email_checking|raw }}

{% if error_string %}

{{ config.lang.checkout_updateinfo_email_not_found|raw }}

{% endif %} {% endif %} {# email not found, do nothing #} {% endif %} {% else %}
{{ config.lang.checkout_error_email|raw }}
{% endif %} {% else %}{# customer_is_authenticated #} {# Is SSO authenticated, email is readonly #} {# Why do we need a hidden email field below? If we use it for setting the email, it's unsafe. #}

{{ customer_email }}

{{ config.lang.checkout_sso_already_logged_in|raw }}

{% endif %} {% endif %}
{% set phone = config.template_config.custom_checkout_field_requirements['billing_phone'] %} {% set phone_optional_placeholder = (phone == 'optional') ? config.lang.checkout_optional : '' %} {% if phone != "hidden" %} {% set field_name = address.prefix~"_phone" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}

We will only contact you regarding your order or delivery.

{% endif %}

Shipping Information

{% block customer_shipping %} {% include "address.checkout.inc.twig" with {'address': shipping_address} %} {% if show_billing_address and multiship_show_use_different_addresses %} {{ utils.use_different_addresses(use_different_addresses, config.lang) }} {% else %} {% endif %}
{% endblock customer_shipping %}
{% endif %}
{% include template_from_string(fc_footer_content) %}