{% extends "base.html" %} {% import "macros/financials.html" as financials %} {% import "macros/user_cell.html" as user_cell %} {% import "macros/savings_highlights.html" as savings %} {% block page_title %}Checkout{% endblock %} {% block head %} {{ savings::assets() }} {% endblock %} {% block content %} {% set phone_raw = user.phone | default(value="") %}

Checkout

๐Ÿ‘ค Contact Information

Customer {{ user_cell::render(name=user.name, email=user.email, avatar=user.avatar) }}

๐Ÿ  Shipping Address

{% if addresses and addresses | length > 0 %}
{% for addr in addresses %} {% endfor %}
{% else %} {% endif %}
{% if delivery_slots_configured %}

๐Ÿšš Delivery Options

Select Date & Time

{% endif %} {% if tip_enabled %} {% include "tip/tip-section.html" %} {% endif %}

๐Ÿ’ณ Payment

Your data is processed securely

๐Ÿ“œ Order Summary

{{ financials::financial_summary(order=summary, currency_symbol=currency_symbol, id_prefix="checkout") }} {{ savings::lifetime_block(id="checkout-lifetime-savings") }} {{ savings::block(id="checkout-customer-savings") }} {% if credit_enabled %} {% endif %}
๐Ÿ”’ Secure SSL Checkout
{% set st = summary.total | default(value=0) %} {% set wu = summary.wallet_used | default(value=0) %} {% set cu = summary.credit_used | default(value=0) %} {% set balance_due = st - wu - cu %}
{% if addresses and addresses | length > 0 %}
Deliver to:
{% endif %}
Pay via: Cash on Delivery
Payable {{ currency_symbol }}{{ balance_due | price }}
{% endblock %} {% block scripts %} {% if tip_enabled %} {% endif %} {% endblock %}