{% extends "lfs/base.html" %} {% load i18n static lfs_tags crispy_forms_tags lfs_theme_tags %} {% block title %}{% trans 'Checkout' %} | {% site_name %}{% endblock %} {% block section %}checkout{% endblock %} {% block breadcrumbs %} {% breadcrumbs _("Checkout") %} {% endblock %} {% block wrapper %}
{% include "lfs/checkout/stepper.html" with step=3 %}

{% trans 'Review and order' %}

{% trans 'Please review your details and complete your order.' %}

{% if checkout_form.errors %}
{% trans 'An error occurred. Please check your input.' %}
{% endif %}

{% trans 'Invoice address' %}

{% include "lfs/checkout/address_summary.html" with address=invoice_address.address %}

{% trans 'Shipping address' %}

{% include "lfs/checkout/address_summary.html" with address=shipping_address.address %}

{% trans 'Payment method' %}

{{ payment_method.name }} {% if payment_method.type == 2 %} {% addon_include "lfs_stripe" "lfs_theme/addons/stripe_card_fields.html" %} {% endif %}

{% trans 'Shipping method' %}

{{ shipping_method.name }}
{% with delivery_time=cart|cart_delivery_time:request %} {% if delivery_time %}
{% trans 'Delivery time' %}: {{ delivery_time }}
{% endif %} {% endwith %}
{{ voucher_inline }}
{{ cart_inline }}
{# The creditcard-form class starts the card payment of the optional lfs_stripe add-on. #}
{% csrf_token %}

{% trans 'Your message to us' %}

{{ checkout_form.message|as_crispy_field_no_label }}
{% if SHOP.confirm_toc %}
{% if checkout_form.errors.confirm_toc %}
{{ checkout_form.errors.confirm_toc }}
{% endif %}
{% endif %}
{% endblock %} {% block scripts %} {% if payment_method.type == 2 %} {% addon_include "lfs_stripe" "lfs_theme/addons/stripe_scripts.html" %} {% endif %} {% endblock %}