{% block checkout_errors %} {% include 'errors.inc.twig' %} {% endblock checkout_errors %} {% block noscript_warning %} {% endblock noscript_warning %}
{% 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 %}
{% block login_register %}
{{ config.lang.checkout_email|raw }} {# A trap to catch webkit's overagressive autofill. #}
{# logic for setting the wrapper class regarding alerts, if one is needed #} {% 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 %}
{% endblock login_register %}
{% if config.template_config.newsletter_subscribe.usage != "none" %}
{% endif %} {# BILLING ADDRESS ===================================================== #}
{% block customer_billing %}
{% if billing_address.address_name %} {{ config.lang['cart_shipto'] }}{{ billing_address.address_name }} {% else %} {{ config.lang['checkout_'~billing_address.type~'_address'] }} {% endif %} {% set show_first_name = true %} {% set show_last_name = true %} {% set first_name_optional_placeholder = '' %} {% set last_name_optional_placeholder = '' %} {% set first_name = config.template_config.custom_checkout_field_requirements['billing_first_name'] %} {% set last_name = config.template_config.custom_checkout_field_requirements['billing_last_name'] %} {% if billing_address.type == 'billing' %} {% set first_name_optional_placeholder = (first_name == 'optional') ? config.lang.checkout_optional : '' %} {% set show_first_name = (first_name != 'hidden') %} {% set last_name_optional_placeholder = (last_name == 'optional') ? config.lang.checkout_optional : '' %} {% set show_last_name = (last_name != 'hidden') %} {% endif %} {% if show_first_name or show_last_name %} {% set multiple_inline_css = 'fc-form-group--multiple-inline' %} {% if not (show_first_name and show_last_name) %} {% set multiple_inline_css = '' %} {% endif %}
{% set field_name = billing_address.prefix~'_first_name' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% if show_first_name %}
{% endif %} {% if show_last_name %} {% set field_name = billing_address.prefix~"_last_name" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% endif %} {% set phone = config.template_config.custom_checkout_field_requirements['billing_phone'] %} {% set company = config.template_config.custom_checkout_field_requirements['billing_company'] %} {% set phone_optional_placeholder = (phone == 'optional') ? config.lang.checkout_optional : '' %} {% set company_optional_placeholder = (company == 'optional') ? config.lang.checkout_optional : '' %} {% set multiple_inline_css = '' %} {% if company != "hidden" and phone != "hidden" %} {% set multiple_inline_css = 'fc-form-group--multiple-inline' %} {% endif %} {% if company != "hidden" or phone != "hidden" %}
{% if company != "hidden" %} {% set field_name = billing_address.prefix~"_company" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% if phone != "hidden" %} {% set field_name = billing_address.prefix~"_phone" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% endif %} {% set tax_id = config.template_config.custom_checkout_field_requirements['billing_tax_id'] %} {% set tax_id_optional_placeholder = (tax_id == 'optional') ? config.lang.checkout_optional : '' %} {% if tax_id != "hidden" %} {% if (billing_address.type == 'billing' and not shipping_address.has_shippable_products) or billing_address.type == 'shipping' %}
{% set field_name = billing_address.prefix~"_tax_id" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% else %} {% endif %} {% set show_address1 = true %} {% set show_address2 = true %} {% set address1 = config.template_config.custom_checkout_field_requirements['billing_address1'] %} {% set address2 = config.template_config.custom_checkout_field_requirements['billing_address2'] %} {% set address1_optional_placeholder = '' %} {% set address2_optional_placeholder = (address2 == 'optional') ? config.lang.checkout_optional : '' %} {% if billing_address.type == 'billing' %} {% set address1_optional_placeholder = (address1 == 'optional') ? config.lang.checkout_optional : '' %} {% set show_address1 = (address1 != 'hidden') %} {% endif %} {% if address2 == "hidden" %} {% set show_address2 = false %} {% endif %} {% if show_address1 or show_address2 %} {% set multiple_inline_css = 'fc-form-group--multiple-inline' %} {% if not (show_address1 and show_address2) %} {% set multiple_inline_css = '' %} {% endif %}
{% if show_address1 %} {% set field_name = billing_address.prefix~"_address1" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% if show_address2 %} {% set field_name = billing_address.prefix~"_address2" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% endif %} {# The following includes the postalcode, city+state, and country inputs. #}
{# Postal Code Madness begins here #} {% set country_current = billing_country %} {% set country_supports_postalcode_search = config.locations[country_current].pc.search %} {% set show_country = true %} {% set show_postal_code = true %} {% set show_city = true %} {% set show_region = true %} {% set postal_code_optional_placeholder = '' %} {% set city_optional_placeholder = '' %} {% set region_optional_placeholder = '' %} {% set country_config = config.template_config.custom_checkout_field_requirements['billing_country'] %} {% set postal_code_config = config.template_config.custom_checkout_field_requirements['billing_postal_code'] %} {% set city_config = config.template_config.custom_checkout_field_requirements['billing_city'] %} {% set region_config = config.template_config.custom_checkout_field_requirements['billing_region'] %} {% if billing_type == 'billing' %} {% set show_country = (country_config != 'hidden') %} {% set postal_code_optional_placeholder = (postal_code_config == 'optional') ? config.lang.checkout_optional : '' %} {% set show_postal_code = (postal_code_config != 'hidden') %} {% set city_optional_placeholder = (city_config == 'optional') ? config.lang.checkout_optional : '' %} {% set show_city = (city_config != 'hidden') %} {% set region_optional_placeholder = (region_config == 'optional') ? config.lang.checkout_optional : '' %} {% set show_region = (region_config != 'hidden') %} {% endif %} {% if config.template_config.postal_code_lookup.usage == 'none' or show_postal_code == false %} {% set country_supports_postalcode_search = false %} {% endif %} {% set postal_search_button = "--with-search" %} {# Used to set border-radius on zip-input #} {% if _context[billing_prefix~'_postal_code_in_progress'] or billing_city_options|length > 0 %} {% set postal_search_button = "" %} {% endif %}
{# If postalcode search is supported for the current country, display postalcode first, then city/state options after. #} {% if country_supports_postalcode_search %} {% set field_name = billing_prefix~"_postal_code" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{# TODO: change the type to phone if country has numeric postcodes (like US) #}
{# #} {% if _context[billing_prefix~'_postal_code_in_progress'] %}

{{ config.lang.checkout_loading|raw }}

{% elseif billing_city_options|length > 0 %} {% set field_name = billing_prefix~"_city_options" %}
{% else %}

{# form-control-static #}

{% endif %}
{% if error_string %}
{% if error_string == '

invalid

' %} {{ config.lang.cart_error_postal_code_lookup|raw }} {% else %} {{ config.lang.cart_error_postal_code|raw }} {% endif %}
{% endif %}
{% endif %} {# If the postalcode->city+region lookup doesn't yield results, or if the customer selects "other", display visible inputs. Else, they're hidden and populated from javascript and the postalcode lookup functionality. #} {% if _context['show_'~billing_prefix~'_city_inputs'] or not country_supports_postalcode_search %}
{% set field_name = billing_prefix~"_city" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% if show_city %}
{% endif %} {% if show_region %} {% set error_string = utils.get_error_string(billing_prefix~'_region', messages.errors) %}
{% include "regions.inc.twig" with {'location_type': 'region'} %}
{% endif %}
{% else %} {% endif %} {# If postalcode search is _not_ supported for the current country, display city+region text inputs first, then postalcode + country second. #} {% if not country_supports_postalcode_search %}
{% set field_name = billing_prefix~"_postal_code" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% if show_postal_code %}
{% endif %} {% if show_country %} {% set error_string = utils.get_error_string(billing_prefix~'_country', messages.errors) %}
{% include "regions.inc.twig" with {'location_type': 'country'} %}
{% endif %}
{% endif %} {% if country_supports_postalcode_search and show_country %}
{% set error_string = utils.get_error_string(billing_prefix~'_country', messages.errors) %}
{% include "regions.inc.twig" with {'location_type': 'country' } %}
{% endif %}
{# data-fc-id="block-{{ billing_prefix }}-postal-code" #}
{% if billing_address.type == 'shipping' and has_multiship %}
{% if billing_address.shipping_results|length > 0 %}

{{ config.lang.checkout_shipping_methods_for|raw }} {{ billing_address.address_name }}

{% endif %} {% if billing_address.loading_shipping_results %}
{% endif %} {% if billing_address.shipping_results|length > 0 %} {{ utils.shipping_results(address, 'fc-input-group--full-page', messages.errors, config.lang) }} {% elseif billing_address.loading_shipping_results == false %}
{{ config.lang.checkout_update_shipping_message|raw }}
{% endif %} {% set error_string = utils.get_error_string(billing_address.prefix~'-results',messages.errors) %} {% if error_string %}
{{ error_string }}
{% endif %}
{% if billing_address.custom_fields_template %} {% include template_from_string(billing_address.custom_fields_template) with address %} {% endif %} {% endif %}
{% endblock customer_billing %}
{# SHIPPING ADDRESS ===================================================== #}
{% if shipping_address.address_name %} {{ config.lang['cart_shipto'] }}{{ shipping_address.address_name }} {% else %} {{ config.lang['checkout_'~shipping_address.type~'_address'] }} {% endif %} {% set show_first_name = true %} {% set show_last_name = true %} {% set first_name_optional_placeholder = '' %} {% set last_name_optional_placeholder = '' %} {% set first_name = config.template_config.custom_checkout_field_requirements['billing_first_name'] %} {% set last_name = config.template_config.custom_checkout_field_requirements['billing_last_name'] %} {% if shipping_address.type == 'billing' %} {% set first_name_optional_placeholder = (first_name == 'optional') ? config.lang.checkout_optional : '' %} {% set show_first_name = (first_name != 'hidden') %} {% set last_name_optional_placeholder = (last_name == 'optional') ? config.lang.checkout_optional : '' %} {% set show_last_name = (last_name != 'hidden') %} {% endif %} {% if show_first_name or show_last_name %} {% set multiple_inline_css = 'fc-form-group--multiple-inline' %} {% if not (show_first_name and show_last_name) %} {% set multiple_inline_css = '' %} {% endif %}
{% set field_name = shipping_address.prefix~'_first_name' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% if show_first_name %}
{% endif %} {% if show_last_name %} {% set field_name = shipping_address.prefix~"_last_name" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% endif %} {% set phone = config.template_config.custom_checkout_field_requirements['billing_phone'] %} {% set company = config.template_config.custom_checkout_field_requirements['billing_company'] %} {% set phone_optional_placeholder = (phone == 'optional') ? config.lang.checkout_optional : '' %} {% set company_optional_placeholder = (company == 'optional') ? config.lang.checkout_optional : '' %} {% set multiple_inline_css = '' %} {% if company != "hidden" and phone != "hidden" %} {% set multiple_inline_css = 'fc-form-group--multiple-inline' %} {% endif %} {% if company != "hidden" or phone != "hidden" %}
{% if company != "hidden" %} {% set field_name = shipping_address.prefix~"_company" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% if phone != "hidden" %} {% set field_name = shipping_address.prefix~"_phone" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% endif %} {% set tax_id = config.template_config.custom_checkout_field_requirements['billing_tax_id'] %} {% set tax_id_optional_placeholder = (tax_id == 'optional') ? config.lang.checkout_optional : '' %} {% if tax_id != "hidden" %} {% if (shipping_address.type == 'billing' and not shipping_address.has_shippable_products) or shipping_address.type == 'shipping' %}
{% set field_name = shipping_address.prefix~"_tax_id" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% else %} {% endif %} {% set show_address1 = true %} {% set show_address2 = true %} {% set address1 = config.template_config.custom_checkout_field_requirements['billing_address1'] %} {% set address2 = config.template_config.custom_checkout_field_requirements['billing_address2'] %} {% set address1_optional_placeholder = '' %} {% set address2_optional_placeholder = (address2 == 'optional') ? config.lang.checkout_optional : '' %} {% if shipping_address.type == 'billing' %} {% set address1_optional_placeholder = (address1 == 'optional') ? config.lang.checkout_optional : '' %} {% set show_address1 = (address1 != 'hidden') %} {% endif %} {% if address2 == "hidden" %} {% set show_address2 = false %} {% endif %} {% if show_address1 or show_address2 %} {% set multiple_inline_css = 'fc-form-group--multiple-inline' %} {% if not (show_address1 and show_address2) %} {% set multiple_inline_css = '' %} {% endif %}
{% if show_address1 %} {% set field_name = shipping_address.prefix~"_address1" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %} {% if show_address2 %} {% set field_name = shipping_address.prefix~"_address2" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{% endif %} {# The following includes the postalcode, city+state, and country inputs. #}
{# Postal Code Madness begins here #} {% set country_current = billing_country %} {% set country_supports_postalcode_search = config.locations[country_current].pc.search %} {% set show_country = true %} {% set show_postal_code = true %} {% set show_city = true %} {% set show_region = true %} {% set postal_code_optional_placeholder = '' %} {% set city_optional_placeholder = '' %} {% set region_optional_placeholder = '' %} {% set country_config = config.template_config.custom_checkout_field_requirements['billing_country'] %} {% set postal_code_config = config.template_config.custom_checkout_field_requirements['billing_postal_code'] %} {% set city_config = config.template_config.custom_checkout_field_requirements['billing_city'] %} {% set region_config = config.template_config.custom_checkout_field_requirements['billing_region'] %} {% if billing_type == 'billing' %} {% set show_country = (country_config != 'hidden') %} {% set postal_code_optional_placeholder = (postal_code_config == 'optional') ? config.lang.checkout_optional : '' %} {% set show_postal_code = (postal_code_config != 'hidden') %} {% set city_optional_placeholder = (city_config == 'optional') ? config.lang.checkout_optional : '' %} {% set show_city = (city_config != 'hidden') %} {% set region_optional_placeholder = (region_config == 'optional') ? config.lang.checkout_optional : '' %} {% set show_region = (region_config != 'hidden') %} {% endif %} {% if config.template_config.postal_code_lookup.usage == 'none' or show_postal_code == false %} {% set country_supports_postalcode_search = false %} {% endif %} {% set postal_search_button = "--with-search" %} {# Used to set border-radius on zip-input #} {% if _context[billing_prefix~'_postal_code_in_progress'] or billing_city_options|length > 0 %} {% set postal_search_button = "" %} {% endif %}
{# If postalcode search is supported for the current country, display postalcode first, then city/state options after. #} {% if country_supports_postalcode_search %} {% set field_name = billing_prefix~"_postal_code" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{# TODO: change the type to phone if country has numeric postcodes (like US) #}
{# #} {% if _context[billing_prefix~'_postal_code_in_progress'] %}

{{ config.lang.checkout_loading|raw }}

{% elseif billing_city_options|length > 0 %} {% set field_name = billing_prefix~"_city_options" %}
{% else %}

{# form-control-static #}

{% endif %}
{% if error_string %}
{% if error_string == '

invalid

' %} {{ config.lang.cart_error_postal_code_lookup|raw }} {% else %} {{ config.lang.cart_error_postal_code|raw }} {% endif %}
{% endif %}
{% endif %} {# If the postalcode->city+region lookup doesn't yield results, or if the customer selects "other", display visible inputs. Else, they're hidden and populated from javascript and the postalcode lookup functionality. #} {% if _context['show_'~billing_prefix~'_city_inputs'] or not country_supports_postalcode_search %}
{% set field_name = billing_prefix~"_city" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% if show_city %}
{% endif %} {% if show_region %} {% set error_string = utils.get_error_string(billing_prefix~'_region', messages.errors) %}
{% include "regions.inc.twig" with {'location_type': 'region'} %}
{% endif %}
{% else %} {% endif %} {# If postalcode search is _not_ supported for the current country, display city+region text inputs first, then postalcode + country second. #} {% if not country_supports_postalcode_search %}
{% set field_name = billing_prefix~"_postal_code" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% if show_postal_code %}
{% endif %} {% if show_country %} {% set error_string = utils.get_error_string(billing_prefix~'_country', messages.errors) %}
{% include "regions.inc.twig" with {'location_type': 'country'} %}
{% endif %}
{% endif %} {% if country_supports_postalcode_search and show_country %}
{% set error_string = utils.get_error_string(billing_prefix~'_country', messages.errors) %}
{% include "regions.inc.twig" with {'location_type': 'country' } %}
{% endif %}
{# data-fc-id="block-{{ billing_prefix }}-postal-code" #}
{% if shipping_address.type == 'shipping' and has_multiship %}
{% if shipping_address.shipping_results|length > 0 %}

{{ config.lang.checkout_shipping_methods_for|raw }} {{ shipping_address.address_name }}

{% endif %} {% if shipping_address.loading_shipping_results %}
{% endif %} {% if shipping_address.shipping_results|length > 0 %} {{ utils.shipping_results(address, 'fc-input-group--full-page', messages.errors, config.lang) }} {% elseif shipping_address.loading_shipping_results == false %}
{{ config.lang.checkout_update_shipping_message|raw }}
{% endif %} {% set error_string = utils.get_error_string(shipping_address.prefix~'-results',messages.errors) %} {% if error_string %}
{{ error_string }}
{% endif %}
{% if shipping_address.custom_fields_template %} {% include template_from_string(shipping_address.custom_fields_template) with address %} {% endif %} {% endif %}
{# SHIPPING METHOD ===================================================== #}
{% if shipping_address.has_live_rate_shippable_products or shipping_address.shipping_results|length > 0 %}
{{ config.lang.checkout_shipping_method|raw }} {% if shipping_address.loading_shipping_results %}
{% endif %} {% set id_error_string = utils.get_error_string('shipping_service_id', messages.errors) %} {% if shipping_address.shipping_results|length > 0 %} {{ utils.shipping_results(shipping_address, "fc-input-group--full-page", messages.errors, config.lang) }} {% endif %} {% set error_string = utils.get_error_string('shipping-results',messages.errors) %} {% if error_string %}
{{ error_string }}
{% endif %}
{% endif %} {% if config.template_config.custom_script_values.multiship_checkout_fields %} {% include template_from_string(config.template_config.custom_script_values.multiship_checkout_fields) %} {% endif %}
Presentation

If you would like to have a message card enclosed please add your message below:

If this is a surprise, what's the best way to reach you should we have a question?

Portland Head Light
{# PAYMENT METHOD ===================================================== #}
{% block payment_method %} {% set show_payment_type_block = config.supports_pay_with_plastic or config.supports_purchase_order or hosted_payment_gateways|length > 0 %} {% if show_payment_type_block %} {% set payment_method_input_type = config.has_multiple_payment_options or has_saved_cc ? 'radio' : 'hidden' %}
{{ config.lang.checkout_payment_method|raw }} {% if payment_info_required %} {% endif %}

Purchase with Confidence
Returns and Exchanges

Our year-round return period is 30 days.

Use the postage-paid/insured label included in your order for free returns and exchanges, or call for a free insured label for orders over $2,000. Our goal is to make your online shopping experience as easy and convenient as possible. Call us with any questions about returns or exchanges (Mon – Fri 9:30am – 5pm EST).

{% if config.supports_pay_with_plastic and payment_info_required %} {% if has_saved_cc %} {% set error_string = utils.get_error_string('cc_cvv2_saved',messages.errors) %}
{% if payment_method_type == "plastic_saved" %}

{{ cc_exp_month }}/{{ cc_exp_year }}

{% if is_updateinfo == false and ((config.template_config.csc_requirements == "all_cards" and is_uoe == false) or (config.template_config.csc_requirements == "sso_only" and customer_is_authenticated)) %}
{% endif %} {% endif %}
{{ config.lang.checkout_error_verification_code|raw }}
{% endif %}{# has_saved_cc #} {% set cvv2_error_string = utils.get_error_string('cc_cvv2',messages.errors) %} {% set cc_number_error_string = utils.get_error_string('cc_number',messages.errors) %}
{% if payment_method_type == 'plastic_new' %}
{% set field_name = 'cc_exp_month' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% set field_name = 'cc_exp_year' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% set field_name = 'cc_cvv2' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}
{% endif %}
{{ config.lang.checkout_error_verification_code|raw }}
{{ config.lang.checkout_error_card_number|raw }}
{% endif %} {# show_payment_type_block #} {% if payment_info_required and show_paypal_express_payment_option and not is_updateinfo %}
{% if payment_method_type == 'paypal' %}
{% if paypal_payer_email %} {{ config.lang.checkout_payment_method_paypal_confirmed|raw }} {{ paypal_payer_email }} {% else %} {{ config.lang.checkout_payment_method_paypal|raw }} {% endif %}
{% endif %}
{% endif %}{# payment_info_required and show_paypal_express_payment_option and not is_updateinfo #} {% if not is_updateinfo and payment_info_required %} {% for hosted_gateway in hosted_payment_gateways if ((hosted_gateway.supports_subscriptions == false and has_subscriptions == false) or hosted_gateway.supports_subscriptions) %}
{% if hosted_gateway.type == 'paypal_plus' %}
{% endif %} {% if payment_method_type == hosted_gateway.type %}
{{ hosted_gateway.lang_payment_method }}
{% endif %}
{% if hosted_gateway.type == 'paypal_plus' %}
{{ config.lang.checkout_validation_paypal_plus_error|raw }}
{% endif %}
{% endfor %} {% endif %} {# not is_updateinfo and payment_info_required #} {% if config.supports_purchase_order and not is_updateinfo and payment_info_required %}
{% set po_error_string = utils.get_error_string('purchase_order', messages.errors) %}
{% if payment_method_type == 'purchase_order' %}
{% endif %}
{{ config.lang.checkout_error_purchase_order|raw }}
{% endif %} {# config.supports_purchase_order and not is_updateinfo and payment_info_required #} {% if not payment_info_required %}
{{ config.lang.checkout_no_payment_needed|raw }}
{% endif %} {# payment_info_required #}
{% endif %}{# show_payment_type_block #} {% endblock payment_method %}
{# ADDITIONAL FIELDS ===================================================== #}
{% block additional_fields %}
{{ config.lang.checkout_almost_done|raw }} {% if config.template_config.custom_script_values.checkout_fields %} {% include template_from_string(config.template_config.custom_script_values.checkout_fields) %} {% endif %} {% if config.template_config.tos_checkbox_settings.usage != "none" and config.template_config.tos_checkbox_settings.url != '' %}
{% set field_name = 'tos_agreement' %} {% set error_string = '' %} {% if config.template_config.tos_checkbox_settings.usage == "required" %} {% set error_string = utils.get_error_string(field_name, messages.errors) %} {% endif %} {% set hidden_field_prefix = '' %} {% if config.template_config.tos_checkbox_settings.is_hidden %} {% set hidden_field_prefix = 'h:' %} {% endif %}
{% endif %} {% if customer_in_the_eu and config.template_config.eu_secure_data_transfer_consent.usage != "none" %} {% set field_name = 'secure_data_transfer_consent' %} {% set error_string = utils.get_error_string(field_name, messages.errors) %}

{{ config.lang.checkout_secure_data_transfer_consent }}

{% endif %} {% if (anonymous_checkout_selected == false) and (change_password or force_password_reset or ((is_updateinfo == false) and (email_is_found == false) and (has_subscriptions or (checkout_type != "guest_only")))) %} {% set error_string = utils.get_error_string('new_customer_password',messages.errors) %}
{% endif %}
{% endblock additional_fields %}
{% if use_recaptcha %}
{% block recaptcha %}
{% endblock %}
{% endif %} {# SUBMIT BUTTON ===================================================== #}
{% block submit_button %}
{% if payment_method_type in ["plastic_new", "plastic_saved"] %} {% if config.template_config.use_checkout_confirmation_window.usage == "required" %} {% set checkout_button_text = config.lang.checkout_confirm_your_purchase %} {% set checkout_button_helper_text = config.lang.checkout_payment_confirmation %} {% else %} {% set checkout_button_text = config.lang.checkout_complete_your_purchase %} {% set checkout_button_helper_text = '' %} {% endif %} {% else %} {% set checkout_button_helper_text = config.lang['checkout_payment_method_' ~ payment_method_type] %} {% set checkout_button_text = config.lang.checkout_complete_your_purchase %} {% endif %} {% if is_updateinfo %} {% set checkout_button_text = config.lang.checkout_update_my_information %} {% set checkout_button_helper_text = '' %} {% endif %} {% if is_subscription_modification %} {% set checkout_button_text = config.lang.checkout_update_my_subscription %} {% set checkout_button_helper_text = '' %} {% endif %}
{% if checkout_button_helper_text %}

{{ checkout_button_helper_text }}

{% endif %}

Your credit card will be charged by clicking on "Complete Your Purchase"

{% endblock submit_button %}